How to Hide .class file in displaying in Vscode EXPLORER page
- Open Workspace Settings:
- Press F1 or Ctrl+Shift+P (Cmd+Shift+P on macOS) and select "Preferences: Open Workspace Settings".
- Add Exclusion Pattern:
- Locate the "Files: Exclude" setting.
- Add the following pattern:
**/*.class
- Save the settings.
- Open User Settings:
- Press F1 or Ctrl+Shift+P (Cmd+Shift+P on macOS) and select "Preferences: Open Settings (JSON)".
- Add Exclusion Pattern:
- Add the same pattern to the "files.exclude" array:
JSON
{
"files.exclude": {
"**/*.class": true }
}
- Add the same pattern to the "files.exclude" array:
- Save the settings.
How to prevent .class files from appearing in the Project Explorer in VS Code
Method 1: Workspace Settings:
Method 2: User Settings (Optional):
Comments
Post a Comment