Skip to content

Commit f06cb81

Browse files
authored
Refine the commands naming and capitalization (#1707)
* Refine the commands naming and capitalization Signed-off-by: Sheng Chen <[email protected]> * Update the command description in README Signed-off-by: Sheng Chen <[email protected]>
1 parent e6f784b commit f06cb81

File tree

2 files changed

+25
-17
lines changed

2 files changed

+25
-17
lines changed

README.md

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,21 @@ The default runtime will be used when you open standalone Java files.
8585
Available commands
8686
==========================
8787
The following commands are available:
88-
- `Java:Update Project configuration` (`Shift+Alt+U`): is available when the editor is focused on a Maven pom.xml or a Gradle file. It forces project configuration / classpath updates (eg. dependency changes or Java compilation level), according to the project build descriptor.
89-
- `Java:Open Java language server log file`: opens the Java Language Server log file, useful for troubleshooting problems.
90-
- `Java:Open Java extension log file`: opens the Java extension log file, useful for troubleshooting problems.
91-
- `Java:Force Java compilation` (`Shift+Alt+B`): manually triggers compilation of the workspace.
92-
- `Java:Open Java formatter settings`: Open the Eclipse formatter settings. Creates a new settings file if none exists.
93-
- `Java:Clean the Java language server workspace`: Clean the Java language server workspace.
94-
- `Java:Attach Source`: Attach a jar/zip source to the currently opened binary class file. This command is only available in the editor context menu.
88+
- `Switch to Standard Mode`: switches the Java Language Server to `Standard` mode. This command is only available when the Java Language Server is in `LightWeight` mode.
89+
- `Java: Update Project` (`Shift+Alt+U`): is available when the editor is focused on a Maven pom.xml or a Gradle file. It forces project configuration / classpath updates (eg. dependency changes or Java compilation level), according to the project build descriptor.
90+
- `Java: Import Java Projects into Workspace`: detects and imports all the Java projects into the Java Language Server workspace.
91+
- `Java: Open Java Language Server Log File`: opens the Java Language Server log file, useful for troubleshooting problems.
92+
- `Java: Open Java Extension Log File`: opens the Java extension log file, useful for troubleshooting problems.
93+
- `Java: Open All Log Files`: opens both the Java Language Server log file and the Java extension log file.
94+
- `Java: Force Java Compilation` (`Shift+Alt+B`): manually triggers compilation of the workspace.
95+
- `Java: Open Java Formatter Settings`: opens the Eclipse formatter settings. Creates a new settings file if none exists.
96+
- `Java: Clean Java Language Server Workspace`: cleans the Java language server workspace.
97+
- `Java: Attach Source`: attaches a jar/zip source to the currently opened binary class file. This command is only available in the editor context menu.
98+
- `Java: Add Folder to Java Source Path`: adds the selected folder to its project source path. This command is only available in the file explorer context menu and only works for unmanaged folders.
99+
- `Java: Remove Folder from Java Source Path`: removes the selected folder from its project source path. This command is only available in the file explorer context menu and only works for unmanaged folders.
100+
- `Java: List All Java Source Paths`: lists all the Java source paths recognized by the Java Language Server workspace.
101+
- `Java: Show Build Job Status`: shows the Java Language Server job status in Visual Studio Code terminal.
102+
- `Java: Go to Super Implementation`: goes to the super implementation for the current selected symbol in editor.
95103

96104
Supported VS Code settings
97105
==========================

package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -688,47 +688,47 @@
688688
"commands": [
689689
{
690690
"command": "java.server.mode.switch",
691-
"title": "Switch to Standard mode",
691+
"title": "Switch to Standard Mode",
692692
"category": "Java"
693693
},
694694
{
695695
"command": "java.projectConfiguration.update",
696-
"title": "Update project configuration",
696+
"title": "Update Project",
697697
"category": "Java"
698698
},
699699
{
700700
"command": "java.project.import",
701-
"title": "Import Java projects in workspace",
701+
"title": "Import Java Projects into Workspace",
702702
"category": "Java"
703703
},
704704
{
705705
"command": "java.open.serverLog",
706-
"title": "Open Java language server log file",
706+
"title": "Open Java Language Server Log File",
707707
"category": "Java"
708708
},
709709
{
710710
"command": "java.open.clientLog",
711-
"title": "Open Java extension log file",
711+
"title": "Open Java Extension Log File",
712712
"category": "Java"
713713
},
714714
{
715715
"command": "java.open.logs",
716-
"title": "Open all log files",
716+
"title": "Open All Log Files",
717717
"category": "Java"
718718
},
719719
{
720720
"command": "java.workspace.compile",
721-
"title": "Force Java compilation",
721+
"title": "Force Java Compilation",
722722
"category": "Java"
723723
},
724724
{
725725
"command": "java.open.formatter.settings",
726-
"title": "Open Java formatter settings",
726+
"title": "Open Java Formatter Settings",
727727
"category": "Java"
728728
},
729729
{
730730
"command": "java.clean.workspace",
731-
"title": "Clean the Java language server workspace",
731+
"title": "Clean Java Language Server Workspace",
732732
"category": "Java"
733733
},
734734
{
@@ -748,7 +748,7 @@
748748
},
749749
{
750750
"command": "java.project.listSourcePaths",
751-
"title": "List all Java source paths",
751+
"title": "List All Java Source Paths",
752752
"category": "Java"
753753
},
754754
{

0 commit comments

Comments
 (0)