IDE: Eclipse & VSCode

IDE & Plugins & Tools

Tools

Tools for Linux / MAC

Tools for Windows

Database Tools

Java Test Libs

Visual Studio Code & Windows

Install PowerShell 7.x.x

Check the current version $PSVersionTable.PSVersion

This requires admin permissions on the windows system.

winget install --id Microsoft.Powershell --source winget

Configure PowerShell 7 as CMD default

Open the windows shell, select in the menu the drop down and settings, select powershell and save.

Configure PowerShell 7 as VS Code default

Open the user Settings settings.json to add the new shell, you can see all Settings (read only) in the Default Settings (JSON).

  • ctrl+p
  • type Open Settings

Add the new install PowerShell 7 and set it as the new default.

"terminal.integrated.profiles.windows": {
    "PowerShell_7": {
        "source": "PowerShell",
        "icon": "terminal-powershell",
        "path": "C:\\Program Files\\PowerShell\\\pwsh.exe"
    },
},
"terminal.integrated.defaultProfile.windows": "PowerShell_7",
Note: Visual Studio Code needs a restart after this change.

Eclipse ini settings

Memory settings G1 or ZGC

Where the G1 is optimized for shorter GC pause, which maybe is good too (default with Java 17), adjust the Xmx as you see fit eclipse.ini:

-Xms512m
-Xmx2048m
-XX:+UseG1GC
-XX:MaxGCPauseMillis=50
-XX:+UnlockExperimentalVMOptions
-XX:+UseStringDeduplication
-XX:+OptimizeStringConcat
-Dfile.encoding=UTF-8
-Dorg.eclipse.swt.internal.gtk.cairoGraphics=false
-Dorg.eclipse.swt.internal.gtk.useCairo=false

adjust the following settings based on your CPU count

-XX:ParallelGCThreads=6
-XX:ConcGCThreads=4

Increase icon size for large screens

-Dswt.autoScale=quarter

Eclipse autoscale comes with some examples. Basically quarter means leave it to the system to scale in 25% steps. Alternatively, use integers like 200 to scale to 200%.

-Dswt.autoScale=200

Miscellaneous

Paul Sterl has written 55 articles

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>