This is currently not implemented in LaTeXTools and there is no package, which adds this functionality to it. However it will be implemented in the future. Since cwl support has only recently (November 2015) added to LaTeXTools, it still requires improvements. There is already a PR to include it, but is has conflicts with other already merged functionalities (e.g. cwl completion for environments).
Until it is included you have two possibilities:
- recommended You can manually add the packages to the packages list. Open your settings and add the entry:
"cwl_list": [
"tex.cwl",
"latex-209.cwl",
"latex-document.cwl",
"latex-l2tabu.cwl",
"latex-mathsymbols.cwl"
]
these are the basic included packages. Now you can add the packages you usually use to the list with a .cwl
appended. E.g.:
"cwl_list": [
"tex.cwl",
"latex-209.cwl",
"latex-document.cwl",
"latex-l2tabu.cwl",
"latex-mathsymbols.cwl",
"amsmath.cwl",
"color.cwl"
]
This is not automatically, but I think it will solve your problem.
- You can manually checkout the branch of the PR: Open your Packages folder and remove the LaTeXTools packages. Open a bash in the folder and write:
git clone https://github.com/ig0774/LaTeXTools.git -b cwl_autoload
. This will clone the branch into your packages folder. However I would not recommend this, because you won't get new features and bugfixes.
Best Answer
A bit late, but LaTeXTools just added this feature in the last two weeks. Basically as soon as you press
\
, start typing, it will pop up a list of suggestions. The (brief) docs on this feature can be found here.