Comments (7)
@Swoorup Could you use the general command "Reload Window" (by default bint to ctrl + R
) as workaround?
from vscode-haskell.
@jneira Can confirm that works as a workaround.
Will use that for now. Just an FYI, there are other LanguageServer that has this feature as well.
from vscode-haskell.
I'd very much like this too, but haven't been able to find anything in the VSCode LSP that would allow that. If anyone can point me to somewhere in the documentation where it says something about stopping and starting the server again, I'd be fine with giving it a stab :)
from vscode-haskell.
Simplest is just to kill the server, vscode
is quite good at restarting if it disappears.
And we do
get the process id back. Because having recently got this in emacs (emacs-lsp/lsp-mode#290, for me anyway), I can testify to its usefulness.
from vscode-haskell.
If it restarts on it's own, I guess we could add a command to send a kill signal to hie via VSCode? I can look into a PR if it's worth investigating further :)
from vscode-haskell.
the ability to restart the HIE would help when the diagnostics are not updated automatically. perhaps simpler but still very helpful would be a way to see which pid
the HIE
thread has (the one for this vs code terminal
-- there are typically several ones)
from vscode-haskell.
π for this. I would like restart feature especially in cases when I add new stack packages and HIE isn't able to update its internal definition. A restart would solve this for now.
from vscode-haskell.
Related Issues (20)
- Release branch management
- βGHC ABIs donβt match!β HOT 13
- Cannot start language server on MacOS "Invalid Byte Sequence" HOT 9
- "Couldn't execute ghc --numeric-version" with latest VS Code HOT 1
- Support projects in subfolders HOT 5
- A setting for additional cabal command line arguments HOT 3
- error when building: withBinaryFile: inappropriate type (not a ghc-pkg db file, wrong file magic number) HOT 1
- Add quicklinks to tool notification bat
- TSLint is deprecated HOT 1
- Cannot use HLS 2.5.0.0 HOT 1
- ghcup --no-verbose upgrade` exited with exit code 1. HOT 2
- Basic support for vscode for web or github.dev HOT 1
- Shortcut to evaluate code lenses HOT 2
- Changes to cabal file is lost when saving using default formatter haskell.haskell and formatOnSave=true HOT 8
- language server restarting is always very slow on MacOS 2.6 GHz 6-Core Intel Core i7 HOT 1
- Add ghcup to PATH automatically HOT 13
- VScode doesn't recognize HLS installation HOT 2
- Variable not in scope HOT 3
- Could not find module HOT 3
- `stack clean` Command Fails After Opening Generated `Main.hs` File in VSCode
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-haskell.