-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.brackets.json doesn't seem to be changing settings #12
Comments
Oh, so JSON doesn't actually support |
Drat. Comments removed, still not getting a recon-sassy file.
|
Restart Brackets? I haven't hooked up preferences change handling quite yet. |
Just restarted Brackets and then the laptop for good measure. It's still (sorry, I know tech support is no fun. I'm just not sure what I'm botching On Thu, May 22, 2014 at 12:39 PM, Jason San Jose
|
Man, I gotta get the compiler error UI finished soon. That would really help. Try removing |
I'm on a Windows8 laptop. do you think that might be the source of the problem? I'm guessing it's mostly been tested on a Mac? I just tried a new project and made a new .brackets.json file and test.scss, then...
Saved and it outputted test.css and test.css.map eta: Fixed typo in paste. |
Ah, there may be a related windows bug here #8 tracking this bug sass/node-sass#231. |
Oh, that makes sense. I'll try this again tomorrow when I'm on my work Mac to verify Widows is the problem. ( |
Okay, now I'm on a Mac. Created a new
|
Bummer. Well, I'm pretty close to getting compiler errors in the UI. As soon as that's ready I'll update this bug. Thanks for helping debug. I appreciate the help. |
Of course. Let me know if I can do anything else to help. |
Would you like to try a beta with compiler errors? Open Extension Manager, choose Install from URL..., and paste You should get compiler errors when you switch to a SCSS file or whenever you save. |
Got it installed, here's what happens: Made a new file called Oh hang on, now I see: If I hit save on either (This is on OS X) |
For the compiler warning, just to be sure, you'll see a yellow warning icon in the status bar. You may need to click the icon to make the panel appear. I'll try to reproduce the bug about a ".css" file output. That sounds pretty odd. If you have a simple project structure and |
Nevermind @AhoyLemon. I figured out the problem that produces |
So, 2 updates:
@AhoyLemon Here's an updated build for you to test https://github.com/jasonsanjose/brackets-sass/releases/download/0.2.0-2/jasonsanjose.brackets-sass.zip. I should have seen the missing comma in your original report, see
Sorry about that. Let me know what you find. |
Tried a couple things here. Rerote the .brackets.json file a couple of ways, broke and fixed the .scss file, tried out a different blank .scss file, and the only error I get is EDIT: Fixed. |
Started a new project with EDIT: Fixed. |
Okay, I'm thinking my personal version of Brackets on this computer was getting weird, because I fixed the issue by reinstalling Brackets. Deleted the version I had (sprint39), installed a new copy of Sprint39, and now you're plugin is linting my sass. I tried to give it But anyway, the linting works out now which is great. Unfortunately I'm still no closer to getting the |
Seeing a single compile error is expected. Unfortunately, Well, back to the original bug then right? What does your |
Maybe this will help: I put together a new project with just the HTML5 boilerplate bones and tried to get it going. https://github.com/AhoyLemon/Brackets-Sass-test Currently, using this setup and the latest version of your plugin, no file is created on save. If I rename |
Got it. There was a problem handling the |
Whoooooo! sassy.css created, and it's reading my settings changes. Totally working now, thank you so much. |
Of course. Thank you for being patient and reporting the bug. |
I'm guessing this is me doing something wrong, but I'm editing the .brackets.json file and it's not changing the output.
.brackets.json is located in the root folder, here's what I've got in it...
{
"path": {
/* default options /
"frontend/scss/recon.scss": {
"sass.enabled": true,
"sass.options": {
"output": "recon-sassy.css",
"includePaths": ["frontend/scss/partials/"],
"imagePath": null,
"sourceComments": "map",
"sourceMap": "recon-sassy.css.map"
"outputStyle": "compressed"
}
},
/ disable compiling @import files in this project /
"frontend/scss/partials/.scss": {
"sass.enabled": false
}
}
}
Tried a couple things now, but no matter what, I still get the .css file exporting the same way it did when I started.
The text was updated successfully, but these errors were encountered: