- Upgrade npm-groovy-lint to fix issues with Mac
- Upgrade dependencies
- Change license to MIT
- Upgrade npm-groovy-lint to v14.2.4
- Upgrade npm dependencies
- Upgrade npm-groovy-lint to v14.2.3
- Fix "directories aren't cleaned up"
- Upgrade npm dependencies
- Upgrade npm-groovy-lint to v14.2.1
- fix: class not found request failure
- Upgrade npm dependencies
- fix: file end of line character changes (#176)
- dep: Upgrade npm-groovy-lint to v4.2.0
- fix: missing parse errors with --noserver
- fix: deactivate log file by default
- Added new setting
showProblemsView
that controls if Problems View should open after initial lint pass - Fix doc deployment
- Add stale workflow
- Update all packages, to address security issues and bring in the latest version of npm-groovy-lint and related fixes.
- Refactor of tests to more reliable, including being independent of each other so if one test fails others are not effected.
- Fix partial fixes never applying due to npm-groovy-lint v10.0.0 breaking change.
- Fix Analyze Groovy files in folder (#177)
- Debug sessions correctly enable debugging by default including npm-groovy-lint.
- Upgrade MegaLinter and fix related issues
-
Upgrade to npm-groovy-lint v10.0.0
- Upgrade to CodeNarc 3.1.0
- Many fixes and enhancements (see npm-groovy-lint release note)
-
UI
- Better display for issues contextual menu
-
Fixes
- Wrong lines highlighted when spaces are replaced by tabs
- Document should not be reopened if closed without saving
- Some errors were displayed at the beginning of the file instead of the good line
- Wrong diagnostics lines are format or fix
- Fix bug when file diagnostics is stuck with message
GroovyLint is analyzing code...
(#157) - CI: Upgrade to MegaLinter v6
- Upgrade to npm-groovy-lint v9.5.0
- Disable telemetry by default
- Disable telemetry by default (#93)
- Fix crash when npm-groovy-lint does not return results (#141)
- Upgrade to npm-groovy-lint v9.3.2
- Upgrade cli-progress to avoid colors lib boring but harmless hack
- Upgrade to npm-groovy-lint v9.3.1
- Fix issue when used as module and with file containing spaces (#137)
- Upgrade to npm-groovy-lint v9.3.0
- Upgrade again log4j to avoid security flaw
- Upgrade to npm-groovy-lint v9.2.0
- Upgrade again log4j to avoid security flaw
- Upgrade to npm-groovy-lint v9.1.0
- Upgrade log4j to avoid security flaw
- Detect Jenkinsfile
- Fix TS error & package-lock.json version
- Upgrade to npm-groovy-lint v9.0.0
- Upgrade to CodeNarc 2.2
- Adds Groovy 3.0.9 support.
- Fix use of VsCode setting groovyLint.basic.config to use a generic npm-groovy-lint configuration file
- Upgrade to MegaLinter v5 and move config in .mega-linter.yml file
- Upgrade to npm-groovy-lint v8.1.0
- Exclude
UnnecessaryGetter
,FactoryMethodName
,MethodReturnTypeRequired
, andGStringExpressionWithinString
inrecommended-jenkinsfile
(#140) (Felipe Santos)
- Exclude
- Upgrade to npm-groovy-lint v8.0.0
- Upgrade to CodeNarc 2.0.0
- Improve performances
- Fix bugs
- Upgrade to npm-groovy-lint v7.5.4
- Upgrade to npm-groovy-lint v7.5.2
- Fix crash when empty groovy file
- Fix crash when non-sense groovy file
- Add .nf and .gradle extensions
- Upgrade to npm-groovy-lint v7.5.0
- Fix bug on Windows when username contains space(s)
- Allow user to hide future npm-groovy-lint error messages
- Manage correctly user choice
Never
for tabs auto-replacement by spaces - Upgrade to npm-groovy-lint v7.4.0
- Upgrade to npm-groovy-lint v7.3.1
- Upgrade to npm-groovy-lint v7.3.0
- Allow to link to CodeNarc RuleSet files from
.groovylintrc.json
, using property"codenarcRulesets"
. Warning: doing so means that all other properties of config file will be ignored.
- Allow to link to CodeNarc RuleSet files from
- Upgrade to npm-groovy-lint v7.2.0
- Upgradejava-caller to v2.0.0 : better performances
- Upgrade to npm-groovy-lint v7.1.0
- Externalize JavaCaller class into a separate package java-caller and use it
- Upgrade to npm-groovy-lint v7.0.0
- Upgrade to CodeNarc 1.6.1
- Improved performances
- Fix formatting
- New default recommended rules
- Upgrade to npm-groovy-lint v5.8.0
- Fix part of (#66) Problem using on VSCode on macOS
- New settings groovyLint.java.executable and groovyLint.java.options
- Upgrade to npm-groovy-lint v5.5.0
Fixes:
- Fix npm-groovy-lint formatting arguments when loglevel is not info
- Upgrade to npm-groovy-lint v5.4.1
- Upgrade to npm-groovy-lint v5.1.0
- Install Java 8 using node-jre in case java version found is higher than Java 11 (CodeNarc compatibility is Java 8 to 11)
-
Fixes
- Issue when requesting lints too quickly just after the extension is launched (#51)
-
Upgrade to npm-groovy-lint v5.0.3
- Updated fix rules
- Indentation
- IndentationClosingBrace
- Updated fix rules
-
Fixes
-
Upgrade to npm-groovy-lint v5.0.2
- Avoid to apply wrong fix in case of CodeNarc false positive
- New fix rules
- BlankLineBeforePackage
- Updated fix rules
- BracesForIfElse
- BracesForMethod
- BracesForTryCatchFinally
- ClassEndsWithBlankLine
- ClassStartsWithBlankLine
- MissingBlankLineAfterImports
- MissingBlankLineAfterPackage
- UnnecessaryGroovyImport
- UnusedImport
- Upgrade to npm-groovy-lint v5.0.0
- Troubleshoot Java installation issue
- Upgrade to npm-groovy-lint v4.14.0
- Use Indent size provided by VsCode Formatter API #34
- Add Formatter in Vs Code extension categories #41
- Upgrade to npm-groovy-lint v4.13.0
- Manage to send options for rules sent in
rulesets
: Ex:Indentation{"spacesPerIndentLevel":2,"severity":"warning"},UnnecessarySemicolon
- Manage to send options for rules sent in
- Upgrade to npm-groovy-lint v4.12.0
- Improve performances and compatibility
- Upgrade to npm-groovy-lint v4.11.1
- Improve error messages
- Upgrade to npm-groovy-lint v4.11.0
- Technical fixes
-
New setting
groovyLint.insight.enable
: Allow to send anonymous usage statistics used only to improve the tool (we will of course never send your code or sensitive information) -
Upgrade to npm-groovy-lint v4.10.2
- Collect anonymous usage statistics using analytics & @analytics-segment, in order to make new improvements based on how users use this package. Analytics obviously does not receive sensitive information like your code, as you can see in analytics.js.
-
Upgrade to npm-groovy-lint v4.8.0
-
New fix rules
- AssignmentInConditional
- DuplicateImport
- ExplicitLinkedListInstantiation
- InsecureRandom
- UnnecessaryDefInVariableDeclaration
- UnnecessaryDotClass
- UnnecessaryFinalOnPrivateMethod
- UnnecessaryInstantiationToGetClass
-
Updated fix rules
- BracesForForLoop: False positive triggering messy code after fixing
- UnnecessaryGString: Fix multiline replacements (
"""
by'''
)
-
Fixes :
- Launch JVM with high memory (
-Xms256m -Xmx2048m
) to improve performances on big files - Increase CodeNarcServ call timeout (+ Manage ETIMEOUT as result, not only ECONNREFUSED )
- Launch JVM with high memory (
-
-
Exclude more files from the VsCode extension package
- Upgrade to npm-groovy-lint v4.7.0
-
New fix rules
- BracesForClass
- BracesForForLoop
- BracesForIfElse
- BracesForMethod
- BracesForTryCatchFinally
- ExplicitArrayListInstantiation
- MissingBlankLineAfterImports
- MissingBlankLineAfterPackage
-
Updated fix rules
- UnnecessaryGString: Fix replacements containing
\n
and\r
- UnnecessaryGString: Fix replacements containing
-
- Upgrade to npm-groovy-lint v4.6.0
-
New fix rules
- SpaceBeforeClosingBrace
- UnnecessaryDefInMethodDeclaration
- UnnecessaryPackageReference
- UnnecessaryParenthesesForMethodCallWithClosure
-
Updated fix rules
- MisorderedStaticImports: Fix
@Grapes
killer fixing rule - ElseBlockBrace: issue when instruction is on the same line than
else
- MisorderedStaticImports: Fix
-
- Upgrade to npm-groovy-lint v4.5.4
- Take in account user overridden indentation space (and other rules) when using --format option #31
- Handle better CodeNarcServer concurrent calls
- Upgrade to npm-groovy-lint v4.5.0 Davide Bizzarri
- Configuration updates (#29):
- New default config "recommended-jenkinsfile". Use it with argument
--config recommended-jenkinsfile
- Allow to directly target a config file name. Use it with argument
--config /my/custom/path/.groovylintrc-custom-name.json
- Allow to send a string key that will be used to find config file
--config custom-name
- New default config "recommended-jenkinsfile". Use it with argument
- Updated fix rules:
- IfStatementBraces
- ElseStatementBraces
- Configuration updates (#29):
- Fixes
- Crash when apply QuickFix after disabling an error with a comment
- Error when groovylint-disable and groovylint-disable-next-line are both at the beginning of the source file
- Decrease delay before onType lint from 4 seconds to 3 seconds
- Misspellings
- Hotfix crazy status bar item (#26)
- Upgrade to npm-groovy-lint v4.4.1
- CodeNarcServer: Use cachedThreadPool instead of fixedThreadPool
- Default lint mode to "onType" (use onSave or user if you prefer to not lint while typing), after 4 seconds of inactivity after last source update
- New contextual commands:
- Disable rule for the current line
- Disable rule for the entire file
- Do not open files in tabs when diagnostics are from Lint Folder command
- Upgrade to npm-groovy-lint v4.4.0
- Disable rules using comments in source using eslint style
- Cancel a CodeNarc Lint when a similar CodeNarcServer request is received (allowing onType mode for language servers)
- New fix of #18 (codeAction failed with message: Cannot read property 'split' of undefined): error when diagnostics provided by another VsCode extension
- Upgrade to npm-groovy-lint v4.2.0
- Display source parsing errors
- New fix rules (thanks CatSue !):
- SpaceAfterSemicolon
- SpaceAfterWhile
- Remove useless files from VsCode extension package
- Fix error #18 (codeAction failed with message: Cannot read property 'split' of undefined)
- Add more automated tests for CodeActions
- Display a waiting info message when a Lint Folder request takes more than 5 seconds + allow to cancel the current operation
- Fix perf issue when closing all visible text editors
- Upgrade to npm-groovy-lint v4.1.0
- Upgrade to Groovy 3.0.3
- Add setting groovyLint.debug.enable : Display more logs in VsCode Output panel (select "GroovyLint") for issue investigation
- Update settings definition in README documentation
- New command Lint Groovy in folder available in folder context menu
- Performances: avoid to lint again a file if it has already been linter with the same content
- Upgrade to npm-groovy-lint v4.0.0
- Much better performances on Linux and MacOs
- When formatting, always run some custom npm-groovy-lint fix rules not corresponding to CodeNarc violations
- Return CodeNarc and Groovy versions when --version options is called
- Fixes
- Lost indentation when applying some fix rules
- Updated fix rules:
- IndentationClosingBraces
- IndentationComments
- SpaceAfterCatch
- SpaceAfterIf
- New fix rules:
- ClassEndsWithBlankLine
- ClassStartsWithNewLine
- SpaceAfterFor
- SpaceAfterSwitch
- Add Jenkinsfile in test files
- Improve QuickFix actions labels
- Warn user in case of fix error(s) failures, and advise to do so manually
- Improve QuickFix action performances
- Upgrade to npm-groovy-lint v3.2.3
- Improve performances
- Fix indentation when rules IfStatementBraces or ElseBlockBraces are corrected during a format or a fix
- Fixes
- Infinite spinner when using QuickFix "Fix in all file"
- Hotfix: republish again with regenerated compiled Javascript from Typescript
-
New animated gif for VsCode Groovy Lint home page
-
Increase size of Show rule documentation quick action message, and add a "Read More" link to CodeNarc WebSite
-
If source has been updated by the user during a format or fix, do not apply the formatting/fix to avoid overriding the user updates, and notify the user
-
Fixes:
- Provide CodeActions even when there is no QuickFix (Ignore in all files, Show documentation)
- Fix npm-groovy-lint requests queue management
- If a file contains groovy errors, display info diagnostic while linting/formatting/fixing again
- Fix "infinite" status bar spinner when a lint/format/fix actions has been cancelled
-
Technical:
- Harmonize notifications URIS with new namespace: groovylintlsp
- Reorganize files: types.ts for structures, and mode commands in commands.ts
- Upgrade to npm-groovy-lint v3.2.2
- New diagnostic QuickAction: Show rule documentation
- Fix location error to create .groovylintrc.json from a QuickFix when user has multiple workspaces
- Upgrade to npm-groovy-lint v3.2.1
- New command "Format" (Right click in code editor -> format, or Shift+Alt+F)
- Automated tests with mocha and vscode-test
- CI Integration (CircleCI), build & run tests on Linux & Windows
- If hidden, show Diagnostics panel after first lint result. If closed again by the user, it won't be reopened
- Update README (doc + badges)
- Upgrade to npm-groovy-lint v3.2.0
- Fixes
- Tab focus should not be disrupted by VsCode Groovy Lint
- Fix blocking issue when using QuickFix Action (source was not replaced). If someone knows how to make good automated tests for a VsCode extension, please contact me !
- Change README
- Upgrade to npm-groovy-lint v3.1.3
- Hide GroovyLint status bar item when the active VsCode file is not Groovy code (and if no GroovyLint action in progress)
- Add screenshot image in README
- Add CONTRIBUTING section
- Fix issue when creating/updating .groovylintrc.js file when the VsCode Workspace has multiple folders
- Fix tabs navigation issue
- Initial release