#1603 closed Feature Request (Rejected)
Comment-Before Character
Reported by: | jaberwocky6669 | Owned by: | |
---|---|---|---|
Milestone: | Component: | AutoIt | |
Version: | Severity: | None | |
Keywords: | semicolon comment | Cc: |
Description
I propose a comment character that will comment out code that appears before the occurence of the character.
Ex:
Global <comment character> Local $variable = _function()
I'm sure there could be better uses than the example that I came up with here. As far as any available characters that could be used... ? Maybe a char combination of an exclamation and a semicolon (!;).
Attachments (0)
Change History (3)
comment:1 follow-up: ↓ 2 Changed 15 years ago by Valik
- Resolution set to Rejected
- Status changed from new to closed
comment:2 in reply to: ↑ 1 ; follow-up: ↓ 3 Changed 15 years ago by anonymous
Replying to Valik:
What practical purpose does this serve? People write and read code left-to-write. You do not want to read a piece of code only to learn it was just a comment. That makes no sense.
Because the commented code will be greyed out...
comment:3 in reply to: ↑ 2 Changed 15 years ago by Jaberwocky6669
Replying to anonymous:
Replying to Valik:
What practical purpose does this serve? People write and read code left-to-write. You do not want to read a piece of code only to learn it was just a comment. That makes no sense.
Because the commented code will be greyed out...
That last comment was me btw
I guess the most practical purpose would be rapidly comment out a suspicious section of one line of code to see if it is causing any problems.
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
- In-depth discussions should take place on the forum.
For more information see the full version of the ticket guidelines here.
What practical purpose does this serve? People write and read code left-to-write. You do not want to read a piece of code only to learn it was just a comment. That makes no sense.