Releases: EduardSergeev/vscode-haskutil
Releases · EduardSergeev/vscode-haskutil
Sort imported element lists on `Organize imports` (#89)
- Changed:
Organize imports
can now also sort imported element lists (closes: #86):
When sorting import declaration if new configuration options"haskutil.sortImportedElementLists"
is set totrue
(default value)- An option to place operators at the end of imported element lists (closes: #88):
When inserting new elements viaAdd import
or sorting imported elements when viaOrganize 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 tofalse
by
default - Switch to c8 for code coverage (fixes: #87)
`Add import` quick fix provider bug fixes (#82)
- 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)
- Fixed:
- "Remove unused imports" when import declaration contains elements with
(..)
(Closes #40):
Fix behaviour ofRemoveUnusedImportProvider
in regards to removal from import lists containing elements with export lists, e.g.Sum(..)
orSum(fromSum)
; - "Replace wildcard" under GHC 9.6.5 (Closes #79):
FixTypeWildcardProvider
behavior when running with latest GHC by handling changes in corresponding GHC error message format;
- "Remove unused imports" when import declaration contains elements with
- Changed:
- Switch
branch
CI build to run tests against the latest GHC:
Since #79 is now fixed
- Switch
Fix intermittent `Cancelled` tests failure
- Fixed:
- Fix
Cancelled
test failures:
The intermittent test failures which output "Cancelled" in failure stack trace.
More like a hack at this point but addingSleep
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
- Fix
Add Purple Yolk extension as supported dependency + CI fixes
- Added:
- Purple Yolk extension is
added to the list ofhaskutil.supportedDependencies
:
(#73 -
thanks to Taylor Fausak for contribution) - Fixed:
- Fix CI on MacOS:
Haskell Stack was apparently removed frommacos-latest
runner image so
now we have to install manually - Fix tests on Windows:
Use this
workaround
to fix tests on Windows
- Fix CI on MacOS:
Haskutil icon
Supported extension view link
- Changed:
- Use command-links for links to other extensions:
InDependency is not installed
warning message notification
Instead of linking to extension's Marketplace page link to VSCodeEXTENSIONS
view focused to the linked extension viaworkbench.extensions.search
command-link
- Use command-links for links to other extensions:
Fix `CHANGELOG`
- Fixed:
CHANGELOG
:
Add change log for version0.12.1
Configurable list of supported extensions
- Added:
haskutil.supportedDependencies
configuration option:
On start up the extension checks if there is any extension from this list which is installed. If not andhaskutil.checkDiagnosticsExtension
is set totrue
a warning window will be displayed on start up.
Various fixes
- Fixed:
OrganizeExtensionProvider
: false positive ofExtension are unorganised
Aligned extension were incorrectly detected as being not alignedImportProvider
:Organize imports
behaviour on Windows
Fix invalid parsing of imports in file with\r\n
(Windows) line ending
As a result applyingOrganize 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