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

Enable Entire Category (or all rules?) #320

Open
georgev93 opened this issue Jan 4, 2025 · 0 comments
Open

Enable Entire Category (or all rules?) #320

georgev93 opened this issue Jan 4, 2025 · 0 comments
Labels
1-question ❓ Issue type: General or specific question about LTeX

Comments

@georgev93
Copy link

Is there a way to enable an entire category via my settings JSON? Ideally, I'm trying to enable all rules (and probably then disabling many of those rules), but I think there might be value in enabling them category by category.

As a very simple example, take a look at the IT_IS_OBVIOUS rule. It's not enabled by default, and it's not even enabled with picky enabled. However, if you explicitly enable IT_IS_OBVIOUS, then it ltex-ls will catch it.

IT_IS_OBVIOUS belongs to a group of one: The “Academic Writing” category with ID TON_ACADEMIC. But I can't enable the rule TON_ACADEMIC. I would think one would be able to enable/disable entire categories by their ID because I don't believe category names conflict with any of the rule names. Also, the LanguageTool CLI had the --enablecategories and --disablecategories options.

Is there something I'm missing?

@georgev93 georgev93 added the 1-question ❓ Issue type: General or specific question about LTeX label Jan 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1-question ❓ Issue type: General or specific question about LTeX
Projects
None yet
Development

No branches or pull requests

1 participant