Git Product home page Git Product logo

Comments (7)

alanz avatar alanz commented on June 7, 2024 2

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.

nponeccop avatar nponeccop commented on June 7, 2024

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.

Tehnix avatar Tehnix commented on June 7, 2024

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.

nponeccop avatar nponeccop commented on June 7, 2024

I'll take a look

from vscode-haskell.

stellarhoof avatar stellarhoof commented on June 7, 2024

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.

nponeccop avatar nponeccop commented on June 7, 2024

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.

alanz avatar alanz commented on June 7, 2024

Closed (as good enough) via haskell/haskell-ide-engine#447 and #41

from vscode-haskell.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.