Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time

Change Log

v0.2.3

  • Security fix: A ghcSimple.replCommand configuration 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. path configurations in hie.yaml should 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.md has been moved to the wiki. This was to make it easier to edit and manage.
  • The configuration ghcSimple.workspaceType is 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+enter from being used with the search bar.
  • Dependency updates and other minor fixes and improvements

v0.1.22

  • Reloads are now done with :reload when possible to greatly improve speed.
  • -fno-code is 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) :doc output is available in completion and hover. Thanks to EduardSergeev for the contribution.
  • (#27, #36) Now when loading modules -fno-code is always used, and just before a REPL run either -fbyte-code (default) or -fobject-code is used to load the modules (configurable per workspace and per REPL block. See README).
  • (#58) You can customize the GHC prefix 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 --stdout with stack 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

  • (#50,#47) Clean stack output on Windows. Workaround for some issues while reading stack's output.

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.replCommand and ghcSimple.replScope override the now deprecated ghcSimple.workspaceType and provide more control over how GHCi is started.
  • Minor fixes including:

v0.1.10

  • Large projects where :all-types take 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 .lhs files.
  • 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

v0.1.2

  • Fix parsing of single-line warnings

v0.1.1

  • (#7) Some flags like -Werror=no-home-modules or -fhide-source-paths break vscode-ghc-simple. This has been worked around.
  • Now vscode-ghc-simple will use -fobject-code to speed up reloads of modules. You can disable this by changing the option ghcSimple.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 targets emits warnings. Thanks to EduardSergeev for this pull request.
    • Type query now uses :all-types to find the range only, and uses :type-at to 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.

v0.0.10

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 stack and cabal workspaces.
  • Check all Haskell files on extension startup.

v0.0.6

  • Added 'go to definition' support.
  • Other minor enhancements.

v0.0.5

  • Improvements to stack workspaces, including:
    • Loading all targets with stack repl so tests and benchmarks code will work
    • Using --no-load to improve GHCi startup time.
  • Some internal code cleanup.

v0.0.4

  • Show :info for 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