ajshort / vscode-latex-preview

Compilation and embedded preview of LaTeX documents for Visual Studio Code
MIT License
32 stars 11 forks source link

VS Code 1.28.1 Issues #25

Open mwrouse opened 5 years ago

mwrouse commented 5 years ago

First of all, this extension is fantastic. Latex Workshop is just too complicated to use for us who just want to do simple things, and have simple ways to do them.

However, it appears the is a problem with this extension and Visual Studio Code 1.28.1 (see below for Help > About dialog).

  1. .tex file extension does not appear in list of file types for Visual Studio Code, and .tex files do not have syntax highlighting.

  2. Preview button only appears for a split second when opening Visual Studio Code and then disappears.

Hopefully this isn't just me because I can't figure this out, and I am not familiar enough with VS Code extensions to dig into the source.

Here is what I get when I run latex --version:

PS C:\Users\mwrou> latex --version
MiKTeX-pdfTeX 2.9.6668 (1.40.19) (MiKTeX 2.9.6800 64-bit)
Copyright (C) 1982 D. E. Knuth, (C) 1996-2018 Han The Thanh
TeX is a trademark of the American Mathematical Society.
using bzip2 version 1.0.6, 6-Sept-2010
compiled with curl version 7.56.1; using libcurl/7.56.1 WinSSL
compiled with expat version 2.2; using expat_2.2.0
compiled with jpeg version 9.2
compiled with liblzma version 50020032; using 50020032
compiled with libpng version 1.6.34; using 1.6.34
compiled with libressl version LibreSSL 2.5.3; using LibreSSL 2.5.3
compiled with MiKTeX Application Framework version 3.6802; using 3.6802
compiled with MiKTeX Core version 8.6811; using 8.6811
compiled with MiKTeX Archive Extractor version 1.6300; using 1.6300
compiled with MiKTeX Package Manager version 3.6810; using 3.6810
compiled with poppler version 0.60.1
compiled with uriparser version 0.8.4
compiled with zlib version 1.2.11; using 1.2.11

 

Help >About:

Version: 1.28.1 (user setup)
Commit: ############################
Date: 2018-10-11T18:13:53.910Z
Electron: 2.0.9
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
Architecture: x64
ajshort commented 5 years ago

Thanks for the report! In regards to (1), this extension doesn't actually include syntax highlighting for latex files (only preview).