I'm trying to make the jump from Notepad++ to Sublime Text 2. However one issue is stopping me from doing so:
When working in CSS, JavaScript or PHP - whenever I type a bracket and press [ENTER], an extra indentation is added. E.g. below show's you where the caret ends up if I type a bracket and press enter:
{
|
I need the caret to appear at the same horizontal point as the bracket, like so:
{
|
I've tried messing with the indentation settings to no avail. Here are my current User Settings:
{
"auto_indent": true,
"auto_match_enabled": false,
"bold_folder_labels": true,
"color_scheme": "Packages/Color Scheme - Default/Twilight.tmTheme",
"detect_indentation": false,
"font_face": "Courier New",
"font_size": 10,
"highlight_modified_tabs": true,
"ignored_packages":
[
"Vintage"
],
"indent_to_bracket": false,
"line_padding_bottom": 1,
"line_padding_top": 1,
"smart_indent": false,
"trim_automatic_white_space": false
}
UPDATE: if I set auto_indent to false, this creates a different problem. In this case, the caret will always be placed at the very beginning of the line. E.g.
{
|
I've also tried playing with the files in Packages/JavaScript to no avail.
Would really appreciate a solution as I really want to start using this editor!
Thanks.