-
Notifications
You must be signed in to change notification settings - Fork 537
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
same line \begin, \end behavior is counterlogical #2061
Comments
It is not clear if we can really fix this in the extension. Indentation is handled by vscode itself, see https://code.visualstudio.com/api/language-extensions/language-configuration-guide#indentation-rules It is easy to come up with regex that skip |
Ensuring that the line after \begin{equation}\begin{cases} x \\ y \end{cases} However, ensuring that the |
Thank you for the quick attention. This solution should work well for my purposes. |
When embedding an environment within a single line such as
\begin{bmatrix}0\\0\\1\end{bmatrix}
LaTeX Workshop unnecessarily de-indents the line upon typing the second{
. If the line is then re-indented manually, Workshop will indent the subsequent line once more than the current line's indentation. Can Workshop be made to instead detect that the\begin
matching the\end
is on the current line and therefore not de-indent?The text was updated successfully, but these errors were encountered: