SublimeText / LaTeXTools

LaTeX plugin for Sublime Text
https://latextools.readthedocs.io/
2.01k stars 365 forks source link

Support for TikZ/PGF #1079

Open r-stein opened 7 years ago

r-stein commented 7 years ago

Since TikZ/PGF is very common and used by a lot of people way may add support for that. What would you expect to be added to support TikZ/PGF?

Required:

Should be added:

Optional:

I have started to write a TikZ/PGF syntax to enrich the default LaTeX syntax (and create a PR there), you can test it here.

juanfal commented 1 year ago

I've dropped the file with the syntax LaTeX (TikZ-PGF).sublime-syntax into Users/ and it seems to work fine, but as with [LaTeX (TikZ).tmLanguage](https://github.com/LaTeXing/LaTeX-TikZ/blob/master/LaTeX%20(TikZ).tmLanguage) you miss the power of LaTeXTools when you switch to TikZ… Would it be possible to include this (it looks quite more better) syntax into LaTeXTools?

I deleted the .tex extensions for this.

%YAML 1.2
---
# http://www.sublimetext.com/docs/3/syntax.html
name: LaTeX (TikZ/PGF)
# name: LaTeX
file_extensions:
  - tikz
  - fig
scope: text.tex.latex