atom-latextools icon indicating copy to clipboard operation
atom-latextools copied to clipboard

how to trigger auto completion in math mode?

Open randy3k opened this issue 9 years ago • 2 comments

I have no idea how to do it....it seems that none of the snippets work in the math mode.

randy3k avatar Jun 25 '16 03:06 randy3k

Depends on what you mean by don't work... Snippets do work in the sense that entering a prefix + tab seems to fill in a snippet, but the autocomplete menu doesn't appear. This is discussed here. The underlying issue appears to be related to the scope being set to "string.other.math..." by language-latex. Basically, another set of problems caused by the legacy of TextMate's LaTeX syntax.

ig0774 avatar Jun 25 '16 16:06 ig0774

Hi @randy3k and @ig0774, I am a collaborator of language-latex package and just happened to find this issue. As is already mentioned in this thread, snippet expansion does work while snippet autocompletion doesn't in math mode. This problem should be fixed by area/language-latex#137 and some details are explained in the PR.

The PR is a part of the next major update, so it will take a while to be released. That being said, you can test the topic branch already and I would appreciate it you could give us some feedback!

yudai-nkt avatar Aug 08 '17 15:08 yudai-nkt