How to Hide .class file in displaying in Vscode EXPLORER page

 

    How to prevent .class files from appearing in the Project Explorer in VS Code

    Method 1: Workspace Settings:

    • 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.

    Method 2: User Settings (Optional):

    • 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
            } 
    • Save the settings.

Comments

Popular posts from this blog

Convert binary to decimal in c using built in function

Install nodeJs in linux

DFS in Complete Tree