-
Notifications
You must be signed in to change notification settings - Fork 8
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
Behavior according to global brackets.json preferences file #10
Comments
Yup, it should work with global preferences as well. If you encounter issues, please let me know. |
Yes, I can confirm that with only your extension + brackets-show-whitespace, with the config given above, it does not work for me. No errors in DevTools. 😏 Do you think it could be because the path |
Hey thanks for reporting back :) i will take a look in a moment to see how we can get this to work |
@glepretre I just tried your use case and you are correct. the preference are not taking effect coming from the global Let me take a closer at how we can get this to work. |
@MiguelCastillo Does that mean I am using the preferences system in a wrong way? I'm not sure to understand fully 😄 |
@glepretre Sorry I completely forgot about this issue. So, unfortunately brackets preferences system does not allow configuring preferences for particular files in the global preferences file (user preferences). At the current time, I don't think I can add this feature... But I am happy to take a PR to add more functionality for this though :) |
Ok, thanks for having taken the time to investigate this. 😉 So the solution is to overload the global preferences with a local |
So I ended up adding support for the language layer so that you can specify whether or not a document should be sanitized on the file type. But this only gets so far because So my suggestion for your particular problem is to map
The reason to map I hope this helps! :) |
Hi,
I'm currently trying your extension and have a question about the preferences.
I understand I can define a project specific
.brackets.json
file at the project directory root, but can I use a globalpath
rule in the classicbrackets.json
preferences file?My use case is about Makefile(s): since it only support tabs as indent, I would like to turn off the sanitizer and use tabs for these files only.
Here's what I've tried in my
brackets.json
:The text was updated successfully, but these errors were encountered: