Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug Report: LTeX Extension Not Working in VSCode #901

Open
Pelayoprogrammer opened this issue Jan 29, 2025 · 1 comment
Open

Bug Report: LTeX Extension Not Working in VSCode #901

Pelayoprogrammer opened this issue Jan 29, 2025 · 1 comment
Labels
1-bug 🐛 Issue type: Bug report (something isn't working as expected) 2-unconfirmed Issue status: Bug that needs to be reproduced (all new bugs have this label)

Comments

@Pelayoprogrammer
Copy link

Describe the bug
LTeX correctly detects capitalization errors but does not flag simple misspelled words. The language is set to English (US), and I have not modified the default configuration. Despite this, common spelling mistakes are not underlined, and no suggestions appear in the Problems tab. I'm running MacOs Sequoia in a Macbook Air M1 2020.

Steps to reproduce
Steps to reproduce the behavior:

Install the LTeX extension in VSCode.
Open a .tex or .md file.
Type a sentence with an intentionally misspelled word (e.g., "Thiss is an exampel").
Ensure LTeX is enabled and set to English (US).
Observe that capitalization errors are detected, but misspelled words are not flagged.

Expected behavior
LTeX should detect and underline misspelled words, providing suggestions in the Problems tab.

Sample document

\documentclass{article}
\begin{document}

These ducument is not wel writen.

\end{document}

LTeX configuration
{
"workbench.colorTheme": "Default Dark Modern",
"python.defaultInterpreterPath": "/Users/pelayodelvallecalzada/miniforge3/envs/numba_env/bin/python",
"security.workspace.trust.untrustedFiles": "open",
"window.zoomLevel": 1,
"editor.minimap.enabled": false,
"latex-workshop.latex.tools": [

    {
        "name": "latexmk",
        "command": "latexmk",
        "args": [
            "-shell-escape",
            "-synctex=1",
            "-interaction=nonstopmode",
            "-file-line-error",
            "-pdf",
            "-outdir=%OUTDIR%",
            "%DOC%"
        ],
        "env": {}
    },
    {
        "name": "lualatexmk",
        "command": "latexmk",
        "args": [
            "-synctex=1",
            "-interaction=nonstopmode",
            "-file-line-error",
            "-lualatex",
            "-outdir=%OUTDIR%",
            "%DOC%"
        ],
        "env": {}
    },
    {
        "name": "xelatexmk",
        "command": "latexmk",
        "args": [
            "-synctex=1",
            "-interaction=nonstopmode",
            "-file-line-error",
            "-xelatex",
            "-outdir=%OUTDIR%",
            "%DOC%"
        ],
        "env": {}
    },
    {
        "name": "latexmk_rconly",
        "command": "latexmk",
        "args": [
            "%DOC%"
        ],
        "env": {}
    },
    {
        "name": "pdflatex",
        "command": "pdflatex",
        "args": [
            "-synctex=1",
            "-interaction=nonstopmode",
            "-file-line-error",
            "%DOC%"
        ],
        "env": {}
    },
    {
        "name": "bibtex",
        "command": "bibtex",
        "args": [
            "%DOCFILE%"
        ],
        "env": {}
    },
    {
        "name": "rnw2tex",
        "command": "Rscript",
        "args": [
            "-e",
            "knitr::opts_knit$set(concordance = TRUE); knitr::knit('%DOCFILE_EXT%')"
        ],
        "env": {}
    },
    {
        "name": "jnw2tex",
        "command": "julia",
        "args": [
            "-e",
            "using Weave; weave(\"%DOC_EXT%\", doctype=\"tex\")"
        ],
        "env": {}
    },
    {
        "name": "jnw2texminted",
        "command": "julia",
        "args": [
            "-e",
            "using Weave; weave(\"%DOC_EXT%\", doctype=\"texminted\")"
        ],
        "env": {}
    },
    {
        "name": "pnw2tex",
        "command": "pweave",
        "args": [
            "-f",
            "tex",
            "%DOC_EXT%"
        ],
        "env": {}
    },
    {
        "name": "pnw2texminted",
        "command": "pweave",
        "args": [
            "-f",
            "texminted",
            "%DOC_EXT%"
        ],
        "env": {}
    },
    {
        "name": "tectonic",
        "command": "tectonic",
        "args": [
            "--synctex",
            "--keep-logs",
            "--print",
            "%DOC%.tex"
        ],
        "env": {}
    }
],
"latex-workshop.latex.recipes": [
    {
        "name": "latexmk",
        "tools": [
            "latexmk"
        ]
    },
    {
        "name": "latexmk (latexmkrc)",
        "tools": [
            "latexmk_rconly"
        ]
    },
    {
        "name": "latexmk (lualatex)",
        "tools": [
            "lualatexmk"
        ]
    },
    {
        "name": "latexmk (xelatex)",
        "tools": [
            "xelatexmk"
        ]
    },
    {
        "name": "pdflatex -> bibtex -> pdflatex * 2",
        "tools": [
            "pdflatex",
            "bibtex",
            "pdflatex",
            "pdflatex"
        ]
    },
    {
        "name": "Compile Rnw files",
        "tools": [
            "rnw2tex",
            "latexmk"
        ]
    },
    {
        "name": "Compile Jnw files",
        "tools": [
            "jnw2tex",
            "latexmk"
        ]
    },
    {
        "name": "Compile Pnw files",
        "tools": [
            "pnw2tex",
            "latexmk"
        ]
    },
    {
        "name": "tectonic",
        "tools": [
            "tectonic"
        ]
    }
],
"workbench.editorAssociations": {
    "*.pdf": "latex-workshop-pdf-hook"
},
"editor.wordWrap": "on",
"latex-workshop.view.pdf.internal.synctex.keybinding": "double-click",
"codeium.enableConfig": {
    "*": true,
    "latex_workshop_log": true,
    "latex": false
},
"editor.suggest.showWords": false,
"ltex.diagnosticSeverity": "warning",
"ltex.disabledRules": {},
"ltex.additionalRules.motherTongue": "en-US",
"ltex.completionEnabled": true,

}

Version information

  • Operating system:macOS 14.2
  • VS Code: 1.96.4
  • vscode-ltex: 13.1.0
@Pelayoprogrammer Pelayoprogrammer added 1-bug 🐛 Issue type: Bug report (something isn't working as expected) 2-unconfirmed Issue status: Bug that needs to be reproduced (all new bugs have this label) labels Jan 29, 2025
@BlinkingJoe
Copy link

Same behaviour in Mac OS 15.3.1 (M4) for
VS Code 1.97.1
LTeX 13.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1-bug 🐛 Issue type: Bug report (something isn't working as expected) 2-unconfirmed Issue status: Bug that needs to be reproduced (all new bugs have this label)
Projects
None yet
Development

No branches or pull requests

2 participants