-
Notifications
You must be signed in to change notification settings - Fork 516
Open
Description
I'm using an Eclipse format XML profile to indent/format my java code in VS Code. For comments, the same profile is generating different results.
Environment
- Operating System: macOS Catalina 10.15.4
- JDK version: OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_252-b09)
- Visual Studio Code version: 1.44.2
- Java extension version: 0.60.0 (April 16, 2020)
Steps To Reproduce
Settings for Java format:
Eclipse formatting profile from the settings above (unzip to get the XML profile):
eclipse-java-formatter.xml.zip
- Paste the following code snippet in a Java file.
/**
* Javadoc headline describing the method
*
* Detailed description:
* - point 1
* - point 2
* - point 3
*
* @param param1
* @param param2
*
* @return something
*/- Select the code snippet and run
Format Selectionfrom the command palette.
Current Result
Expected Result
Eclipse output with the same profile:
Additional Informations
Reactions are currently unavailable



