Multi-line block comments do not insert an asterisk in Apex
See original GitHub issueSummary
When trying to document an Apex class using Javadoc comment format, there is no proper multi-line formatting being triggered or a new asterisk being added on the new line after pressing enter.
What should happen:
/**
*
*/
What is currently happening:
/**
*/
Steps To Reproduce:
- Open an Apex class.
- Start typing
/**
- It will auto-complete with
/**| */
( | is the cursor) - Press Enter.
Expected result
What should happen:
/**
*
*/
Actual result
What is currently happening:
/**
*/
Additional information
I have tried with other extensions that claim to handle multi-line comments for you as well. But none of them did any difference for this issue.
VS Code Version: 1.36.0
SFDX CLI Version: sfdx-cli/7.13.0-27dbcb37d3 win32-x64 node-v10.15.3
OS and version: WIN 10 x64
Issue Analytics
- State:
- Created 4 years ago
- Reactions:5
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Can't comment out Apex Class - Salesforce Developers
Explanation: If you open the class then it is not properly commented. If you are using trying to use multi-line comments then you...
Read more >java - How to disable the automatic asterisk (inserting stars) in ...
In Eclipse 4.2 and later, the solution is: Window -> Preferences -> Java -> Code Style -> Formatter ->. $profileName -> Edit.
Read more >Warning! Hidden traps – comments in SQL*Plus - svenweller
Comments are simple ways to add information to objects/code ... A slash “/” followed by an asterisks “*” starts a multi line comment....
Read more >Block Comments - Asterisk Wiki
A block comment is a comment that begins on one line, and continues for ... and continue across multiple lines until the character...
Read more >Comments Within SQL Statements
Begin the comment with a slash and an asterisk (/*). Proceed with the text of the comment. This text can span multiple lines....
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 FreeTop 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
Top GitHub Comments
+1 if we can also get ApexDoc/JavaDoc stub-creation (ie. auto-generate
@params
@returns
) etc that would be a bonusThank you very much!