Skip to content
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

Environment snippet misses a placeholder #963

Closed
Mjx121418 opened this issue Nov 15, 2023 · 0 comments · Fixed by #974
Closed

Environment snippet misses a placeholder #963

Mjx121418 opened this issue Nov 15, 2023 · 0 comments · Fixed by #974

Comments

@Mjx121418
Copy link

Mjx121418 commented Nov 15, 2023

https://github.com/latex-lsp/texlab/blob/867dbc9115493da608ada886ea95fbfdfed1b65c/crates/texlab/src/features/completion.rs#L169C9-L174C84

Currently, the completion of environments gives only one placeholder inside the braces. There used be another placeholder inside the environment.

@Mjx121418 Mjx121418 changed the title Environment snippets misses a placeholder Environment snippet misses a placeholder Nov 15, 2023
pfoerster added a commit that referenced this issue Dec 3, 2023
Move the cursor inside the new environment after completing the \begin snippet.

Fixes #963.
netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this issue Dec 18, 2023
## [5.12.0] - 2023-12-03

### Added

- Infer `texlab.build.auxDirectory`, `texlab.build.logDirectory` and `texlab.build.pdfDirectory` from `latexmkrc` if available ([#907](latex-lsp/texlab#907))

### Fixed

- Do not report `undefined reference` errors when using `\nocite{*}` ([#964](latex-lsp/texlab#964))
- Fix potential crash when parsing build log files ([#973](latex-lsp/texlab#973))
- Set the final tab stop of the `\begin` snippet inside the environment ([#963](latex-lsp/texlab#963))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant