Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions api/references/icons-in-labels.md
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,7 @@ VS Code extensions can use these icons in labels, views, and trees.
|<i class="codicon codicon-bold"></i>|bold|
|<i class="codicon codicon-book"></i>|book|
|<i class="codicon codicon-bookmark"></i>|bookmark|
|<i class="codicon codicon-bracket-dot"></i>|bracket-dot|
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this codicon can be found here: microsoft/vscode#134102 (comment), it's already on vscode codicon repository.

|<i class="codicon codicon-briefcase"></i>|briefcase|
|<i class="codicon codicon-broadcast"></i>|broadcast|
|<i class="codicon codicon-browser"></i>|browser|
Expand Down
4 changes: 2 additions & 2 deletions docs/java/images/java-project/java.build.status.mp4
Git LFS file not shown
4 changes: 2 additions & 2 deletions docs/java/images/java-project/switch-to-standard.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions docs/java/images/java-tutorial/JavaHelloWorld.Standalone.mp4
Git LFS file not shown
14 changes: 7 additions & 7 deletions docs/java/java-project.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,27 +198,27 @@ Lightweight mode doesn't resolve imported dependencies nor build the project, so

You can control which mode to launch with by configuring `java.server.launchMode` with the options below:

- `Hybrid` (default) - Firstly, a workspace is opened with lightweight mode. You will be asked whether to switch to standard mode if your workspace contains unresolved Java projects. If you choose **Later**, it will stay in lightweight mode. You can click the server mode icon on the Status bar to manually switch to standard mode.
- `Hybrid` (default) - Firstly, a workspace is opened with lightweight mode. You will be asked whether to switch to standard mode if your workspace contains unresolved Java projects. If you choose **Later**, it will stay in lightweight mode. You can click the language status item on the Status bar to manually switch to standard mode.
- `Standard` - A workspace is opened with standard mode.
- `LightWeight` - A workspace is opened with lightweight mode. You can click the server mode icon on the Status bar to manually switch to standard mode.
- `LightWeight` - A workspace is opened with lightweight mode. You can click the language status item on the Status bar to manually switch to standard mode.

The Status bar indicates which mode the current workspace is in using different icons.
The language status item indicates which mode the current workspace is in using different icons.

<div id="codicon-listing">

- <i class="codicon codicon-rocket"></i> - workspace opened with lightweight mode.
- <i class="codicon codicon-bracket-dot"></i> - workspace opened with lightweight mode.
- <i class="codicon codicon-sync"></i> - workspace in the process of being opened with standard mode.
- <i class="codicon codicon-thumbsup"></i> - workspace opened with standard mode.
- <i class="codicon codicon-symbol-namespace"></i> - workspace opened with standard mode.

</div>

Clicking the lightweight mode icon switches to standard mode.
Clicking the language status item switches to standard mode.

![Switch to Standard](images/java-project/switch-to-standard.gif)

## Build Status

When you edit Java source code in Visual Studio Code, the Java language server is building your workspace to provide you with the necessary language features. You can see the detailed build task status and watch what is happening behind the scene by clicking the language server Status bar icon in the lower right.
When you edit Java source code in Visual Studio Code, the Java language server is building your workspace to provide you with the necessary language features. You can see the detailed build task status and watch what is happening behind the scene by clicking the language status item in the Status bar. You can also click `check details` when a notification shows the language server is opening Java projects to see the build task status.

<video autoplay loop muted playsinline controls>
<source src="/docs/java/java-project/java.build.status.mp4" type="video/mp4">
Expand Down
2 changes: 1 addition & 1 deletion docs/java/java-tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ If you have never installed a JDK before and need to install one, we recommend y

## Creating a source code file

Create a folder for your Java program and open the folder with VS Code. Then in VS Code, create a new file and save it with the name `Hello.java`. When you open that file, the Java Language Server automatically starts loading, and you should see a loading icon on the right side of the Status Bar. After it finishes loading, you will see a thumbs-up icon.
Create a folder for your Java program and open the folder with VS Code. Then in VS Code, create a new file and save it with the name `Hello.java`. When you open that file, the Java Language Server automatically starts loading, and you should see a language status item with a loading icon on the right side of the Status Bar showing the language status is busy. After it finishes loading, you can hover on the language status item and find the loading process has been finished successfully. You can also choose to pin the status item in the status bar.

<video autoplay loop muted playsinline controls>
<source src="/docs/java/java-tutorial/JavaHelloWorld.Standalone.mp4" type="video/mp4">
Expand Down