- add feature to disable languages (#806)
- status bar visibilitiy (#770)
- show status bar item on lint (#769)
- add toggle suspend linting (#768)
- add status bar item (#766)
- remove legacy "enabled" configuration item (#767)
- bump vscode to v1.90.0
- add disable rule and category context commands (#762)
- enable picky mode (#760)
- deps: bump glob from 10.3.12 to 11.0.0 (#718)
- deps: bump glob from 10.3.10 to 10.3.12 (#680)
- deps: bump glob from 8.1.0 to 10.3.10 (#637)
- correct import of glob
- reset @types/vscode to 1.57.0
- test stderr and stdout for null
- add option to set severity levels automatically based on Rule and Categoy (#651)
- deps: bump node-fetch and @types/node-fetch (#667)
- deps: bump node-fetch and @types/node-fetch
- add concurrency for publish
- deps: bump node-fetch and @types/node-fetch (#596)
- Premium Support by Adding Settings for username and apiKey (#438) - thank you (@thomaskrause)[https://github.com/thomaskrause], (@johangirod)[https://github.com/johangirod]!
- Allow spell-check rules to be ignored by line. This Works for HTML and markdown, where inline comments are allowed (e.g. pandoc) - thank you (@steven-r)[https://github.com/steven-r]!
- replaced license-webpack-plugin with webpack-license-plugin
- dependency updates
- Linter wasn't registered as a Code Actions Provider for the list of plain text IDs in settings, resulting in no suggestions for potential errors (284).
- Show warning when spaces exist in either Disabled Rules or Disable Categories (217).
- Refactored code for maintainability.
- Moved tests to root of repo.
- Moved test fixtures to root of repo.
- Renamed src files to match class names.
- Port number for docker in README (#205).
- Smart format command and on save handles apostrophes correctly (216)
- Support for mdx files. (Thank you, @shicolas).
- Publication on Open-VSX Registry #182.
- Option to hide Rule IDs in diagnostics #121.
- Moved Rule ID to end of diagnostic message and linked to rule info, excluding
spelling rules. Required updating
@types/vscode
to 1.43.0.
- Ability to enable / disable checking of Plain Text documents. Enabled by default.
- Ability to provide a list of language ids that should be considered Plain Text. Defaults to “plaintext”.
- “Force Check as Plain Text Document” command shows on all language ids other than HTML and Markdown for manual, one-time checking.
- “Clear Document Diagnostics” command to clear LanguageTool diagnostics in support of one-time checking.
- Relabeled “Lint Current Document” command to “Check Document”.
- Only HTML and Markdown show the “Check Document” command.
- updated dependencies
- prettier code
- npm audit fix
- Backslashes in markdown plus a valid escape character no longer shifting diagnostic highlighting #132
- Keyboard shortcuts and light bulb now working on LanguageTool problems #120
- Testing release via GitHub Actions
- Output channel no longer forced open on errors
- Ignored Word Configuration items specified as strings
- Refactored constants and configuration manager
- Smart Format command name updated
- TSLint configuration updated
- Codacy checks use repo configuration
- Reduced unnecessary linting by removing
onDidChangeActiveTextEditor
subscription and only subscribing toonDidChangeTextDocument
- Diagnostics cleared when document is closed to eliminate messages appearing after document is closed #64
- Smart Format on Save no longer appending newline at end #81
- Conditions for smart double quotes #84
- Smart Format on Save option
- Lint on Save setting #80
- Lint on Open setting #80
- Diagnostic Severity setting #79
- Webpack for performance goodness
- Hide Diagnostics on Change clears when document changes to hide messages while typing
- Minimum and maximum port settings for the managed service #78
- Header marks reduced to only single hash instead of entire markup to prevent passing front matter
- Smart Format command only applies smart format to text and skips markup
- Auto Format Enabled renamed to Smart Format on Type since it only formats smart characters
- Header marks (#) preserved to prevent LanguageTool from throwing
PUNCTUATION_PARAGRAPH_END
Errors - Ordered and Unordered list items interpreted as bullets to prevent
LanguageTool from throwing
UPPERCASE_SENTENCE_START
andPUNCTUATION_PARAGRAPH_END
Errors - Plaintext Annotatedtext produced correctly
- Ignored Words lists at the User and Workspace levels.
- The Workspace level list appears in the User settings, but is ignored. This is due to how settings work as overrides instead of cumulative.
- Ignored words have an optional hint shown to remove the word from the ignored list.
- Corrected category on commands.
managed.classPath
setting supports multiple paths and file globbing via node-glob. This accommodates various install methods. For example, on Arch Linux using the pacman LanguageTool package, you would set this to/usr/share/java/languagetool/*.jar
.
- Deprecated
managed.jarFile
setting in favor ofmanaged.classPath
to align with how the setting was used.
- New class path setting. Extension doesn’t activate when published, but all tests pass.
managed.classPath
setting supports multiple paths and file globbing via node-glob. This accommodates various install methods. For example, on Arch Linux using the pacman LanguageTool package, you would set this to/usr/share/java/languagetool/*.jar
.
- Deprecated
managed.jarFile
setting in favor ofmanaged.classPath
to align with how the setting was used.
- Inline code is interpreted as hashtags, eliminated errors around extra spaces or missing words. (#40)
- Basic tests for extension, configuration manager, and linter.
- All version 0.4.0 changes. Package broke on publication.
- Inline code is interpreted as hashtags, eliminated errors around extra spaces or missing words. (#40)
managed.classPath
setting supports multiple paths and file globbing via node-glob. This accommodates various install methods. For example, on Arch Linux using the pacman LanguageTool package, you would set this to/usr/share/java/languagetool/*.jar
.
- Deprecated
managed.jarFile
setting in favor ofmanaged.classPath
to align with how the setting was used.
autoFormatCommand
no longer eats the quotes at start of lineautoFormatCommand
no longer converts comments to em-dashes
- Use regex in
autoFormatCommand
for simplicity.
- Upgraded http-proxy-agent to 2.2.3. (npmjs advisory 1184)
- Auto Format on Type feature. Replaces double and single quotes with smart
quotes, apostrophes with smart apostrophe, multiple consecutive hyphens with
em and en dashes, and three consecutive periods with ellipses. Feature is
controlled with
autoformat.enabled
setting. - Auto Format Command replaces quotes, apostrophes, dashes, and periods with smart quotes, en-dash, em-dash, and ellipses in the entire document.
- Updated annotatedtext-remark to filter out front matter.
- Checking occurred on non-file documents (i.e. git). Lint functions now check to make sure documents passed in have a URI schema of “file”. See issue #9.
- “Service Type” setting with the following 3 options:
external
(default): Use an external LanguageTool service. URL must be provided in “External: URL”.- NEW:
managed
: Have VS Code manage a LanguageTool service. A path to a languagetool-server.jar file must be provided in “Managed: Jar File”. The extension will try to find a random open port. public
: Uses the public LanguageTool API service.
- BREAKING: The checkbox setting “Public Api” has been replaced by the “Service Type” drop-down setting.
- BREAKING: The “URL” setting has been moved to “External: URL”.
- The caution notice for “Lint on Change” has been removed. Throttling seems to be working. Still off by default.
- Output / errors now sent to “LanguageTool Linter” output channel.
- Basic Spelling / Grammar Checking with Quick Fix options on errors.
languageTool.disableCategories
: IDs of categories to be disabled, comma-separated.languageTool.disabledRules
: IDs of rules to be disabled, comma-separated.languageTool.language
: A language code like en-US, de-DE, fr, or auto to guess the language automatically (seepreferredVariants
below). For languages with variants (English, German, Portuguese) spell checking will only be activated when you specify the variant, e.g. en-GB instead of just en.languageTool.motherTongue
: A language code of the user‘s native language, enabling false friends checks for some language pairs.languageTool.preferredVariants
: Comma-separated list of preferred language variants. The language detector used with language=auto can detect e.g. English, but it cannot decide whether British English or American English is used. Thus, this parameter can be used to specify the preferred variants like en-GB and de-AT. Only available with language=auto.lintOnChange
: Lint every time the document changes. Use with caution.publicApi
: Use the public LanguageTool API Service.url
: URL of your LanguageTool server. Defaults to localhost on port 8081.