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

LaTeX-cwl prevents snippets from appearing in the autocompletion list #1591

Open
quantum-mob opened this issue Jan 11, 2024 · 1 comment
Open

Comments

@quantum-mob
Copy link

It seems that the LaTeX-cwl plugin prevents snippets from appearing in the autocompletion popup. If I remove LaTeX-cwl (or set "command_completion": "never" in LaTeXTools settings), then snippets appear in the autocompletion list as expected.

Is this intended with LaTeX-cwl or a bug? Or, am I missing something?

I'm using Sublime Text 4 (4169) on macOS.

@odapg
Copy link

odapg commented Feb 3, 2024

@quantum-mob I believe this to be intended, I encountered the same behaviour.
On my side, to get the snippets back, I changed the code in latex_cwl_completions.py as follows: line 315, change

        return (  
            completions,  
            sublime.INHIBIT_WORD_COMPLETIONS |
            sublime.INHIBIT_EXPLICIT_COMPLETIONS
        )

into

        return (  
            completions,  
            sublime.INHIBIT_WORD_COMPLETIONS  
        )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants