Skip to content

Commit

Permalink
Add VSCode workspace.
Browse files Browse the repository at this point in the history
  • Loading branch information
ekharkunov committed Sep 25, 2024
1 parent 73ab396 commit 4881012
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ server/bin/*
server/manifestmergetool/app/*
server/manifestmergetool/bin/*

.vscode/*
/server/docker/victoria-metrics-data/*
/server/docker/grafana-data/*
/dynamo_home/
Expand Down
8 changes: 8 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"recommendations": [
"vmware.vscode-boot-dev-pack",
"vscjava.vscode-spring-boot-dashboard",
"redhat.java", "vscjava.vscode-gradle",
"vscjava.vscode-java-debug",
]
}
21 changes: 21 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"configurations": [
{
"type": "java",
"name": "Attach to java process inside docker",
"request": "attach",
"hostName": "localhost",
"port": "5005"
},
{
"type": "java",
"name": "Spring Boot-ExtenderApplication<server>",
"request": "launch",
"cwd": "${workspaceFolder}",
"mainClass": "com.defold.extender.ExtenderApplication",
"projectName": "server",
"args": "--spring.config.location=classpath:./,file:${workspaceFolder}/server/configs/ --extender.sdk.location=${workspaceFolder}/server/app/sdk --spring.profiles.active=standalone-dev",
"envFile": ["${workspaceFolder}/server/envs/.env", "${workspaceFolder}/server/envs/user.env", "${workspaceFolder}/server/envs/macos.env"]
}
]
}
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"java.compile.nullAnalysis.mode": "automatic",
"java.configuration.updateBuildConfiguration": "automatic"
}

0 comments on commit 4881012

Please sign in to comment.