Skip to content

Line comment style #4

@vovayatsyuk

Description

@vovayatsyuk

Aptana inserts comment symbol after indentation:

# class Comment
  # attr_reader :context
# 
  # def initialize(context, start_chars, end_chars, disable_indent)
    # @context, @start_chars, @end_chars = context, start_chars, end_chars
    # @disable_indent = (disable_indent == 'YES')
  # end

While other editors insert comment in the begining of the line:

#class Comment
#  attr_reader :context
#
#  def initialize(context, start_chars, end_chars, disable_indent)
#    @context, @start_chars, @end_chars = context, start_chars, end_chars
#    @disable_indent = (disable_indent == 'YES')
#  end

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions