Describe the project you are working on
A block-based 2d game but any will do.
Describe the problem or limitation you are having in your project
I like to comment my method signatures with multiple lines.
At the first line I enter # for the beginning of the comment.
In the second and all following lines I've to do the same again and again ...
Describe the feature / enhancement and how it helps to overcome the problem or limitation
If the cursor is in a commented line and the user hits newline then the new line also starts with the comment #.
By doing so it's easier to write whole passages which spread over more than one line more fluently w/o having to add the # at the beginning.
UPDATE: Even more so if you are in the middle of a comment line and you press enter to make a word wrap.
Then I expect the editor to make two comment lines out of it because the origin was a comment already.
Like so:
# indented comment about whatever and something special in particular
here comes the break at word "and".
This leads to two lines with the same indentation level as before:
# indented comment about whatever
# and something special in particular
I know that their is the "-syntax too. I prefer the #s at the beginning of all lines.
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
See above.
If this enhancement will not be used often, can it be worked around with a few lines of script?
It's an editor feature.
Is there a reason why this should be core and not an add-on in the asset library?
It's an editor feature.
Describe the project you are working on
A block-based 2d game but any will do.
Describe the problem or limitation you are having in your project
I like to comment my method signatures with multiple lines.
At the first line I enter # for the beginning of the comment.
In the second and all following lines I've to do the same again and again ...
Describe the feature / enhancement and how it helps to overcome the problem or limitation
If the cursor is in a commented line and the user hits newline then the new line also starts with the comment #.
By doing so it's easier to write whole passages which spread over more than one line more fluently w/o having to add the # at the beginning.
UPDATE: Even more so if you are in the middle of a comment line and you press enter to make a word wrap.
Then I expect the editor to make two comment lines out of it because the origin was a comment already.
Like so:
here comes the break at word "and".
This leads to two lines with the same indentation level as before:
I know that their is the "-syntax too. I prefer the #s at the beginning of all lines.
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
See above.
If this enhancement will not be used often, can it be worked around with a few lines of script?
It's an editor feature.
Is there a reason why this should be core and not an add-on in the asset library?
It's an editor feature.