mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-14 11:37:43 +00:00
Merge pull request #7876 from keymanapp/chore/linux/settings
chore(linux): Update vscode settings for Linux
This commit is contained in:
commit
b6f183192d
4 changed files with 113 additions and 5 deletions
|
|
@ -3,8 +3,6 @@
|
|||
{
|
||||
"name": "linux",
|
||||
"includePath": [
|
||||
"${workspaceFolder}/common/include",
|
||||
"${workspaceFolder}/common/include/**",
|
||||
"${workspaceFolder}/core/include",
|
||||
"${workspaceFolder}/core/include/**",
|
||||
"${workspaceFolder}/core/build/arch/debug/include/",
|
||||
|
|
|
|||
|
|
@ -3,8 +3,10 @@
|
|||
// for the documentation about the extensions.json format
|
||||
"recommendations": [
|
||||
"asabil.meson",
|
||||
"EditorConfig.editorconfig",
|
||||
"editorconfig.editorconfig",
|
||||
"ms-python.python",
|
||||
"timonwong.shellcheck"
|
||||
"mads-hartmann.bash-ide-vscode",
|
||||
"timonwong.shellcheck",
|
||||
"maelvalais.autoconf"
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -101,7 +101,10 @@
|
|||
"glib.h": "c"
|
||||
},
|
||||
"C_Cpp.clang_format_fallbackStyle": "Google",
|
||||
"bashIde.explainshellEndpoint": "http://localhost:5000",
|
||||
"bashIde.highlightParsingErrors": true,
|
||||
"shellcheck.customArgs": [
|
||||
"--external-sources --source-path=resources/build/"
|
||||
]
|
||||
],
|
||||
"C_Cpp.errorSquiggles": "EnabledIfIncludesResolve",
|
||||
}
|
||||
|
|
|
|||
|
|
@ -47,6 +47,70 @@
|
|||
"group": "build",
|
||||
"detail": "build core"
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"label": "core: configure",
|
||||
"command": "${workspaceFolder}/core/build.sh",
|
||||
"args": [ "--debug", "configure",
|
||||
],
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}/core",
|
||||
},
|
||||
"presentation": {
|
||||
"clear": true
|
||||
},
|
||||
"group": "build",
|
||||
"detail": "configure core"
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"label": "core: configure+build",
|
||||
"command": "${workspaceFolder}/core/build.sh",
|
||||
"args": [
|
||||
"--debug", "configure", "build", "tests"
|
||||
],
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}/core"
|
||||
},
|
||||
"problemMatcher": [
|
||||
{
|
||||
"owner": "cpp",
|
||||
"source": "compiler",
|
||||
"fileLocation": [
|
||||
"relative",
|
||||
"${workspaceFolder}/core/"
|
||||
],
|
||||
"pattern": [
|
||||
{
|
||||
"regexp": "^../../../(.*):(\\d+):(\\d+):\\s+(warning|error|note):\\s+(.*)(\\s+\\[.*\\])?$",
|
||||
"file": 1,
|
||||
"line": 2,
|
||||
"column": 3,
|
||||
"severity": 4,
|
||||
"message": 5
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"owner": "cpp",
|
||||
"source": "linker",
|
||||
"fileLocation": "absolute",
|
||||
"pattern": [
|
||||
{
|
||||
"regexp": "^(/usr/bin/ld:\\s+)?(.*):(\\d+):\\s+(.*)$",
|
||||
"file": 2,
|
||||
"location": 3,
|
||||
"message": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
],
|
||||
"presentation": {
|
||||
"clear": true
|
||||
},
|
||||
"group": "build",
|
||||
"detail": "build core"
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"label": "core: test",
|
||||
|
|
@ -61,6 +125,16 @@
|
|||
"group": "test",
|
||||
"detail": "run tests for core"
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"label": "ibus-keyman: autogen.sh",
|
||||
"command": "./autogen.sh",
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}/linux/ibus-keyman"
|
||||
},
|
||||
"group": "build",
|
||||
"detail": "autogen ibus-keyman"
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"label": "ibus-keyman: configure",
|
||||
|
|
@ -107,5 +181,36 @@
|
|||
"group": "build",
|
||||
"detail": "build ibus-keyman"
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"label": "ibus-keyman: build tests",
|
||||
"command": "make",
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}/linux/ibus-keyman/tests",
|
||||
},
|
||||
"group": "build",
|
||||
"detail": "build ibus-keyman"
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"label": "ibus-keyman: check",
|
||||
"command": "make",
|
||||
"args": ["check"],
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}/linux/ibus-keyman/",
|
||||
},
|
||||
"group": "build",
|
||||
"detail": "build check ibus-keyman"
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"label": "keyman-config: tests",
|
||||
"command": "${workspaceFolder}/linux/keyman-config/run-tests.sh",
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}/linux/keyman-config",
|
||||
},
|
||||
"group": "test",
|
||||
"detail": "unit test keyman-config"
|
||||
},
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue