Skip to content

Releases: latex-lsp/texlab

v5.21.0

26 Oct 13:10
Compare
Choose a tag to compare

Added

  • Support starred variants in "Go to References" (#1234)
  • Add texlab.latexindent.replacement setting to allow passing a replacement flag to latexindent (#1222)
  • Don't require a label to show section numbers for document symbols (#910)
  • Support navigating to files that are part of the TEXINPUTS similar to BIBINPUTS (#1228)

Fixed

  • Fix opening untitled documents (#1242)
  • Handle \bibitem when checking for undefined references (#1171)
  • Fix false-positive syntax error when using a command inside a \label (#879)

v5.20.0

08 Oct 07:38
Compare
Choose a tag to compare

Added

  • Add texlab.inlayHints.maxLength setting to allow limiting inlay hint text length (#1212)
  • Allow suppressing diagnostics using % texlab: ignore magic comments (#1211)

Fixed

  • Fix enabling texlab.build.useFileList setting
  • Make "Goto Definition" work correctly with starred commands (#1197)

v5.19.0

08 Jul 18:20
Compare
Choose a tag to compare

Added

  • Add texlab.build.useFileList setting to allow controlling whether to use the .fls files

Changed

  • Disable using .fls files for project detection by default

v5.18.0

06 Jul 08:46
Compare
Choose a tag to compare

Added

  • Parse .fls files to make the project detection more reliable (#1145)

Fixed

  • Fix parsing commands with unicode characters inside BibTeX entries
    (#1147)
  • Improve detection of included files when non-ASCII characters are used (#923)
  • Fix resolving includes starting from files included using \subimport (#1145)

v5.17.0

23 Jun 09:04
Compare
Choose a tag to compare

Added

  • Add label commands from zref and zref-clever to the list of default label commands
    (#1140)
  • Add texlab.experimental.labelDefinitionPrefixes and
    texlab.experimental.labelReferencePrefixes options (#1139)

v5.16.1

25 May 07:21
Compare
Choose a tag to compare

Fixed

  • Don't treat \label{} and \ref{} with macro parameter as label commands (#1119)
  • Fix parsing latexmkrc for latexmk versions older than v4.8.4 (#1128)
  • Remove unused texlab.rootDirectory setting from documentation

v5.16.0

01 May 11:57
8d513ca
Compare
Choose a tag to compare

Added

  • Add texlab.experimental.labelDefinitionCommands setting to customize the list of \label-like commands
    (#1093)
  • Extend list of commands treated as command definitions and environment definitions (#1087)
  • Allow the server to trigger the forward search in an editor-agnostic way:
    Running texlab inverse-search --input <FILE> --line <LINE> will open the specified document in the editor if the client supports it
    (#1091)

Fixed

  • Fix detection of log dir when using latexmkrc (use $aux_dir instead of $out_dir) (#1079)
  • Fix extracting $aux_dir and $out_dir from latexmkrc (#1079)
  • Add support for extracting $aux_dir and $out_dir from latexmk >= v4.85 ((#1079))
  • Improve log file change detection under Windows
  • Cleanup diagnostics of deleted files
  • Let \declaretheorem accept a list of environment names instead of just a single name (#1075)
  • Use configured directories if not set explicitly by latexmkrc file (#1095)

v5.15.0

21 Apr 12:42
Compare
Choose a tag to compare

Added

  • Replace tilde (~), environment variables, ${userHome}, ${workspaceFolder} in options
  • Replace tidle (~) and environment variables in \include-like commands
  • Add "Go To Definition" support for user-defined commands with \def and \let (#1081)
  • Add "Find all References" for commands (#1082)
  • Support more macros for defining commands (#1083)

Fixed

  • Avoid panicking when malformed URIs are sent to the server (#1078)
  • Don't report errors for citations with macro arguments (#1080)

v5.14.1

27 Mar 19:55
Compare
Choose a tag to compare

Fixed

  • Fix parsing \label with options (for example, when using cleverref) (#1056)
  • Fix detecting project root if the home directory contains a .latexmkrc file (#1061)

v5.14.0

24 Mar 10:01
Compare
Choose a tag to compare

Added

  • Improve support for handling Tectonic.toml projects (#1014)
  • Cache results of project detection to improve performance
  • Triggering completion inside \label{...} will suggest undefined labels (#1046)
  • Add snippets for \( ... \), \[ ... \] and \{ ... \} (#1010)

Fixed

  • Don't return document symbol with empty name if \item[] is encountered (#1040)
  • Fix extracting label numbers inside theorems defined by ntheorem package (#1053)