Summary
When description comments are added to Apex methods, the resulting tool-tip does not preserve formatting, nor does it appear to provide any mechanism for stating that certain formatting should apply.
Steps To Reproduce:
- Define an Apex class with method that includes a documentation comment with some form of formatting. For example:
/**
* States that the next method definition is expected to be called in the order it appears.
*
* If a method is subsequently called out of order, will fail the test.
*
* Calling 'verify' will check that all expectations have been met, failing the test if not.
*
* 'Expectations' take lower priority than 'whens' (I.E. if a matching 'when' is defined at call time, then it will match that over the next 'expect').
*
* Define in the format:
* expects()
* .method( 'methodName' )
* .withParameter( 'parameterValue' )
* .returning( 'theValueItShouldReturn' )
*/
- In another method, define a call to that method, and hover over the method call
Expected result
Formatting of the documentation comment to be preserved. Or options exist for stating the formatting required.
Actual result
Formatting of the documentation comment is not preserved.
Additional information

VS Code Version: Version 1.30.0 (1.30.0)
SFDX CLI Version: sfdx-cli/7.69.0-1101929cd1 darwin-x64 node-v12.18.3
OS and version: macOs Catalina 10.15.2
Summary
When description comments are added to Apex methods, the resulting tool-tip does not preserve formatting, nor does it appear to provide any mechanism for stating that certain formatting should apply.
Steps To Reproduce:
Expected result
Formatting of the documentation comment to be preserved. Or options exist for stating the formatting required.
Actual result
Formatting of the documentation comment is not preserved.
Additional information
VS Code Version: Version 1.30.0 (1.30.0)
SFDX CLI Version: sfdx-cli/7.69.0-1101929cd1 darwin-x64 node-v12.18.3
OS and version: macOs Catalina 10.15.2