Skip to content

Starting up VS Code checks document automatically #179

Description

@CanePlayz

Describe the bug
When I open VS Code, my .tex file shows warnings, despite having cleared the persistent index before restarting it (so nothing was shown). I've set my checkFrequency to manual, so I don't believe this should happen.

Image Image

Steps to reproduce

  • Clear all diagnostics
  • Start up VS Code

Expected behavior
No diagnostics active unless manual check is initiated

LTeX+ configuration

Details "ltex.checkFrequency": "manual", "ltex.additionalRules.enablePickyRules": true,

"LTeX+ Language Server" log file

Details [Info - 6:28:37 AM] Starting ltex-ls... Jan. 16, 2026 6:28:45 AM org.bsplines.ltexls.server.LtexLanguageServer initialize INFORMATION: ltex-ls 18.6.1 - initializing... Jan. 16, 2026 6:28:45 AM org.bsplines.ltexls.tools.I18n setLocale INFORMATION: Setting locale to 'en' Jan. 16, 2026 6:28:45 AM org.bsplines.ltexls.server.LtexTextDocumentItem raiseExceptionIfCanceled FEIN: Canceling check due to incoming check request... Jan. 16, 2026 6:28:45 AM org.bsplines.ltexls.server.DocumentChecker logTextToBeChecked FEIN: Checking the following text in language 'en-US' via LanguageTool: "\n\n\n\nmicrotype 2023/01/01 nopatch=footnote \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\nBachelor's Thesis Jacob Pfundstein Un"... (truncated to 100 characters) Jan. 16, 2026 6:28:55 AM org.bsplines.ltexls.server.DocumentChecker checkAnnotatedTextFragment FEIN: Obtained 364 rule matches

"LTeX+ Language Client" log file

Details 2026-01-16T05:28:28.974Z Info: Setting LTeX UI language to 'en'. 2026-01-16T05:28:28.974Z Info: Loading i18n messages... 2026-01-16T05:28:28.986Z Info: Loading default i18n messages... 2026-01-16T05:28:28.988Z Info: 2026-01-16T05:28:28.988Z Info: ltex.ltex-ls.path not set. 2026-01-16T05:28:28.988Z Info: Searching for ltex-ls in 'c:\Users\jjpfs\.vscode-insiders\extensions\ltex-plus.vscode-ltex-plus-15.6.1\lib'... 2026-01-16T05:28:28.989Z Info: ltex-ls found in 'c:\Users\jjpfs\.vscode-insiders\extensions\ltex-plus.vscode-ltex-plus-15.6.1\lib\ltex-ls-plus-18.6.1'. 2026-01-16T05:28:28.989Z Info: 2026-01-16T05:28:28.989Z Info: Using ltex-ls from 'c:\Users\jjpfs\.vscode-insiders\extensions\ltex-plus.vscode-ltex-plus-15.6.1\lib\ltex-ls-plus-18.6.1'. 2026-01-16T05:28:28.989Z Info: Using Java bundled with ltex-ls as ltex.java.path is not set. 2026-01-16T05:28:28.989Z Info: Testing ltex-ls... 2026-01-16T05:28:28.989Z Info: Command: "\"c:\\Users\\jjpfs\\.vscode-insiders\\extensions\\ltex-plus.vscode-ltex-plus-15.6.1\\lib\\ltex-ls-plus-18.6.1\\bin\\ltex-ls-plus.bat\"" 2026-01-16T05:28:28.989Z Info: Arguments: ["--version"] 2026-01-16T05:28:28.989Z Info: env['JAVA_HOME']: undefined 2026-01-16T05:28:28.989Z Info: env['JAVA_OPTS']: "-Xms64m -Xmx2048m" 2026-01-16T05:28:37.440Z Info: Test successful! 2026-01-16T05:28:37.440Z Info: 2026-01-16T05:28:37.443Z Info: Starting ltex-ls... 2026-01-16T05:28:37.443Z Info: Command: "\"c:\\Users\\jjpfs\\.vscode-insiders\\extensions\\ltex-plus.vscode-ltex-plus-15.6.1\\lib\\ltex-ls-plus-18.6.1\\bin\\ltex-ls-plus.bat\"" 2026-01-16T05:28:37.443Z Info: Arguments: [] 2026-01-16T05:28:37.443Z Info: env['JAVA_HOME']: undefined 2026-01-16T05:28:37.443Z Info: env['JAVA_OPTS']: "-Xms64m -Xmx2048m" 2026-01-16T05:28:37.443Z Info:

Version information

  • Operating system: Windows 11 25H2
  • CPU manufacturer: AMD
  • VS Code: 1.109.0
  • vscode-ltex-plus: 15.6.1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    1-bug 🐛Issue type: Bug report (something isn't working as expected)2-unconfirmedIssue status: Bug that needs to be reproduced (all new bugs have this label)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions