Skip to content

Commit d7da4e7

Browse files
authored
Merge branch 'master' into patch-1
2 parents dd60f15 + d31c74f commit d7da4e7

24 files changed

+2024
-1513
lines changed

.travis.yml

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ dist: xenial
22
language: node_js
33

44
node_js:
5-
- 10
5+
- 10
66

77
cache:
88
directories:
9-
- "node_modules"
9+
- 'node_modules'
1010

1111
os:
1212
- osx
@@ -23,15 +23,12 @@ before_install:
2323
sudo apt-get -y install libsecret-1-dev
2424
fi
2525
install:
26-
- npm ci
27-
- npm run vscode:prepublish
28-
29-
script:
30-
- npm test --silent
26+
- npm ci
27+
- npm run vscode:prepublish
3128

3229
before_deploy:
33-
- npm install -g vsce
34-
- vsce package
30+
- npm install -g vsce
31+
- vsce package
3532

3633
# Deploy the extension to the Marketplace and GitHub releases (only on tags).
3734
# Note that this only deploys from the master branch, but will still allow
@@ -44,20 +41,20 @@ before_deploy:
4441
# b) Set a environment variable `VS_TOKEN` with the value of your VS Code personal token
4542
# c) Make sure `Display value in build log` is turned OFF!
4643
deploy:
47-
- provider: script # Deploy to VS Code Market Place (only on tags!).
48-
script: vsce publish -p $VS_CODE
49-
skip_cleanup: true
50-
on: # Publish on all builds on master branch.
51-
repo: alanz/vscode-hie-server
52-
branch: master
53-
tags: true
54-
condition: $TRAVIS_OS_NAME = linux
44+
- provider: script # Deploy to VS Code Market Place (only on tags!).
45+
script: vsce publish -p $VS_CODE
46+
skip_cleanup: true
47+
on: # Publish on all builds on master branch.
48+
repo: haskell/vscode-haskell
49+
branch: master
50+
tags: true
51+
condition: $TRAVIS_OS_NAME = linux
5552
# - provider: releases # Deploy the *.vsix pcakge to GitHub releases.
5653
# file_glob: true
5754
# file: "*.vsix"
5855
# skip_cleanup: true
5956
# on: # Due to a limitation with releases, we can only deploy them on tags.
60-
# repo: alanz/vscode-hie-server
57+
# repo: haskell/vscode-haskell
6158
# branch: master
6259
# tags: true
6360
# condition: $TRAVIS_OS_NAME = linux

.vscode/launch.json

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
// A launch configuration that compiles the extension and then opens it inside a new window
22
{
3-
"version": "0.1.0",
4-
"configurations": [
5-
{
6-
"name": "Extension",
7-
"type": "extensionHost",
8-
"request": "launch",
9-
"runtimeExecutable": "${execPath}",
10-
"args": ["--extensionDevelopmentPath=${workspaceRoot}" ],
11-
"stopOnEntry": false,
12-
"sourceMaps": true,
13-
"outFiles": [ "${workspaceRoot}/out/src/**/*.js" ],
14-
"preLaunchTask": "npm: watch"
15-
},
16-
{
17-
"name": "Extension Tests",
18-
"type": "extensionHost",
19-
"request": "launch",
20-
"runtimeExecutable": "${execPath}",
21-
"args": ["--extensionDevelopmentPath=${workspaceRoot}", "--extensionTestsPath=${workspaceRoot}/out/test" ],
22-
"stopOnEntry": false,
23-
"sourceMaps": true,
24-
"outFiles": [ "${workspaceRoot}/out/test/**/*.js" ],
25-
"preLaunchTask": "npm: watch"
26-
}
27-
]
3+
"version": "0.1.0",
4+
"configurations": [
5+
{
6+
"name": "Extension",
7+
"type": "extensionHost",
8+
"request": "launch",
9+
"runtimeExecutable": "${execPath}",
10+
"args": ["--extensionDevelopmentPath=${workspaceRoot}"],
11+
"stopOnEntry": false,
12+
"sourceMaps": true,
13+
"outFiles": ["${workspaceRoot}/out/src/**/*.js"],
14+
"preLaunchTask": "npm: watch"
15+
},
16+
{
17+
"name": "Extension Tests",
18+
"type": "extensionHost",
19+
"request": "launch",
20+
"runtimeExecutable": "${execPath}",
21+
"args": ["--extensionDevelopmentPath=${workspaceRoot}", "--extensionTestsPath=${workspaceRoot}/out/test"],
22+
"stopOnEntry": false,
23+
"sourceMaps": true,
24+
"outFiles": ["${workspaceRoot}/out/test/**/*.js"],
25+
"preLaunchTask": "npm: watch"
26+
}
27+
]
2828
}

Changelog.md

