Requesting feedback for vgs-bios #87
dramforever
started this conversation in
New feature
Replies: 2 comments
-
I haven't tested this, but implicit-hie might be able to generate an |
Beta Was this translation helpful? Give feedback.
0 replies
-
Manual testing seems to indicate that most things are working as intended. I think this is as much feedback as I'm going to get just asking around. Let's ship it! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Inspired by hie-bios, vgs-bios is a work-in-progress implementation of a similar functionality for vscode-ghc-simple (hence 'vgs'). See this pull request: #89.
If successful, this feature will solve many of the long standing issues regarding the extension being unable to handle multiple packages/components. See the corresponding project for a list.
If you are a user of vscode-ghc-simple, please consider testing it to see if they work for you, especially if you have multi-component/multi-package projects that did not work in the past. Any feedback is welcome; please post them to the [issues section]. This feature is experimental and work-in-progress, and I do not really know what is the best way to test this myself.
How do I get a version with vgs-bios
Update vscode-ghc-simple v0.2.0 was released with vgs-bios. By the time you read this, it should be on the marketplace.
How do I use vgs-bios
Using
hie.yaml
Create a file called
hie.yaml
, and configure it based on hie-bios documentation.Examples taken from hie-bios documentation, shortened for breivity:
We currently support basic features of
stack
andcabal
cradles. See below for details.Using
replCommand
If you were using the configuration
ghcSimple.replCommand
, it should still work. But it will not handle multi-component/multi-package correctly.Implicit configuration
If you specify neither of the above, your project may work anyway, but multi-component and/or multi-package projects may have issues.
Unsupported:
workspaceType
ghcSimple.workspaceType
was deprecated and now has no effect. Please consider other options. You will be shown a warning if a setghcSimple.workspaceType
is detected and will be prompted to remove it.What features are there?
This list of supported project types is also the priority of various configurations, from highest to lowest:
replCommand
hie.yaml
-compatible configurationcabal
cradlestack
cradlemulti
cradlebios
cradlestackYaml
components
dependencies
optioncradle: cabal:
andcradle: stack:
without further configurationcabal repl
andstack repl
respectively. Detection of components is not supported with this approach.ghcid
-compatible configuration.ghcid
stack
projectscabal
projectsbare
projects, withstack exec ghci
orghci
Some other features:
Beta Was this translation helpful? Give feedback.
All reactions