Comment position #25

Closed
danielbayley opened this Issue Jul 19, 2016 · 1 comment

Projects

None yet

2 participants

@danielbayley

Block comments

Match indentation of selected text, for example with CoffeeScript:

··function: (var) ->
····if var?
······console.log var
··###
··function: (var) ->
····if var?
······console.log var
··###

rather than what it currently does:

###
··function: (var) ->
····if var?
······console.log var
###

Single line comments

Same thing here:

··#·console.log "something"

rather than what it currently does:

#···console.log "something"

Also, a setting to configure space between comment and commented line would be handy:

··#console.log "something" # atom.config.get 'comment.spaceBetween' # none
··#·console.log "something" # atom.config.get 'comment.spaceBetween' # space
@javaguirre
Owner

Yes, I agree with you on everything, I'll fix it. :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment