Change Log
v0.2.3
- Security fix: A
ghcSimple.replCommandconfiguration must be explicitly trusted by the user. Both the command and the workspace path have to match for it to be considered the same as a configuration trusted before. Otherwise, a malicious workspace could set it to an arbitrary command and the user would unknowingly run this command when a Haskell file is opened. Thanks to RyotaK for discovering this. - (#91) Fix path handling on Windows with New BIOS.
pathconfigurations inhie.yamlshould now work as intended. - Other minor fixes.
v0.2.2
- Fix an off-by-one error in range types.
v0.2.1
- Fix a bug when sometimes diagnostics squiggles are put at the wrong position.
v0.2.0
(#89) Big update: New BIOS is now available. Multi-component/multi-package projects are now supported through hie.yaml, the same configuration file used for hie-bios. Check out the wiki page Project Configuration for details.
Other notable
- Much of the documentation that was in
README.mdhas been moved to the wiki. This was to make it easier to edit and manage. - The configuration
ghcSimple.workspaceTypeis now removed and has no effect. Please check the FAQ for help on migration.
v0.1.24
- (#88) Work around cases where GHC prints diagnostics with column number 0. Thanks to agocorona for reporting this issue.
v0.1.23
- (#81) Opening a file without a workspace honors
ghcSimple.replCommand. Thanks to EduardSergeev for the contribution. - (#85) Running inline REPL now loads the module in which the code block is located. Should mean less confusing behavior. If before you get strange issues with variables not found, and it is worked around by making a random edit to the file, this should fix this problem for you.
- (#83) The extension no longer blocks
shift+enterfrom being used with the search bar. - Dependency updates and other minor fixes and improvements
v0.1.22
- Reloads are now done with
:reloadwhen possible to greatly improve speed. -fno-codeis no longer used for loading since it doesn't seem to do any good.- Fix rare case where warning without corresponding flag breaks diagnostics.
v0.1.21
- Warnings are no longer duplicated. Workaround for GHC issue #18068.
- Extension will now only automatically restart GHCi sessions based on settings change if the change is related to this extension.
- Extension will no longer report failure when GHCi sessions are being restarted.
- Status bar activity indicator is more reliable.
- Other minor fixes and improvements.
v0.1.20
- (#12, #59, #60)
:docoutput is available in completion and hover. Thanks to EduardSergeev for the contribution. - (#27, #36) Now when loading modules
-fno-codeis always used, and just before a REPL run either-fbyte-code(default) or-fobject-codeis used to load the modules (configurable per workspace and per REPL block. See README). - (#58) You can customize the
GHCprefix in the status bar indicator. - Workaround for stack unable to start on Windows.
- Other minor fixes and improvements.
v0.1.19
- Better icon. Geometrically derived from the logo on https://haskell.org using Inkscape, instead of the old mixture of eye-measured lines and manually painted background.
- (#54) Stack setup no longer uses
--stdoutwithstack ide targets, making it compatible with older stack versions. - (#55) Status bar indicator for GHC, telling you whether it is busy and what it's doing. Click to show logs.
- Evaluation in GHCi no longer gets deferred type errors.
v0.1.18, v0.1.17
- Nothing on the user side.
- Internal: CI is now based on GitHub Actions. VSCode Marketplace does not allow retracting versions so when errors were made, versions were wasted. Sorry for the inconvenience.
v0.1.16
- (#41) Further possible fix for 'rogue' GHCi processes consuming large amount of CPU and memory resources.
- Internal: Fix warnings about unhandled rejected promises.
v0.1.15
- (#41) Possible fix for 'rogue' GHCi processes consuming large amount of CPU and memory resources.
v0.1.14
v0.1.13
- (#42) Detect current ghci search for go to definition for multi-package setups. By dimsmol
- Filter out 'it' and 'Ghci*.it' in completion results
- Internal: Updated dependencies
v0.1.12
- (#40) Quick fix for a typo for working around stack color output
v0.1.11
- New configuration option
ghcSimple.replCommandandghcSimple.replScopeoverride the now deprecatedghcSimple.workspaceTypeand provide more control over how GHCi is started. - Minor fixes including:
- Avoid truncation of -Werror error messages by rimmington (#38)
- Workaround for stack color output on Windows by 1Computer1 (#37, 32683c2)
v0.1.10
- Large projects where
:all-typestake too long to finish are given a notice. The user is prompted to disable this feature. - Other minor fixes.
v0.1.9
- Minor fixes
v0.1.8
- Rudimentary support for Literate Haskell files. Basically, the extension now 'works' in
.lhsfiles. - Cleaner marking of multi-line expressions in type query.
- Other minor fixes.
v0.1.7
- (#27) Fix configuration handling
- (#28) Fix handling files without workspace folder
- Fix multi-root workspace type detection
v0.1.6
- Fix inline REPL when the user types too fast and code lenses haven't updated yet.
v0.1.5
- Minor fixes.
v0.1.4
- New feature: inline REPL. Run Haddock REPL comments in your file in a single click.
- Other minor enhancements and fixes.
v0.1.3
- (#25, #26) Minor fixes. Thanks to edmundnoble and EduardSergeev for the contribution.
v0.1.2
- Fix parsing of single-line warnings
v0.1.1
- (#7) Some flags like
-Werror=no-home-modulesor-fhide-source-pathsbreak vscode-ghc-simple. This has been worked around. - Now vscode-ghc-simple will use
-fobject-codeto speed up reloads of modules. You can disable this by changing the optionghcSimple.useObjectCode. - Other minor enhancements and fixes.
v0.1.0
- (#24, #6) Cabal new-build and v2 support. Thanks to edmundnoble for this pull request.
- Multi-root workspaces support.
- Show references support.
- Other minor enhancements and fixes, including:
- (#18, #13) Extension is more robust when
stack ide targetsemits warnings. Thanks to EduardSergeev for this pull request. - Type query now uses
:all-typesto find the range only, and uses:type-atto find the actual type. This replaces the unneededly complex 'type resolver'. - (#14) Quote file names more carefully to handle paths with spaces.
- (#19) Various features of this extension can be switched off using options.
- (#18, #13) Extension is more robust when
v0.0.10
- (#8) Added dependency on Haskell Syntax Highlighting. Thanks to 2mol for this pull request.
- Added some rudimentary documentation.
v0.0.9
- Add configuration options.
- Other minor fixes.
v0.0.8
- Support cancellation of not yet started commands.
- Fix type query after reload
- Other minor fixes enhancements.
v0.0.7
- Use only one GHCi instance per workspace for
stackandcabalworkspaces. - Check all Haskell files on extension startup.
v0.0.6
- Added 'go to definition' support.
- Other minor enhancements.
v0.0.5
- Improvements to
stackworkspaces, including:- Loading all targets with
stack replso tests and benchmarks code will work - Using
--no-loadto improve GHCi startup time.
- Loading all targets with
- Some internal code cleanup.
v0.0.4
- Show
:infofor completion items - Type query hides when you type
- Type query is also shown on hover; intended to be used for long types
v0.0.3
- Fixed a few problems with type query prettifying
v0.0.2
First significant release, with features:
- Diagnostics
- Completion
- Type query