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
Aptana is also inserts one space just after comment symbol.
I'd like to know opinion of Aptana developers about this. Would you like to change your behaviour and make the comment action like in other editors? Or you have the reason to do it in different way?
The text was updated successfully, but these errors were encountered:
It looks like source.ruble/lib/comment.rb is missing some code.
Change line 218 from:
index = l.index(/\S/)
to:
index = @disable_indent ? 0 : l.index(/\S/)
Then in your language bundle (like ruby.ruble/bundle.rb or js.ruble/bundle.rb), in the block:
env 'source.ruby' do |e|
add:
e['TM_COMMENT_DISABLE_INDENT'] = 'YES'
Personally, to avoid any problems with the wrong value being passed in for TM_COMMENT_DISABLE_INDENT, I would also change line 8 of source.ruble/lib/comment.rb from:
@disable_indent = (disable_indent == 'YES')
to:
@disable_indent = (disable_indent.downcase == 'yes')
Aptana inserts comment symbol after indentation:
While other editors insert comment in the begining of the line:
Aptana is also inserts one space just after comment symbol.
I'd like to know opinion of Aptana developers about this. Would you like to change your behaviour and make the comment action like in other editors? Or you have the reason to do it in different way?
The text was updated successfully, but these errors were encountered: