Closed Cthutu closed 1 month ago
I can work around these issues by
Based on "LTeX Language Server" log file, you opened a txt file ('requirements.txt'). LTeX+ is not activating itself on txt files and neither does the original LTeX.
Do you write in txt on a regular basis? If yes, we can consider activating LTeX+ on txt files.
I do - but if there is a way to turn it on auto for a given file extension, that would be enough. Actually, the file I was working on was not "requirements.txt" but another .txt file. Which is strange, because the following line shows text from the file I was working on (e.g. .rumours
). I can't remember if I had a "requirements.txt" open at the time (which is a file used with Python programming), but I was definitely not working on it when I manually activated LTex. I was working on a file called wofm.txt
.
However, even after manual activation, I am not seeing any code actions for unknown words or spelling mistakes.
Please have a look on following setting: https://ltex-plus.github.io/ltex-plus/settings.html#ltexenabled
Setting "ltex.enabled": ["plaintext"]
in your configuration should solve your issue. Please don't forget to restart VS Code after activating this setting.
Hi! Per the maintainer guidelines, this issue is automatically closed because it has been stale for too long. The most common reason for an issue to become stale is missing information from its submitter (see one of the previous comments). If the missing information is provided, the issue will be reopened again. Thank you!
Describe the bug
First of all thanks for the fork!
I've followed the instructions to install it and there are missing features that I experienced in the original codebase.
Firstly, the extension doesn't seem to check automatically. I have to run the
Check current document
command for it to underline anything.Secondly, there doesn't seem to be any code actions. For example, for a word that is not known, I would expect a code action to add it to the dictionary. VS Code responds with
No code actions available
.Steps to reproduce
Check Current Document
. Ltex finds all the error.Expected behavior I expect Ltex to show underlines immediately on opening document. I expect code actions to be listed on underlined words.
Sample document
LTeX configuration
"LTeX Language Server" log file
"LTeX Language Client" log file
Version information