You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know if I am doing something wrong but I can't get the indentation to work correctly.
When I use the reindent command it never deindent any lines and when I tries to create a list of objects the autoindent always adds a new indentation level.
Does the indentation works for anyone else or am I doing something wrong?
class Demo
constructor: ->
alert("Foo")
example: (data) ->
alert("Bar")
for row in array
alert("Baz")
@settings = [{test: 'a'},{
test: 'b'
}, {
test: 'c'
}, {
test: 'd'
}]
after Ctrl+Shift+P, "Reindent lines" it looks like this
class Demo
constructor: ->
alert("Foo")
example: (data) ->
alert("Bar")
for row in array
alert("Baz")
@settings = [{test: 'a'},{
test: 'b'
}, {
test: 'c'
}, {
test: 'd'
}]
I am running a new Linux Mint 14 Nadia and my Sublime Text is version version 2.0.1, build 2217. I installed the package using the Package Control tool.
The installed coffeescript version is 1.6.1
The text was updated successfully, but these errors were encountered:
It doesn't work for me either... Well, coffee-script is one of those pretty syntax where we need to indent manually anyways... I mean how can the indent function know if the following line is in the outer scope or not?
I'm going to close this issue, but feel free to reopen it if you have any questions. Also I don't think this is an issue I can fix with this plugin :/
I don't know if I am doing something wrong but I can't get the indentation to work correctly.
When I use the reindent command it never deindent any lines and when I tries to create a list of objects the autoindent always adds a new indentation level.
Does the indentation works for anyone else or am I doing something wrong?
after Ctrl+Shift+P, "Reindent lines" it looks like this
I am running a new Linux Mint 14 Nadia and my Sublime Text is version version 2.0.1, build 2217. I installed the package using the Package Control tool.
The installed coffeescript version is 1.6.1
The text was updated successfully, but these errors were encountered: