[ide-vscode] Add instructions to tasks.json (#2126)
* Update tasks.json for VS Code Add 2 tasks for Visual Studio Code IDE. Force code style update before compile. Signed-off-by: Daniel Rosengarten <github@praetorians.be> * Add a second update properties task Signed-off-by: Daniel Rosengarten <github@praetorians.be> * Update tasks.json Signed-off-by: Daniel Rosengarten <github@praetorians.be> --------- Signed-off-by: Daniel Rosengarten <github@praetorians.be>pull/2141/head
parent
12677eaea8
commit
2f8322730a
|
|
@ -41,6 +41,9 @@
|
|||
"clean",
|
||||
"install"
|
||||
],
|
||||
"dependsOn": [
|
||||
"mvn Spotless (Fix codestyle)"
|
||||
],
|
||||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
|
|
@ -52,6 +55,9 @@
|
|||
"install",
|
||||
"-DskipChecks"
|
||||
],
|
||||
"dependsOn": [
|
||||
"mvn Spotless (Fix codestyle)"
|
||||
],
|
||||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
|
|
@ -64,6 +70,9 @@
|
|||
"install",
|
||||
"-DskipChecks"
|
||||
],
|
||||
"dependsOn": [
|
||||
"mvn Spotless (Fix codestyle)"
|
||||
],
|
||||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
|
|
@ -144,6 +153,40 @@
|
|||
"panel": "new"
|
||||
},
|
||||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
"label": "mvn Spotless (Fix codestyle)",
|
||||
"type": "shell",
|
||||
"command": "mvn",
|
||||
"args": [
|
||||
"spotless:apply"
|
||||
],
|
||||
"problemMatcher": []
|
||||
|
||||
},
|
||||
{
|
||||
"label": "mvn update properties (Default)",
|
||||
"type": "shell",
|
||||
"command": "mvn",
|
||||
"args": [
|
||||
"i18n:generate-default-translations",
|
||||
"-pl",
|
||||
":$env:binding"
|
||||
],
|
||||
"problemMatcher": []
|
||||
|
||||
},
|
||||
{
|
||||
"label": "mvn update properties (Default) [full plug-in name]",
|
||||
"type": "shell",
|
||||
"command": "mvn",
|
||||
"args": [
|
||||
"mvn org.openhab.core.tools:i18n-maven-plugin:3.4.0:generate-default-translations",
|
||||
"-pl",
|
||||
":$env:binding"
|
||||
],
|
||||
"problemMatcher": []
|
||||
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue