A space between line comment marker and the following text
See original GitHub issueCurrently, when I press Ctrl+/, there is no space between // and the text which follows it.
Most style guides advocate for this space, and so we are very used to use it. It will be useful to have an option to enable it.
Current behavior:
foo
becomes
//foo
// foo
becomes
foo (with a space in the beginning; bad)
Requested behavior (optional):
foo
becomes
// foo
// foo
becomes
foo
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Space between line-comment character(s) and start of actual ...
Inline comments should be separated by at least two spaces from the statement. They should start with a # and a single space....
Read more >Single-line and Multi-line Comments in C# | Pluralsight
Single-line comments can begin in any column of a given line and end at a new line or carriage return. The // character...
Read more >HTML Tutorial for Beginners - 02 - Line breaks, spacing, and ...
In this video we go over adding line breaks, spacing, and commentsto your HTML code.HTML Source: http://pastebin.com/iNPvhaYE.
Read more >Paragraphs, Lines, and Phrases
Note that a sequence of white spaces between words in the source document may result in an entirely different rendered inter-word spacing (except...
Read more >spaced-comment - ESLint - Pluggable JavaScript Linter
Some style guides require or disallow a whitespace immediately after the initial // or /* of a comment. Whitespace after the // or...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Done! Happy coding … please feel free to ask questions, I’ll assist!
As I needed to fix a performance regression, this has been release a bit earlier than expected as 0.37.52 and is now already available from the JetBrains marketplace. Enjoy!