Hi everybody,
I’am using ST3 with LaTeXTools [1], LaTeX-cwl and Skim as PDF viewer (on macOS Sierra).
Everything is OK including :
- forward AND reverse sync betwwen Skim and ST3 (yes !!!);
- “classic” command completion (one of the most important features for me)
And my question is: how to include personal custom LaTeX command or environment in order to have
autocompletion?
I have read that it’s possible to write my own cwl file. Is it the right way for personal command autocompletion?
If yes, I have 3 precise questions:
-
What is the right syntax for cwl files? Maybe (quite sure) I can use the examples here : https://github.com/LaTeXing/LaTeX-cwl
-
Where to put my personal cwl file? I have read in :
~/Library/Application Support/Sublime Text 3/Packages/User/cwl/
(for a mac). Is it right? -
How to say (to ST? to LaTeXTools? to LaTeX-cwl?) to use my perso.cwl file ? I made
some tests and after restarting ST: nothing at all !
I begin to became crazy with this. Please help !
Thanks everybody, and happy sublime editing or coding.
–
Pierre
From France (sorry for my poor english)
[1] After research I have discovered another LaTeX plug : LaTeXing. Because everything
(except personal command completion) works, I don’t want to switch right now. Maybe later,
if you give me some good reason