Comments (7)
I see this eventually being handled on the server side. But in the interim the low hanging fruit is to do it in the client, like the hlint on/off setting
from vscode-haskell.
Do you want it to be similar to hlintOn
in https://github.com/alanz/vscode-hie-server/blob/master/package.json#L79 ? Note that we can define enums in JSON schema.
from vscode-haskell.
I was wondering, as to make as little coupling to any editor, would it make sense for hie
itself actually be a wrapper for hie-x.y.z
, which is tied to the GHC version it was built for? Then hie
would do its best to hit the right GHC version and then tunnel everything to that binary, while the editor configuration would then be for forcing a particular version? π€
My goal is in general to pack as much of the functionality in hie itself, so we don't loose any of the advantage we are seeing of editor plugins for hie being little more than "how to start the executable in with this particular LSP plugin".
from vscode-haskell.
I'll take a look
from vscode-haskell.
Wouldn't providing a package and requiring it to be built locally with stack
solve this issue? If it's included in the stack snapshots it'd choose the right package automatically. Is it because we shouldn't assume someone uses stack?
from vscode-haskell.
I don't see how inclusion in stack snapshot helps us. And there are custom/local snapshots. And we need one hie per GHC. Requiring to rebuild hie whenever I change 9.14 to 9.15 and accumulation of some 20 versions of statically linked hie.exe and its dependencies are not good either.
from vscode-haskell.
Closed (as good enough) via haskell/haskell-ide-engine#447 and #41
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
- HLS won't start without all plugins HOT 7
- 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.