Sublime Forum

Toggle comment in BibTeX files

#1

In LaTeX, one can add a comment by adding %. When editing .tex files, comments can be easily and conveniently added in ST by using the key binding that triggers toggle_comment. Unfortunately, the key binding does not work for .bib files. Would it be possible to add the comment toggle to BibTeX files? I am posting here because I am not sure whether this request should be made to ST or LaTeXTools. Thanks!

0 Likes

#2

Most likely caused by LaTeXTools assigning dedicated Biblatex syntax. It is working with ST’s default BibTex. Easy fix.

1 Like

#3

@deathaxe, thank you so much!!

For posterity, this has been fixed in LaTeXTools v4.5.10. To automatically open .bib files with BibLaTeX syntax, one can add to LaTeXTools preferences the following: "use_biblatex": true,.

0 Likes