Skip to content

Releases: EduardSergeev/vscode-haskutil

Sort imported element lists on `Organize imports` (#89)

23 Jun 02:36
b8e60d2
Compare
Choose a tag to compare
  • Changed:
    • Organize imports can now also sort imported element lists (closes: #86):
      When sorting import declaration if new configuration options "haskutil.sortImportedElementLists" is set to true (default value)
    • An option to place operators at the end of imported element lists (closes: #88):
      When inserting new elements via Add import or sorting imported elements when via Organize imports operators can now be optionally placed after other type of elements, i.e. after functions, constructors or types.
      This behavior is controlled via new configuration setting "haskutil.placeOperatorsAfterFunctions" which is set to false by
      default
    • Switch to c8 for code coverage (fixes: #87)

`Add import` quick fix provider bug fixes (#82)

19 Jun 01:40
3479e69
Compare
Choose a tag to compare
  • Fixed:
    • Add import action's handling of operators containing . (dot) (fixes #80):
      Previously no quick fix action was emitted for such operators (e.g. (.&.) or (.=))
    • Add import action's handling of names containing ' (single quote) (fixes #81):
      Previously no quick fix action was emitted for such names (e.g. foldl')

Various bug fixes (#78)

19 May 04:46
0b80fe5
Compare
Choose a tag to compare
  • Fixed:
    • "Remove unused imports" when import declaration contains elements with (..) (Closes #40):
      Fix behaviour of RemoveUnusedImportProvider in regards to removal from import lists containing elements with export lists, e.g. Sum(..) or Sum(fromSum);
    • "Replace wildcard" under GHC 9.6.5 (Closes #79):
      Fix TypeWildcardProvider behavior when running with latest GHC by handling changes in corresponding GHC error message format;
  • Changed:
    • Switch branch CI build to run tests against the latest GHC:
      Since #79 is now fixed

Fix intermittent `Cancelled` tests failure

11 May 00:08
7d70145
Compare
Choose a tag to compare
  • Fixed:
    • Fix Cancelled test failures:
      The intermittent test failures which output "Cancelled" in failure stack trace.
      More like a hack at this point but adding Sleep in test initialisation function seems to fixes this issue. Looks like VSCode + extension(s) need some time to initialise properly but I could not find any suitable event for that to wait for instead.
    • Fix CHANGELOG formatting
      Minor fix of the previous release

Add Purple Yolk extension as supported dependency + CI fixes

09 May 02:17
b5ac0d4
Compare
Choose a tag to compare
  • Added:
  • Purple Yolk extension is
    added to the list of haskutil.supportedDependencies:
    (#73 -
    thanks to Taylor Fausak for contribution)
  • Fixed:
    • Fix CI on MacOS:
      Haskell Stack was apparently removed from macos-latest runner image so
      now we have to install manually
    • Fix tests on Windows:
      Use this
      workaround

      to fix tests on Windows

Haskutil icon

09 Sep 02:15
e8b8e6b
Compare
Choose a tag to compare
  • Added:
    • Extension icon:
      Haskutil-logo

Supported extension view link

30 Aug 23:54
4ab528e
Compare
Choose a tag to compare
  • Changed:
    • Use command-links for links to other extensions:
      In Dependency is not installed warning message notification
      Instead of linking to extension's Marketplace page link to VSCode EXTENSIONS view focused to the linked extension via workbench.extensions.search command-link

Fix `CHANGELOG`

30 Aug 02:21
c226230
Compare
Choose a tag to compare
  • Fixed:
    • CHANGELOG:
      Add change log for version 0.12.1

Configurable list of supported extensions

30 Aug 00:20
7cf14df
Compare
Choose a tag to compare
  • Added:
    • haskutil.supportedDependencies configuration option:
      On start up the extension checks if there is any extension from this list which is installed. If not and haskutil.checkDiagnosticsExtension is set to true a warning window will be displayed on start up.

Various fixes

27 Aug 04:14
b770082
Compare
Choose a tag to compare
  • Fixed:
    • OrganizeExtensionProvider: false positive of Extension are unorganised
      Aligned extension were incorrectly detected as being not aligned
    • ImportProvider: Organize imports behaviour on Windows
      Fix invalid parsing of imports in file with \r\n (Windows) line ending
      As a result applying Organize imports would previously lead to corrupted imports
    • Fail CI build in case of test failure:
      Previously build would still be green even if some of the test were failing