mirror of
https://github.com/kbwo/testing-language-server.git
synced 2025-08-03 23:28:14 +00:00
chore: add vscode settings for debugging with vscode-tesitng-ls
This commit is contained in:
parent
9bb28ea592
commit
8f4097aab3
1 changed files with 60 additions and 0 deletions
60
demo/.vscode/settings.json
vendored
Normal file
60
demo/.vscode/settings.json
vendored
Normal file
|
@ -0,0 +1,60 @@
|
|||
{
|
||||
"testing.enable": true,
|
||||
"testing.fileTypes": ["rust"],
|
||||
"testing.adapterCommand": {
|
||||
"cargo-nextest": [
|
||||
{
|
||||
"path": "testing-ls-adapter",
|
||||
"extra_args": ["--test-kind=cargo-nextest"],
|
||||
"include_patterns": ["/**/src/**/*.rs"],
|
||||
"exclude_patterns": ["/**/target/**"]
|
||||
}
|
||||
],
|
||||
"jest": [
|
||||
{
|
||||
"path": "testing-ls-adapter",
|
||||
"extra_args": ["--test-kind=jest"],
|
||||
"include_patterns": ["/jest/*.js"],
|
||||
"exclude_patterns": ["/jest/**/node_modules/**/*"]
|
||||
}
|
||||
],
|
||||
"vitest": [
|
||||
{
|
||||
"path": "testing-ls-adapter",
|
||||
"extra_args": ["--test-kind=vitest"],
|
||||
"include_patterns": [
|
||||
"/vitest/*.test.ts",
|
||||
"/vitest/config/**/*.test.ts"
|
||||
],
|
||||
"exclude_patterns": ["/vitest/**/node_modules/**/*"]
|
||||
}
|
||||
],
|
||||
"deno": [
|
||||
{
|
||||
"path": "testing-ls-adapter",
|
||||
"extra_args": ["--test-kind=deno"],
|
||||
"include_patterns": ["/deno/*.ts"],
|
||||
"exclude_patterns": []
|
||||
}
|
||||
],
|
||||
"go": [
|
||||
{
|
||||
"path": "testing-ls-adapter",
|
||||
"extra_args": ["--test-kind=go-test"],
|
||||
"include_patterns": ["/**/*.go"],
|
||||
"exclude_patterns": []
|
||||
}
|
||||
],
|
||||
"phpunit": [
|
||||
{
|
||||
"path": "testing-ls-adapter",
|
||||
"extra_args": ["--test-kind=phpunit"],
|
||||
"include_patterns": ["/**/*Test.php"],
|
||||
"exclude_patterns": ["/phpunit/vendor/**/*.php"]
|
||||
}
|
||||
]
|
||||
},
|
||||
"testing.enableWorkspaceDiagnostics": true,
|
||||
"testing.server.path": "testing-language-server",
|
||||
"testing.trace.server": "verbose"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue