-
Notifications
You must be signed in to change notification settings - Fork 12
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
Indentation in Brackets 1.3 does not work as expected #38
Comments
Also having indentation problems, but only when with the
This example is more deeply indented. Adding a colon to foo, would un-indent the entire line.
|
Just updated Brackets to 1.4 and still get the problems described by rasmk and SenHeng, it makes using typescript in Brackets quite a pain. |
Having the same problems in Brackets 1.4. After typing ":" or "{" it moves line indent to left. After pressing "(" it adds extra indent to right. Seeing as how common those symbols are, it makes editing quite painful. I also could not find a way to disable the auto-indentation in Brackets. |
Only way to disable auto-indent in Brackets is through the preferences file.
Here's a useful plug-in that shows a list of all current preferences and their default values. Should make finding the relevant tags easier. |
Still not working as of 1.5 turning smartIndent to false didn't help. Has anyone found a solution? |
It worked for me when I turned off |
Thanks SenHeng! |
After Brackets update to 1.3, TS code indentation started behaving strangely.
Example:
When I downgrade Brackets to 1.2, everything is fine again. Looks like a breaking change in 1.3.
So far the solution is to stay on 1.2. The problem needs a solution though.
Meanwhile, is there a way to disable the formatting in the plugin with some configuration options? I had a look into the sources, but I have not found anything.
The text was updated successfully, but these errors were encountered: