Releases: haskell/vscode-haskell
Releases · haskell/vscode-haskell
1.8.0
1.8.0
This release includes some interesting new features:
- You can now pass custom environment variables to the lsp server
with thehaskell.serverEnvironment
config option per project basis,
thanks to @jacobprudhomme.- For example:
"haskell.serverEnvironment": { "XDG_CACHE_HOME": "/path/to/my/cache" }
- For example:
- With this version the extension will try to use the newer lsp server version
which supports the ghc used by the project being loaded, thanks to @mduerig- WARNING: This will suppose it will use an older version than the latest one,
without its features and bug fixes.
- WARNING: This will suppose it will use an older version than the latest one,
- The extension has lot of more log traces now, which hopefully will help to
identify the cause of issues
What's Changed
- Setup the test suite by @jneira in #475
- Add integration smoke test by @jneira in #481
- Improve serverExecutablePath description and error when pointing to a directory by @jneira in #484
- Bump versions of ts, cheerio, mocha by @jneira in #485
- Fix error handling of server exec discovery in windows by @jneira in #486
- Reorganize README by @jneira in #491
- Pass environment variables to LSP by @jacobprudhomme in #494
- Trace environment variables by @jneira in #495
- Fix ci: ensure we have a supported ghc version in PATH by @jneira in #496
- support old hls versions compatible with the requested ghc version by @mduerig in #506
- Add traces for download hls by @jneira in #508
- Update issue templates by @jneira in #509
- Fix hole_severity option: Use integer instead of string by @mirko-plowtech in #511
- Update supported ghc versions for hls-1.5.1 by @jneira in #514
- Prepare 1.8.0 by @jneira in #515
New Contributors
- @jacobprudhomme made their first contribution in #494
- @mduerig made their first contribution in #506
- @mirko-plowtech made their first contribution in #511
Full Changelog: 1.7.1...1.8.0
1.7.1
1.7.0
1.7.0
- Add an option to set server command line arguments thanks to @cdsmith #464
- It includes a new config option
haskell.serverExtraArgs
to being able to pass extra argument to the lsp server executable
- It includes a new config option
- Update config options to match last haskell-language-server version #463
- It removes
haskell.diagnosticsOnChange
andhaskell.formatOnImportOn
cause they were unused in the server - It adds
haskell.checkProject
,haskell.maxCompletions
andhaskell.plugin.refineImports.globalOn
- It removes
- Fix showDocumentation command thanks to @pranaysashank #452
- It fixes partially showing the documentation directly in vscode. The documentation is rendered but internal links still does not work
- Two config options has been added:
haskell.openDocumentationInHackage
andhaskell.openSourceInHackage
with default valuetrue
- So documentation will be opened using the hackage url in an external navigator by default
- If you prefer having them in vscode you will need to change them to
false
- Create output channel only if there are no existing clients thanks to @pranaysashank #448
- This fixes the creation of several output channels for the extension
1.6.1
1.6.0
- Bump up vscode version to 1.52.0 (#424) by @berberman
- To match the lsp spec version used in haskell-language-version and fix haskell/haskell-language-server#2068
1.5.1
- Add much more logging in the client side, configured with
haskell.trace.client
- Fix error handling of working out project ghc and a bug when the path to the executable contains spaces (See #421)
- And dont use a shell to spawn the subprocess in non windows systems
- Show the progress as a cancellable notification
- Add commands
Start Haskell LSP server
andStop Haskell LSP server
1.5.0
- Emit warning about limited support for ghc-9.x on hls executable download
- Fix working out project ghc progress notificacion
- Fix tactics config, thanks to @isovector
- Update server config to match haskell-language-server-1.3.0 one
1.2.0
- Add option to open local documentation on Hackage (@DunetsNM)
- Add
haskell.updateBehaviour
option to configure when to check for updates
(@WorldSEnder) - Use locally installed servers on connection failure (@WorldSEnder)
1.1.0
- Add Fourmolu as a plugin formatter provider (@georgefst)
- Remove the
haskell.enable
configuration option, since VS Code now allows
you to disable extensions on a per workspace basis - Display errors when fetching from the GitHub API properly
1.0.1
- Switch the default formatter to Ormolu to match haskell-language-server
- Fix
haskell.serverExecutablePath
not working with absolute paths on Windows
(@winestone) - Improve the help text and error message when
haskell.serverExecutablePath
is not found - Fix the rendering of the markdown table in the README (@Darren8098)