Skip to content

Latest commit

 

History

History
380 lines (285 loc) · 30.8 KB

CHANGELOG.md

File metadata and controls

380 lines (285 loc) · 30.8 KB

Changelog

12.1.0 (upcoming)

  • Add support for cancellation of checking requests (fixes vscode-ltex#253)
  • Show Use ... quick fixes before other quick fixes (fixes vscode-ltex#297)
  • Limit number of Use ... quick fixes to 5 (see vscode-ltex#297)
  • Add isChecking and documentUriBeingChecked fields to result of _ltex.getServerStatus
  • Add support for \phantom, \hphantom, and \vphantom (LATEX)
  • Fix wrong underlining of words starting with markup (fixes #69)

12.0.0 (April 18, 2021)

  • Prefix all command names with an underscore to mark them as internal (for hiding them from the user in some clients):
    • ltex.addToDictionary_ltex.addToDictionary
    • ltex.disableRules_ltex.disableRules
    • ltex.hideFalsePositives_ltex.hideFalsePositives
    • ltex.checkDocument_ltex.checkDocument
    • ltex.getServerStatus_ltex.getServerStatus
  • Add support for Org; use the code language ID org (fixes vscode-ltex#277)
  • Add basic support for reStructuredText; use the code language ID restructuredtext (fixes vscode-ltex#32)
  • Add --server-type=tcpSocket option to communicate over a TCP socket
  • Add --host and --port options to control host and port of the TCP socket
  • Add --[no-]endless option to keep the server alive when the client terminates the connection
  • Add -h and --help options to show help message
  • Add -V option as alias for --version
  • Remove support of single CR characters as line endings
  • Fix .Rnw not recognized for R Sweave documents when running _ltex.checkDocument
  • Fix newlines accepted as whitespace in magic comments
  • Use picocli for parsing of command-line arguments

11.0.0 (April 5, 2021)

10.0.0 (February 12, 2021)

  • Remove support for settings that are deprecated since 8.0.0: ltex.ignoreInRuleSentence, ltex.commands.ignore, ltex.commands.dummy, ltex.environments.ignore, ltex.markdown.ignore, and ltex.markdown.dummy
  • Replace ltex/serverStatus request with ltex.getServerStatus command
  • Add support for magic comments inside HTML comments in Markdown (<!-- ltex: SETTINGS -->)
  • Check frame title in argument of LATEX Beamer frames (fixes vscode-ltex#239)
  • Add range argument to ltex.checkDocument
  • Check documents even if their code language is not supported
  • Fix comment sign before babel commands not recognized (see vscode-ltex#245)
  • Fix removing items in settings with a hyphen prefix sometimes not working
  • Fix space not added between two arguments of LATEX commands
  • Fix manually checking BibTEX documents not working
  • Fix words in dictionary containing markup not recognized

9.2.0 (January 29, 2021)

  • Add support for Pandoc-style inline math ($...$) and display math ($$...$$ with $$ being at the beginning/end of a Markdown block) to Markdown parser (fixes vscode-ltex#210)
  • Fix false positives for words added by Add to dictionary for Slovak rule IDs MUZSKY_ROD_NEZIV_A, ZENSKY_ROD_A, and STREDNY_ROD_A (fixes vscode-ltex#221)
  • Fix BibTEX field seealso not ignored, ignore category and parent (see vscode-ltex#211)
  • Disable UPPERCASE_SENTENCE_START in BibTEX files (see vscode-ltex#211)
  • Move rule ID to the end of diagnostic messages as VS Code truncates the messages if the Problems panel is narrow (fixes vscode-ltex#233)
  • Fix regression that messages of possible spelling mistakes are not prepended with the respective unknown words (see vscode-ltex#161)
  • Fix crash when using \begin or \end without an argument (fixes vscode-ltex#236)
  • Change $/progress tokens to include a UUID instead of a counter

9.1.0 (January 24, 2021)

  • Add support for BibTEX files (language code bibtex, fixes vscode-ltex#211)
  • Add setting ltex.bibtex.fields to control which BibTEX fields should be checked
  • Add support for GitLab Flavored Markdown, especially inline math (e.g., $`E = mc^2`$, see vscode-ltex#210)
  • Add support for Markdown tables as in GitHub Flavored Markdown (fixes vscode-ltex#218)
  • Add support for more commands of the glossaries LATEX package
  • Enable Add to dictionary quick fix for Slovak rule IDs MUZSKY_ROD_NEZIV_A, ZENSKY_ROD_A, and STREDNY_ROD_A (fixes vscode-ltex#221)
  • Remove superfluous spaces in messages of diagnostics
  • Fix handling of \r\n (Windows) line terminators in Markdown
  • Use Flexmark's YAML Front Matter extension to ignore YAML front matter in Markdown instead of own handling
  • Print Flexmark AST of Markdown documents to log when ltex.ltex-ls.logLevel is "finest"

9.0.1 (January 13, 2021)

  • Ignore \pgfmathsetmacro, \setmainfont, and \theoremstyle
  • Fix accent commands such as \O in math mode resulting in diagnostics (fixes vscode-ltex#216)

9.0.0 (January 3, 2021)

  • Make versioning independent of vscode-ltex; LTEX LS now adheres to Semantic Versioning 2.0.0
  • Require support of LSP 3.15
  • Update LanguageTool to 5.2 (see LT 5.2 release notes)
  • Add ltex.additionalRules.enablePickyRules to still be able to detect false friends after the update of LanguageTool (default: false)
  • Replace ltex/progress with $/progress (fixes #34)
  • Add customCapabilities in InitializeParams.initializationOptions
  • Remove unneeded command arguments type and command
  • Replace \dots with Unicode ellipsis instead of three dots ... to fix some false positives
  • Add documentation

8.1.1 (November 24, 2020)

  • Migrate from Travis CI to GitHub Actions

8.1.0 (November 15, 2020)

  • Prepend messages of possible spelling mistakes with the respective unknown words (fixes vscode-ltex#161)
  • Add support for optional arguments of \newtheorem
  • Fix wrong position of diagnostics when using a recognized LATEX command with a non-recognized set of arguments due to an infinite loop (fixes vscode-ltex#167)
  • Update LSP4J to 0.10.0

8.0.0 (November 1, 2020)

7.3.1 (October 12, 2020)

  • Fix delayed publication of diagnostics by adding workaround to guess the caret position
  • Fix recheck being triggered when generating list of quick fixes; this should improve speed

7.3.0 (October 10, 2020)

  • Add support for \ell as well as \mathcal, \mathfrak, etc. to vowel detection (fixes vscode-ltex#131)
  • Add setting ltex.ltex-ls.logLevel to control the verbosity of the server log
  • Fix diagnostics sometimes not lined up with the text with switching back from incremental to full document updates; unfortunately, this disables the delayed publication of diagnostics at the caret position
  • Restructure and simplify internal quick fix and command structure, removing the need for pseudo-telemetry notifications

7.2.0 (September 27, 2020)

  • Update LanguageTool to 5.1 (see LT 5.1 release notes)
  • Add support for HTML entities such as &auml; and &copy; in Markdown
  • Fix missing tilde expansion for external dictionary files
  • Improve logging

7.1.2 (September 22, 2020)

  • Fix performance issue with multiple languages in one document via magic comments due to LanguageTool being reinitialized on each keystroke (fixes vscode-ltex#124)

7.1.1 (September 20, 2020)

  • Fix NullPointerException when supplying relative paths to external dictionary files
  • Fix German log messages

7.1.0 (September 20, 2020)

  • Add support for external dictionary files (fixes vscode-ltex#118)
  • Add support for enabling/disabling LTEX only for specific file types via ltex.enabled (see vscode-ltex#19)
  • Add support for acro commands such as \DeclareAcronym and \ac (see vscode-ltex#19)
  • Add support for \addcontentsline (see vscode-ltex#19)
  • Add support for \printbibliography and \printglossary without argument
  • Ignore parenthesis arguments of textblocks (see vscode-ltex#19)
  • Fix optional argument of heading commands such as \section parsed incorrectly (fixes vscode-ltex#123)
  • Include stack traces when logging exceptions

7.0.0 (September 13, 2020)

  • Change scope of ltex.dictionary, ltex.disabledRules, and ltex.enabledRules to application; these are now user-specific settings that can only be configured in user settings
  • Add settings ltex.workspaceDictionary, ltex.workspaceDisabledRules, and ltex.workspaceEnabledRules with window scope to amend the corresponding user-specific settings; these are workspace-specific settings that should be configured in workspace settings
  • Add settings ltex.workspaceFolderDictionary, ltex.workspaceFolderDisabledRules, and ltex.workspaceFolderEnabledRules with resource scope to amend the corresponding user-specific and workspace-specific settings; these are workspace-folder-specific settings that should be configured in workspace folder settings
  • Rename "global" value for ltex.configurationTarget to "user" ("global" is still supported, but deprecated)
  • Remove deprecated settings ltex.javaHome, ltex.performance.initialJavaHeapSize, ltex.performance.maximumJavaHeapSize, ltex.performance.sentenceCacheSize, ltex.*.dictionary, ltex.*.enabledRules, and ltex.*.disabledRules (deprecation since 5.0.0)
  • Update LanguageTool to 5.0.2 (see LT 5.0.2 release notes)
  • Fix skipping of YAML front matter (fixes vscode-ltex#104)

6.3.0 (August 22, 2020)

  • Add support for an article when before a formula starting with a vowel (e.g., an $n$-dimensional problem, fixes vscode-ltex#92)
  • Add support for ~/ and ~\ in settings (fixes vscode-ltex#99)

6.2.0 (August 7, 2020)

6.1.1 (July 26, 2020)

  • Fix another problem with spaces in paths on Windows (fixes vscode-ltex#80)

6.1.0 (July 26, 2020)

6.0.2 (July 11, 2020)

  • Make Windows startup script (ltex-ls.bat) honor JAVA_HOME (fixes vscode-ltex#75)

6.0.1 (July 2, 2020)

6.0.0 (June 28, 2020)

  • Update LanguageTool to 5.0 (see LT 5.0 release notes)
  • Delay diagnostics at the current caret position (e.g., incomplete word or sentence) until the user has finished typing (fixes vscode-ltex#46)
  • Add enabled to magic comments (fixes vscode-ltex#67)
  • Fix \todo couldn't be ignored (fixes vscode-ltex#63)
  • Fix wrong language-dependent settings used for magic comments
  • Fix add to dictionary and disable rule quick fixes using wrong language when used with magic comments
  • Improve code quality by fixing hundreds of Checkstyle, SpotBugs, and Checker Framework warnings
  • Migrate from Gradle to Maven
  • Update Maven dependencies

5.0.0 (June 1, 2020)

  • Include all languages in LTEX LS; this removes the need for language support extensions (fixes vscode-ltex#6)
  • Adhere to semantic versioning. This means that the version of LTEX LS is not tied to the version of LanguageTool anymore, as the version of LanguageTool is not a semantic version. LTEX LS 5.0.0 uses LanguageTool 4.9.
  • Rename settings:
  • Add support for external LanguageTool HTTP servers (fixes vscode-ltex#36)
  • Add support for magic comments, enables changing the language in the middle of documents (fixes vscode-ltex#21)
  • Check \footnote and \todo contents separately, preventing “double period” warnings (fixes vscode-ltex#42)
  • Add support for more BibLATEX citation commands, add support for plural dummies, add support for \eg, \egc, \ie, \iec (fixes vscode-ltex#43)
  • Add visual feedback in status bar during startup and checks that take a long time
  • Remove null types and default values from settings, use empty string/array/object instead (fixes vscode-ltex#41)
  • Use proper server/client model for language server/client
  • Make documentation of vscode-ltex more extensive, put it on own website

4.9.3 (May 7, 2020)

  • Revert back to Java 8
  • Remove support for external LanguageTool HTTP servers

4.9.2 (May 6, 2020)

  • Update required version of Java (now 11 or newer)
  • Add support for external LanguageTool HTTP servers (fixes vscode-ltex#36)
  • Add support for \autoref, \pageref, \autopageref (fixes vscode-ltex#37)

4.9.1 (May 1, 2020)

  • Fix sentence cache was invalidated when a single ignore sentence rule was present (fixes vscode-ltex#29)
  • Use thin non-breaking space for \, (fixes vscode-ltex#35)

4.9.0 (March 28, 2020)

  • Update LanguageTool to 4.9 (see LT 4.9 release notes)
  • Update other Java dependencies
  • Reduce file size (omitting unneeded dependencies)

4.7.10 (March 12, 2020)

  • Fix spelling errors for French dummies (fixes vscode-ltex#27)
  • Fix \dots in math mode being interpreted as ...

4.7.9 (February 29, 2020)

  • Update the Markdown parser flexmark-java to 0.60.2; this increases the speed of parsing Markdown
  • Add possibility to ignore Markdown elements or replace them by dummy words via ltex.markdown.ignore and ltex.markdown.dummy (fixes vscode-ltex#26)
  • Ignore Markdown code blocks by default
  • Replace auto-links and inline Markdown code with dummy words by default
  • Fix match positions were sometimes off by one, especially in Markdown documents
  • Rewrite MarkdownAnnotatedTextBuilder

4.7.8 (February 16, 2020)

4.7.7 (November 23, 2019)

  • No changes, dummy release

4.7.6 (November 10, 2019)

  • Add ltex.performance settings to give users more control over Java's RAM usage
  • Change default initial Java heap size to 64 MB
  • Change default maximum Java heap size to 512 MB
  • Change default sentence cache size from 10000 to 2000 sentences

4.7.5 (October 22, 2019)

  • Enable ignoring environments such as lstlisting and verbatim
  • Add ltex.environments.ignore setting for defining own environments to ignore

4.7.4 (October 15, 2019)

  • Add disabledRules and enabledRules settings (requires update of language extensions)
  • Add disable rule quick fix
  • Fix a bug where the codeAction request gets stuck in infinite loop
  • Fix another NullPointerException for word2vec

4.7.3 (October 7, 2019)

  • Fix null pointer error for word2vec quick fixes (fixes vscode-ltex#12)

4.7.2 (October 2, 2019)

  • Add missing error message if legacy false friends could not be loaded

4.7.1 (October 2, 2019)

4.7.0 (October 1, 2019)

  • Update LanguageTool to 4.7 (see LT 4.7 release notes)
  • Support multi-root workspaces, all configuration settings except ltex.enabled are now resource-specific (fixes vscode-ltex#7)
  • Save dictionary settings under full language short code (e.g., en-US instead of en). If you already have a dictionary under ltex.en.dictionary and use en-US as language (not en), you have to rename the settings name to ltex.en-US.dictionary (similarly for other languages).
  • Remove diagnostics when a file is closed
  • Prevent insertion of text in TikZ mode
  • Add support for more commands such as \newenvironment, \newgeometry, and \pagenumbering

4.6.13 (September 26, 2019)

  • Fix LTEX LS not reinitialized after a language extension has been installed (which was missing during initialization)

4.6.12 (September 25, 2019)

  • Patch LanguageTool's AnnotatedText with linear interpolation to hopefully fix the fromPos must be less than toPos LT errors for good
  • Fix \footnote in math mode messed up text mode and math mode
  • Increase robustness in case locale or settings are not provided
  • Ignore all brace and bracket arguments after \begin{environment} (tabular, array, etc.)
  • Add support for some more commands and environments such as \pagestyle and eqnarray

4.6.11 (September 23, 2019)

  • Detect and prevent infinite loops in LatexAnnotatedTextBuilder
  • Fix infinite loop with other line endings than \n
  • Fix some more fromPos must be less than toPos LT errors
  • Check for interrupts to avoid 100% CPU usage on timeout (this doesn't fix any bugs though)
  • Add support for \email, \href, and \verb|...|
  • Add support for more citation commands (\citep, \citet, etc.)
  • Add support for float/theorem definition commands and starred sectioning commands

4.6.10 (September 18, 2019)

  • Fix NullPointerException if LanguageTool has not been initialized (fixes #1)

4.6.9 (September 8, 2019)

  • Fix NullPointerException in main

4.6.8 (September 7, 2019)

  • Initial release