Skip to content

Commit

Permalink
CLDR-14802 VSCode JavaScript / Java config (#1390)
Browse files Browse the repository at this point in the history
- Vetur for Vue3 work
- 'attach to process' for Java debugger
- launch configs for JUnit
  • Loading branch information
srl295 authored Aug 5, 2021
1 parent 28a41e6 commit 61c806b
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 6 deletions.
23 changes: 23 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "java",
"name": "Launch Current File",
"request": "launch",
"mainClass": "${file}",
"vmArgs": [
"-DCLDR_DIR=${workspaceFolder}"
]
},
{
"type": "java",
"request": "attach",
"name": "Attach by Process ID",
"processId": "${command:PickJavaProcess}"
}
]
}
15 changes: 9 additions & 6 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
{
"java.test.config": {
"env": {
"CLDR_DIR": "${workspaceRoot}",
"CLDR_ENVIRONMENT": "UNITTEST"
}
}
"java.test.config": [{
"name": "cldrtest",
"workingDirectory": "${workspaceFolder}",
"vmargs": [
"-DCLDR_DIR=${workspaceFolder}",
"-DCLDR_ENVIRONMENT=UNITTEST"
]
}],
"java.test.defaultConfig": "cldrtest",
}
5 changes: 5 additions & 0 deletions tools/cldr-apps/js/jsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"include": [
"./src/**/*"
]
}
8 changes: 8 additions & 0 deletions vetur.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// Vetur configuration for where to find Vue.js files
module.exports = {
settings: {
},
projects: [
'./tools/cldr-apps/js'
]
}

0 comments on commit 61c806b

Please sign in to comment.