Lines changed: 109 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,70 @@
1+
### 1.3.0
2+
3+
- Add `haskell.releasesURL` option to override where to look for HLS releases search for HLS downloads (@soiamsoNG)
4+
5+
### 1.2.0
6+
7+
- Add option to open local documentation on Hackage (@DunetsNM)
8+
- Add `haskell.updateBehaviour` option to configure when to check for updates
9+
(@WorldSEnder)
10+
- Use locally installed servers on connection failure (@WorldSEnder)
11+
12+
### 1.1.0
13+
14+
- Add Fourmolu as a plugin formatter provider (@georgefst)
15+
- Remove the `haskell.enable` configuration option, since VS Code now allows
16+
you to disable extensions on a per workspace basis
17+
- Display errors when fetching from the GitHub API properly
18+
19+
### 1.0.1
20+
21+
- Switch the default formatter to Ormolu to match haskell-language-server
22+
- Fix `haskell.serverExecutablePath` not working with absolute paths on Windows
23+
(@winestone)
24+
- Improve the help text and error message when `haskell.serverExecutablePath`
25+
is not found
26+
- Fix the rendering of the markdown table in the README (@Darren8098)
27+
28+
### 1.0.0
29+
30+
- vscode-haskell now lives under the Haskell organisation
31+
- Can now download zip archived binaries, which the Windows binaries are now distributed as
32+
- Improve README (@pepeiborra @jaspervdj)
33+
34+
### 0.1.1
35+
36+
- Fix the restart server and import identifier commands
37+
38+
### 0.1.0
39+
40+
`vscode-hie-server`/`Haskell Language Server` is now just Haskell, and will soon
41+
be published under the Haskell organisation as `haskell-vscode`.
42+
This release makes haskell-language-server the default langauge server of choice
43+
and automatically downloads and installs binaries. Installation from source is
44+
still supported though and any binaries located on your PATH for the selected
45+
langauge server will be used instead.
46+
47+
#### Important!
48+
49+
As part of this, your configuration may be reset as the keys move from
50+
`languageServerHaskell.completionSnippetsOn` to `haskell.completionSnippetsOn`.
51+
52+
- Fix the document and source browser
53+
- Remove obselete commands that are no longer supported by any of the language
54+
servers
55+
- Show type command
56+
- Insert type command
57+
- HaRe commands
58+
- Case split commands
59+
160
### 0.0.40
261

362
Change the way the backend is configured, simplifying it.
463

5-
* remove wrapper scripts (hie-vscode.sh/hie-vscode.bat)
6-
* dropdown choice between `haskell-ide-engine`, `haskell-language-server` or
64+
- remove wrapper scripts (hie-vscode.sh/hie-vscode.bat)
65+
- dropdown choice between `haskell-ide-engine`, `haskell-language-server` or
766
`ghcide` in the `hieVariant` setting.
8-
* this can be overridden by an explicit `hieExecutablePath`, as before.
67+
- this can be overridden by an explicit `hieExecutablePath`, as before.
968

1069
### 0.0.39
1170

@@ -19,125 +78,125 @@ Bump dependencies
1978

2079
Trying again, working 0.0.35
2180

22-
* Add Restart command (@gdziadkiewicz)
23-
* Add Ormolu as a formatter option (@DavSanchez)
24-
* Update README
81+
- Add Restart command (@gdziadkiewicz)
82+
- Add Ormolu as a formatter option (@DavSanchez)
83+
- Update README
2584

2685
### 0.0.36
2786

28-
* Roll back to 0.0.34
87+
- Roll back to 0.0.34
2988

3089
### 0.0.35
3190

32-
* Add Restart command (@gdziadkiewicz)
33-
* Add Ormolu as a formatter option (@DavSanchez)
34-
* Update README
91+
- Add Restart command (@gdziadkiewicz)
92+
- Add Ormolu as a formatter option (@DavSanchez)
93+
- Update README
3594

3695
### 0.0.34
3796

38-
* Remove --lsp parameter from hie-vscode.bat
97+
- Remove --lsp parameter from hie-vscode.bat
3998

4099
### 0.0.33
41100

42-
* Introduced configuration setting `noLspParam`, default `false` to control
101+
- Introduced configuration setting `noLspParam`, default `false` to control
43102
setting the `--lsp` flag for the hie server. So by default we will set the
44103
command line argument for the server, but it can be turned off.
45104

46105
### 0.0.32
47106

48-
* Re-enable the `--lsp` flag for the hie server
49-
* Update some deps for security vulnerabilities
107+
- Re-enable the `--lsp` flag for the hie server
108+
- Update some deps for security vulnerabilities
50109

51110
### 0.0.31
52111

53-
* Log to stderr (vscode output) by default, add option for logfile (@bubba)
112+
- Log to stderr (vscode output) by default, add option for logfile (@bubba)
54113

55114
### 0.0.30
56115

57-
* Bundle using webpack (@chrismwendt)
58-
* Bump protocol version to 3.15 prerelease (@alanz)
116+
- Bundle using webpack (@chrismwendt)
117+
- Bump protocol version to 3.15 prerelease (@alanz)
59118
This allows working progress reporting from hie.
60-
* Update casesplit plugin (@Avi-D-coder)
119+
- Update casesplit plugin (@Avi-D-coder)
61120

62121
### 0.0.29
63122

