Skip to content

Instantly share code, notes, and snippets.

@emabrey
Last active October 6, 2025 04:54
Show Gist options
  • Save emabrey/8fff9bd25a9ca60e9b18b9a19c4abc67 to your computer and use it in GitHub Desktop.
Save emabrey/8fff9bd25a9ca60e9b18b9a19c4abc67 to your computer and use it in GitHub Desktop.
VSCode configs for banked-experience plugin development
{
"version": "0.2.0",
"configurations": [
/*
Configuration specific to Visual Studio Code that matches the configuration
settings within the `gradle run` task. While you could simply run that task
directly from gradle via the command line, having this duplicate config
for launching debug/non-debug builds is far more convenient when using
VS Code to develop banked-experience.
*/
{
"type": "java",
"name": "BankedExperiencePluginTest",
"request": "launch",
"mainClass": "thestonedturtle.bankedexperience.BankedExperiencePluginTest",
"projectName": "banked-experience",
"args": [
"--debug",
"--safe-mode",
"--profile=BankedExperience"
],
"vmArgs": [
"-ea",
"-Dlogback.configurationFile=${workspaceFolder}/logback.xml",
"--add-opens", "java.base/java.lang.reflect=ALL-UNNAMED",
"--enable-native-access=ALL-UNNAMED"
],
"javaExec": "C:\\Program Files\\Zulu\\zulu-24\\bin\\java.exe",
"cwd": "${workspaceFolder}",
"console": "integratedTerminal"
}
]
}
{
"java.configuration.updateBuildConfiguration": "automatic",
"java.compile.nullAnalysis.mode": "automatic",
"java.format.onType.enabled": true,
"editor.formatOnPaste": false,
"editor.formatOnSave": false,
"editor.insertSpaces": false,
"java.checkstyle.configuration": "${workspaceFolder}\\checkstyle.xml",
"java.jdt.ls.java.home": "C:\\Program Files\\Zulu\\zulu-24\\", // Must be path to JDK21+
"java.import.gradle.java.home": "C:\\Program Files\\Zulu\\zulu-24", // Should be > JDK16, Must be >= JDK11
"java.project.explorer.showNonJavaResources": false,
"java.dependency.packagePresentation": "hierarchical",
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment