Skip to content

Commit 1e2ae11

Browse files
authored
Merge pull request #253 from bubba/rename
Rename vscode-hie-server to haskell
2 parents 610e8b2 + ed1df94 commit 1e2ae11

File tree

7 files changed

+22
-21
lines changed

7 files changed

+22
-21
lines changed

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ deploy:
4545
script: vsce publish -p $VS_CODE
4646
skip_cleanup: true
4747
on: # Publish on all builds on master branch.
48-
repo: alanz/vscode-hie-server
48+
repo: haskell/vscode-haskell
4949
branch: master
5050
tags: true
5151
condition: $TRAVIS_OS_NAME = linux
@@ -54,7 +54,7 @@ deploy:
5454
# file: "*.vsix"
5555
# skip_cleanup: true
5656
# on: # Due to a limitation with releases, we can only deploy them on tags.
57-
# repo: alanz/vscode-hie-server
57+
# repo: haskell/vscode-haskell
5858
# branch: master
5959
# tags: true
6060
# condition: $TRAVIS_OS_NAME = linux

Contributing.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,15 @@ Run `npm install` in the project root to install the development dependencies.
77
You can also package up the extension with
88

99
- `npm install -g vsce` to get the Extension Manager,
10-
- `vsce package` which creates an extension package at `vscode-hie-server-<version>.vsix`.
10+
- `npm install` to build the extension
11+
- `vsce package` which creates an extension package at `haskell-<version>.vsix`.
1112

1213
_Note:_ that if you get errors running `vsce package`, it might help running `tsc -p ./` directly, since that gives the actual error output of the TypeScript compilation.
1314

1415
## Developing inside VS Code
1516

16-
- Launch VS Code, press `File` > `Open Folder`, open the `vscode-hie-server` folder;
17-
- press `F5` to open a new window with the `vscode-hie-server` loaded (this will overwrite existing ones, e.g. from the marketplace);
17+
- Launch VS Code, press `File` > `Open Folder`, open the `vscode-haskell` folder;
18+
- press `F5` to open a new window with the `vscode-haskell` loaded (this will overwrite existing ones, e.g. from the marketplace);
1819
- open a Haskell file with the **new** editor to test the LSP client;
1920

2021
You are now ready to make changes and debug. You can,

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ its dependencies have been built with the `-haddock` GHC flag.
8585
This extension will download `haskell-language-server` binaries to a specific location depending on your system. If you find yourself running out of disk space, you can try deleting old versions of language servers in this directory. The extension will redownload them, no strings attached.
8686
| Platform | Path |
8787
|----------|------|
88-
| macOS | `~/Library/Application\ Support/Code/User/globalStorage/alanz.vscode-hie-server/` |
89-
| Windows | `%APPDATA%\Code\User\globalStorage\alanz.vscode-hie-server` |
90-
| Linux | `$HOME/.config/Code/User/globalStorage/alanz.vscode-hie-server` |
88+
| macOS | `~/Library/Application\ Support/Code/User/globalStorage/haskell.haskell/` |
89+
| Windows | `%APPDATA%\Code\User\globalStorage\haskell.haskell` |
90+
| Linux | `$HOME/.config/Code/User/globalStorage/haskell.haskell` |
9191
9292
Note that if `haskell-language-server-wrapper`/`haskell-language-server` is already on the PATH, then the extension will launch it directly instead of downloading binaries.
9393
@@ -173,8 +173,8 @@ Please include the output when filing any issues on the relevant language server
173173

174174
## Contributing
175175

176-
If you want to help, get started by reading [Contributing](https://github.com/alanz/vscode-hie-server/blob/master/Contributing.md) for more details.
176+
If you want to help, get started by reading [Contributing](https://github.com/haskell/vscode-haskell/blob/master/Contributing.md) for more details.
177177

178178
## Release Notes
179179

180-
See the [Changelog](https://github.com/alanz/vscode-hie-server/blob/master/Changelog.md) for more details.
180+
See the [Changelog](https://github.com/haskell/vscode-haskell/blob/master/Changelog.md) for more details.

default.nix

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{ pkgs ? import <nixpkgs> {} }:
22
with pkgs;
33
pkgs.mkYarnPackage {
4-
name = "vscode-hie-server";
4+
name = "vscode-haskell";
55
src = ./.;
66
packageJSON = ./package.json;
77
yarnLock = ./yarn.lock;
88

99
installPhase = ''
1010
mkdir -p "$out/dist"
1111
yarn vscode:prepublish --output-path "$out/dist"
12-
mv deps/vscode-hie-server/{package.json,hie-vscode.sh,hie-vscode.bat} "$out"
12+
mv deps/vscode-haskell/{package.json,hie-vscode.sh,hie-vscode.bat} "$out"
1313
'';
1414

1515
distPhase = ''

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
2-
"name": "vscode-hie-server",
2+
"name": "haskell",
33
"displayName": "Haskell",
44
"description": "Haskell language support powered by the Haskell Language Server, ghcide or HIE",
5-
"version": "0.1.1",
5+
"version": "1.0.0",
66
"license": "MIT",
7-
"publisher": "alanz",
7+
"publisher": "haskell",
88
"engines": {
99
"vscode": "^1.39.0"
1010
},
@@ -16,13 +16,13 @@
1616
"lsp",
1717
"multi-root ready"
1818
],
19-
"homepage": "https://github.com/alanz/vscode-hie-server",
19+
"homepage": "https://github.com/haskell/vscode-haskell",
2020
"repository": {
2121
"type": "git",
22-
"url": "https://github.com/alanz/vscode-hie-server.git"
22+
"url": "https://github.com/haskell/vscode-haskell.git"
2323
},
2424
"bugs": {
25-
"url": "https://github.com/alanz/vscode-hie-server/issues"
25+
"url": "https://github.com/haskell/vscode-haskell/issues"
2626
},
2727
"categories": [
2828
"Programming Languages",

src/utils.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { createGunzip } from 'zlib';
1212
/** When making http requests to github.com, use this header otherwise
1313
* the server will close the request
1414
*/
15-
export const userAgentHeader = { 'User-Agent': 'vscode-hie-server' };
15+
export const userAgentHeader = { 'User-Agent': 'vscode-haskell' };
1616

1717
/** downloadFile may get called twice on the same src and destination:
1818
* When this happens, we should only download the file once but return two

0 commit comments

Comments
 (0)