64-
* bump protocol version to 3.15 (prerelease) (@alanz)
65-
* upgrade deps, including avoiding vulnerabilities on lodash (@alanz)
66-
* warn about compile time and wrapped hie (@janat08)
123+
- bump protocol version to 3.15 (prerelease) (@alanz)
124+
- upgrade deps, including avoiding vulnerabilities on lodash (@alanz)
125+
- warn about compile time and wrapped hie (@janat08)
67126

68127
### 0.0.28
69128

70-
* remove unused `lsp` flag (@bubba)
71-
* do not start `hie` if `hie-wrapper` crashes (@bubba)
72-
* Expose diagnosticsOnChange option for settings (Frederik Ramcke)
73-
* Avoid CVE on `extend` package
74-
* Enable displaying window progress (@bubba)
129+
- remove unused `lsp` flag (@bubba)
130+
- do not start `hie` if `hie-wrapper` crashes (@bubba)
131+
- Expose diagnosticsOnChange option for settings (Frederik Ramcke)
132+
- Avoid CVE on `extend` package
133+
- Enable displaying window progress (@bubba)
75134

76135
### 0.0.27
77136

78-
* Re-enable search feature for documentation (@anonimitoraf)
137+
- Re-enable search feature for documentation (@anonimitoraf)
79138
Accesed via `ctrl-f`.
80139

81140
### 0.0.26
82141

83-
* Show documentation content using Webview API (@EdAllonby)
84-
* npm audit fix (@alanz)
142+
- Show documentation content using Webview API (@EdAllonby)
143+
- npm audit fix (@alanz)
85144

86145
### 0.0.25
87146

88-
* Add vsce dependency to "Contributing" document (@EdAllonby)
89-
* Add formatterProvider config (@bubba)
90-
* Bugfix for stack version on windows (@beauzeaux)
91-
* Update settings to match hie version 0.7.0.0 (@alanz)
92-
* npm audit fix (@bubba)
147+
- Add vsce dependency to "Contributing" document (@EdAllonby)
148+
- Add formatterProvider config (@bubba)
149+
- Bugfix for stack version on windows (@beauzeaux)
150+
- Update settings to match hie version 0.7.0.0 (@alanz)
151+
- npm audit fix (@bubba)
93152

94153
### 0.0.24
95154

96-
* Add snippet config option (@bubba)
155+
- Add snippet config option (@bubba)
97156

98157
### 0.0.23
99158

100-
* Fix multi-process issue, where vscode would launch multiple hie instances.
159+
- Fix multi-process issue, where vscode would launch multiple hie instances.
101160
By @kfigiela
102161

103162
### 0.0.22
104163

105-
* Add configuration option to enable liquid haskell processing. This
164+
- Add configuration option to enable liquid haskell processing. This
106165
is a preview feature of hie from
107166
ca2d3eaa19da8ec9d55521b461d8e2e8cffee697 on 2019-09-05.
108167

109168
### 0.0.21
110169

111-
* Remove languageServerHaskell.useHieWrapper, We now use hie-wrapper
170+
- Remove languageServerHaskell.useHieWrapper, We now use hie-wrapper
112171
by default.
113-
* Update the vscode-languageclient to v4.4.0
114-
* Fix #98 Import identifier insertion line `moduleLine` is now the
172+
- Update the vscode-languageclient to v4.4.0
173+
- Fix #98 Import identifier insertion line `moduleLine` is now the
115174
first line that is (trimmed) `where` or ends with `where` or ends
116175
with `)where`. (@mpilgrem)
117176

118177
### 0.0.20
119178

120-
* Add the case-split function (@txsmith). Required hie >= 0.2.1.0
121-
* Update the vscode-languageclient to v4.2.0 (@Bubba)
122-
* Use the hie-wrapper executable now installed with hie to choose the
179+
- Add the case-split function (@txsmith). Required hie >= 0.2.1.0
180+
- Update the vscode-languageclient to v4.2.0 (@Bubba)
181+
- Use the hie-wrapper executable now installed with hie to choose the
123182
right version of hie to use for the given project.
124183

125184
### 0.0.19
126185

127-
* Fix hie launch on windows with logging off (#90). Thanks @Tehnix.
186+
- Fix hie launch on windows with logging off (#90). Thanks @Tehnix.
128187

129188
### 0.0.18
130189

131-
* Support GHC 8.4.3 in the wrapper file
132-
* The `languageServerHaskell.trace.server` parameter now affects
190+
- Support GHC 8.4.3 in the wrapper file
191+
- The `languageServerHaskell.trace.server` parameter now affects
133192
`/tmp/hie.log`, as well as ghc-mod `--vomit` output.
134-
* Add an Import identifier command, by @chrismwendt
193+
- Add an Import identifier command, by @chrismwendt
135194

136195
### 0.0.17
137196

138-
* Support GHC 8.4.2 in the wrapper file
139-
* Update dependencies to avoid security vulnerability.
140-
* Use os.tmpdir() for the hie.log file
197+
- Support GHC 8.4.2 in the wrapper file
198+
- Update dependencies to avoid security vulnerability.
199+
- Use os.tmpdir() for the hie.log file
141200

142201
### 0.0.15
143202

0 commit comments

Comments
 (0)