Skip to content

Commit ffacc32

Browse files
authored
Merge branch 'master' into master
2 parents f2c92bc + 59eb8df commit ffacc32

22 files changed

+1646
-1290
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: 91 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,52 @@
1+
### 1.0.1
2+
3+
- Switch the default formatter to Ormolu to match haskell-language-server
4+
- Fix `haskell.serverExecutablePath` not working with absolute paths on Windows
5+
(@winestone)
6+
- Improve the help text and error message when `haskell.serverExecutablePath`
7+
is not found
8+
- Fix the rendering of the markdown table in the README (@Darren8098)
9+
10+
### 1.0.0
11+
12+
- vscode-haskell now lives under the Haskell organisation
13+
- Can now download zip archived binaries, which the Windows binaries are now distributed as
14+
- Improve README (@pepeiborra @jaspervdj)
15+
16+
### 0.1.1
17+
18+
- Fix the restart server and import identifier commands
19+
20+
### 0.1.0
21+
22+
`vscode-hie-server`/`Haskell Language Server` is now just Haskell, and will soon
23+
be published under the Haskell organisation as `haskell-vscode`.
24+
This release makes haskell-language-server the default langauge server of choice
25+
and automatically downloads and installs binaries. Installation from source is
26+
still supported though and any binaries located on your PATH for the selected
27+
langauge server will be used instead.
28+
29+
#### Important!
30+
31+
As part of this, your configuration may be reset as the keys move from
32+
`languageServerHaskell.completionSnippetsOn` to `haskell.completionSnippetsOn`.
33+
34+
- Fix the document and source browser
35+
- Remove obselete commands that are no longer supported by any of the language
36+
servers
37+
- Show type command
38+
- Insert type command
39+
- HaRe commands
40+
- Case split commands
41+
142
### 0.0.40
243

344
Change the way the backend is configured, simplifying it.
445

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

1051
### 0.0.39
1152

@@ -19,125 +60,125 @@ Bump dependencies
1960

2061
Trying again, working 0.0.35
2162

22-
* Add Restart command (@gdziadkiewicz)
23-
* Add Ormolu as a formatter option (@DavSanchez)
24-
* Update README
63+
- Add Restart command (@gdziadkiewicz)
64+
- Add Ormolu as a formatter option (@DavSanchez)
65+
- Update README
2566

2667
### 0.0.36
2768

28-
* Roll back to 0.0.34
69+
- Roll back to 0.0.34
2970

3071
### 0.0.35
3172

32-
* Add Restart command (@gdziadkiewicz)
33-
* Add Ormolu as a formatter option (@DavSanchez)
34-
* Update README
73+
- Add Restart command (@gdziadkiewicz)
74+
- Add Ormolu as a formatter option (@DavSanchez)
75+
- Update README
3576

3677
### 0.0.34
3778

38-
* Remove --lsp parameter from hie-vscode.bat
79+
- Remove --lsp parameter from hie-vscode.bat
3980

4081
### 0.0.33
4182

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

4687
### 0.0.32
4788

48-
* Re-enable the `--lsp` flag for the hie server
49-
* Update some deps for security vulnerabilities
89+
- Re-enable the `--lsp` flag for the hie server
90+
- Update some deps for security vulnerabilities
5091

5192
### 0.0.31
5293

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

5596
### 0.0.30
5697

57-
* Bundle using webpack (@chrismwendt)
58-
* Bump protocol version to 3.15 prerelease (@alanz)
98+
- Bundle using webpack (@chrismwendt)
99+
- Bump protocol version to 3.15 prerelease (@alanz)
59100
This allows working progress reporting from hie.
60-
* Update casesplit plugin (@Avi-D-coder)
101+
- Update casesplit plugin (@Avi-D-coder)
61102

62103
### 0.0.29
63104

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)
105+
- bump protocol version to 3.15 (prerelease) (@alanz)
106+
- upgrade deps, including avoiding vulnerabilities on lodash (@alanz)
107+
- warn about compile time and wrapped hie (@janat08)
67108

68109
### 0.0.28
69110

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)
111+
- remove unused `lsp` flag (@bubba)
112+
- do not start `hie` if `hie-wrapper` crashes (@bubba)
113+
- Expose diagnosticsOnChange option for settings (Frederik Ramcke)
114+
- Avoid CVE on `extend` package
115+
- Enable displaying window progress (@bubba)
75116

76117
### 0.0.27
77118

78-
* Re-enable search feature for documentation (@anonimitoraf)
119+
- Re-enable search feature for documentation (@anonimitoraf)
79120
Accesed via `ctrl-f`.
80121

81122
### 0.0.26
82123

83-
* Show documentation content using Webview API (@EdAllonby)
84-
* npm audit fix (@alanz)
124+
- Show documentation content using Webview API (@EdAllonby)
125+
- npm audit fix (@alanz)
85126

86127
### 0.0.25
87128

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)
129+
- Add vsce dependency to "Contributing" document (@EdAllonby)
130+
- Add formatterProvider config (@bubba)
131+
- Bugfix for stack version on windows (@beauzeaux)
132+
- Update settings to match hie version 0.7.0.0 (@alanz)
133+
- npm audit fix (@bubba)
93134

94135
### 0.0.24
95136

96-
* Add snippet config option (@bubba)
137+
- Add snippet config option (@bubba)
97138

98139
### 0.0.23
99140

100-
* Fix multi-process issue, where vscode would launch multiple hie instances.
141+
- Fix multi-process issue, where vscode would launch multiple hie instances.
101142
By @kfigiela
102143

103144
### 0.0.22
104145

105-
* Add configuration option to enable liquid haskell processing. This
146+
- Add configuration option to enable liquid haskell processing. This
106147
is a preview feature of hie from
107148
ca2d3eaa19da8ec9d55521b461d8e2e8cffee697 on 2019-09-05.
108149

109150
### 0.0.21
110151

111-
* Remove languageServerHaskell.useHieWrapper, We now use hie-wrapper
152+
- Remove languageServerHaskell.useHieWrapper, We now use hie-wrapper
112153
by default.
113-
* Update the vscode-languageclient to v4.4.0
114-
* Fix #98 Import identifier insertion line `moduleLine` is now the
154+
- Update the vscode-languageclient to v4.4.0
155+
- Fix #98 Import identifier insertion line `moduleLine` is now the
115156
first line that is (trimmed) `where` or ends with `where` or ends
116157
with `)where`. (@mpilgrem)
117158

118159
### 0.0.20
119160

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
161+
- Add the case-split function (@txsmith). Required hie >= 0.2.1.0
162+
- Update the vscode-languageclient to v4.2.0 (@Bubba)
163+
- Use the hie-wrapper executable now installed with hie to choose the
123164
right version of hie to use for the given project.
124165

125166
### 0.0.19
126167

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

129170
### 0.0.18
130171

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

136177
### 0.0.17
137178

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
179+
- Support GHC 8.4.2 in the wrapper file
180+
- Update dependencies to avoid security vulnerability.
181+
- Use os.tmpdir() for the hie.log file
141182

142183
### 0.0.15
143184

0 commit comments

Comments
 (0)