Skip to content

Commit 5178711

Browse files
authored
Merge pull request #602 from bash-lsp/release-client-1-19
Release vscode extension 1.19.0
2 parents 6d0a183 + 82e1e6d commit 5178711

File tree

4 files changed

+44
-13
lines changed

4 files changed

+44
-13
lines changed

vscode-client/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Bash IDE
22

3+
## 1.19.0
4+
5+
- Upgrade language server to 4.0.0-beta.5 that enables ShellCheck code actions (quick fixes) and allows for changing settings while the extension is running.
6+
37
## 1.18.0
48

59
- Upgrade language server to 4.0.0-beta.1 that enables a better ShellCheck integration.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
const packageJson = require('../package.json')
2+
import { getDefaultConfiguration } from '../../server/src/config'
3+
4+
const defaultConfig = getDefaultConfiguration()
5+
6+
describe('config', () => {
7+
const configProperties = packageJson.contributes.configuration.properties
8+
9+
it('prefixes all keys with "bashIde."', () => {
10+
for (const key of Object.keys(configProperties)) {
11+
expect(key).toMatch(/^bashIde\./)
12+
}
13+
})
14+
15+
it('has the same keys as the default configuration', () => {
16+
const configKeys = Object.keys(configProperties)
17+
.map((key) => key.replace(/^bashIde\./, ''))
18+
.sort()
19+
const defaultConfigKeys = Object.keys(defaultConfig).sort()
20+
expect(configKeys).toEqual(defaultConfigKeys)
21+
})
22+
})

vscode-client/package.json

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "A language server for Bash",
55
"author": "Mads Hartmann",
66
"license": "MIT",
7-
"version": "1.18.0",
7+
"version": "1.19.0",
88
"publisher": "mads-hartmann",
99
"repository": {
1010
"type": "git",
@@ -31,20 +31,25 @@
3131
"type": "object",
3232
"title": "Bash IDE configuration",
3333
"properties": {
34+
"bashIde.backgroundAnalysisMaxFiles": {
35+
"type": "number",
36+
"default": 500,
37+
"description": "Maximum number of files to analyze in the background. Set to 0 to disable background analysis."
38+
},
39+
"bashIde.explainshellEndpoint": {
40+
"type": "string",
41+
"default": "",
42+
"description": "Configure explainshell server endpoint in order to get hover documentation on flags and options."
43+
},
3444
"bashIde.globPattern": {
3545
"type": "string",
3646
"default": "**/*@(.sh|.inc|.bash|.command)",
37-
"description": "Glob pattern for finding and parsing shell script files in the workspace."
47+
"description": "Glob pattern for finding and parsing shell script files in the workspace. Used by the background analysis features across files."
3848
},
3949
"bashIde.highlightParsingErrors": {
4050
"type": "boolean",
4151
"default": false,
42-
"description": "Controls if parsing errors will be highlighted as problems."
43-
},
44-
"bashIde.explainshellEndpoint": {
45-
"type": "string",
46-
"default": "",
47-
"description": "Configure explainshell server endpoint in order to get hover documentation on flags and options."
52+
"description": "Controls if treesitter parsing errors will be highlighted as problems."
4853
},
4954
"bashIde.shellcheckPath": {
5055
"type": "string",
@@ -63,7 +68,7 @@
6368
"vscode:prepublish": "cd .. && yarn run compile"
6469
},
6570
"dependencies": {
66-
"bash-language-server": "4.0.0-beta.4",
71+
"bash-language-server": "4.0.0-beta.5",
6772
"vscode-languageclient": "8.0.2",
6873
"vscode-languageserver": "8.0.2"
6974
},

vscode-client/yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ balanced-match@^1.0.0:
3333
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee"
3434
integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==
3535

36-
bash-language-server@4.0.0-beta.4:
37-
version "4.0.0-beta.4"
38-
resolved "https://registry.yarnpkg.com/bash-language-server/-/bash-language-server-4.0.0-beta.4.tgz#8d11091baff845685c2e5bc2663caba873706f32"
39-
integrity sha512-N3/ndwE2D3WAJMfTXd6DG2ZiW6XyGo9bJZczuryC/8ZCJShYWjZ6SWj+3reEWDqhvn2omtH7028A1LoZT5kPbA==
36+
bash-language-server@4.0.0-beta.5:
37+
version "4.0.0-beta.5"
38+
resolved "https://registry.yarnpkg.com/bash-language-server/-/bash-language-server-4.0.0-beta.5.tgz#02173e1af9f7800d4b8e72feb0d3d50950ef374b"
39+
integrity sha512-8Nu8LUv+yts1L1Bl3yIyjFBlKjZy/M8tRB99ms850WOiRpmdijXUSxHNQu5xn6sA/Pt8f4KrjuCv/D8AFUPTCA==
4040
dependencies:
4141
fast-glob "3.2.12"
4242
fuzzy-search "3.2.1"

0 commit comments

Comments
 (0)