Giter VIP home page Giter VIP logo

vscode-latex's Introduction

[DEPRECATED] VSCode-LaTeX README

Better LaTeX support is available - Time to Upgrade

I recommend you un-install this extension since it is no longer under development, and use one of the other options such as LaTeX Workshop in it's place. To highlight this to existing users upon activating the extension you will see a new warning message:

Warning Message

I want to keep using the extension - Stop Nagging Me

If you choose to continue to use the extension, click Don't Ask Again in the warning message. Which will create a setting in your VS Code User Settings to suppress the message from coming up again. Delete that setting "LaTeX.StopAsking": true when you do finally uninstall the extension.

We plan to un-publish the extension at some point to prevent new users from finding it when searching for LaTeX support. When this happens any local copy you have will continue to work. There will also be a .VSIX file in the extension repository should you want to get it and load it into VS Code.

Change Log

1.0.0

Added guidance to un-install extension based on other better options existing.

vscode-latex's People

Contributors

chrisdias avatar faustinoaq avatar msftgits avatar mwillsey avatar parasg1999 avatar xaverh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vscode-latex's Issues

something looks wrong with listings

Something looks wrong with lstlisting environment, just like this:
default
The \begin{...} and \end{...} can't match. Only when using lstlisting, it will happen.

Is it possible to add a snippet for tasks.json configuration?

Is it possible to add a snippet to the extension that gets invoked inside a tasks.json file and shows a basic latex->pdf compilation task, with configurations for mac, linux and windows (MikTex) and a problem matcher (comparable to the experience in TexStudio)?

Generalize TeX highlighting

Currently, only a small number of LaTeX commands are highlighted. However, in TeX, any token starting with \ is a command. So all of these tokens should be highlighted. Currently, they appear to be text content.

Examples of common LaTeX commands not being highlighted:

  • \setlength
  • \parbox
  • \vfill
  • \paperwidth
  • \makeatletter

โ€ฆ and so on. It does not seem to be feasible to include all LaTeX commands in the extension, so it should simply highlight all TeX commands. This also would make the bundle more useful for:

  • plain TeX
  • ConTeXt

Extension no longer under active development

Apologies for the delay here - as we have been working hard away at the core of VS Code this extension has gotten very little love. In part as the community has really stepped up and provided far better LaTeX support.

As a result of this I just pushed and update deprecating this extension in favor of a community alternative which I suggest you use LaTeX Workshop.

Again sorry for the radio silence here and we hope this will provide you with a much better experience moving forward. For now I'm closing any open issues and PRs as this extension is no longer under active development.

Sean - VS Code team member

Snippets need fixing, and autocomplete doesn't find labels.

Apologies for introducing two separate issues at once.

I am on VSCode v1.8, plugin v0.1.3, OSX (Sierra).

When I type eq<TAB>, I get

\begin{equation}
<cursor>
\end{equation}

as expected.

However, when I type ali<TAB>, I get

<cursor>\begin{align`echo TM_SCOPE|grep math|
sed -e 's/.*math.*/ed/'`}

\end{align`echo TM_SCOPE|grep math|
sed -e 's/.*math.*/ed/'`}

This aberrant behavior also crops up in the snippet for new environment. Typing begin<TAB> gives

\begin{env}
  \item )(?2:\item)/
\end{env}

I have not extensively tested all snippets; these are just the ones I happened to observe.

Secondly, please introduce autocompletion for labels (inserting references to equations, subequations, figures and tables). MWE:

\begin{equation}
\label{eq:test_eq_1}
x = a + b
\end{equation}

Using equation \ref{eq:<TAB>}

Here one hopes that the editor suggests relevant labels for completion.

Why are quoted strings preceded by a space "invalid.illegal"?

Referring to this line and its double-quote buddy: https://github.com/Microsoft/vscode-LaTeX/blob/master/syntaxes/latex.tmLanguage#L1628

Is there a reason that quoted strings preceded by whitespace are considered to be illegal? They seem to be perfectly valid in pdflatex, but perhaps I've missed something :)

This is particularly frustrating in this theme I'm using (which I appreciate isn't your responsibility), which has a bug making all "invalid.illegal" tokens invisible:

not invalid.illegal
invalid.illegal

Forgive me if this isn't the right place to ask!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.