Newer
Older
## [9.9.0] - 2023-04-29
### Added
- (#3855) `latex.clean.fileTypes` support placeholders.
### Fixed
- (#3811) `\include` suggestion does not have file extension.
- (#3812) Fix computation of the section above current position.
- (#3813) Lazy load `usepackage` regex.
- (#3815) Detect more warnings of LaTeX log.
- (#3817) Let `)` may also close `[` when stripping text.
- (#3820) Swap symbols of `epsilon` and `varepsilon`.
- (#3827) Consider `\markdownInput` as input.
- (#3832) Change caption in BTA to top, add a BTB snippet.
- (#3841) `code-server` not loading PDFs from built-in PDF viewer.
- (#3842) Fix environment navigation and content selection for `$...$` and `$$...$$`.
- (#3844) Add port conflict warning to `internal.port` config.
## [9.8.2] - 2023-03-29
### Fixed
- (#3790) Resolving `bib` files according to `rootDir`.
- (#3791) Do not consider `%` in url encoding as comment.
- (#3794) No need to call `findRoot` on did open text document.
## [9.8.1] - 2023-03-24
### Fixed
- (#3787) Root finding fails when optional arguments of `\documentclass` have new lines.
## [9.8.0] - 2023-03-24
### Added
- (#711) Outline for .dtx file.
- Implements basic .dtx outline with macro and environment document parsing. Guards are not parsed yet.
- (#3722) All viewer configs are now responsive to changes without reloading.
- (#3728) Auto clean can be triggered on success.
- (#3741) Add a `!LW recipe` magic comment to set recipe.
- (#3767) Add a new config `intellisense.package.exclude` to exclude package intellisense.
- (#3786) Add a new config `latex-workshop.latex.jobname` to define jobname.
### Changed
- (#3731) Use backspace and shift+bk to navigate the viewer.
- (#3735) Current root is prioritized on root-finding if there are multiple candidates.
- (#3743) Use `\documentclass[]{}` to detect root.
- (#3770) Refactor EnvPair module and use the `latexParser` to build an AST `CommandPair` of all the pairs in the current file.
### Fixed
- (#3747) Strip `%` comments from bibtex for parsing.
- (#3749) Viewer pages do not overflow.
- (#3751) Fast parse don't include `\s*[{` as args
- (#3778) Associate log warnings with no line number to line 1.
## [9.7.0] - 2023-02-14
### Added
- Update grammar files.
- (#3699) Add a pair of new commands to change hostname of the PDF viewer.
- `latex-workshop.changeHostName` and `latex-workshop.resetHostName`.
### Changed
- LaTeX Workshop now requires VSCode 1.74.0+.
### Fixed
- Properly provide pair commands from `tex.cwl` and `latex-document.cwl`.
- (#3715) latexindent can format `.cls` and `.sty` files.
- (#3716) Command surrounding may have one more brace if a text placeholder is present.
- (#3718) Remove redundant `left`/`right` commands.
- (#3719) Properly provide `expl3` suggestions.
## [9.6.2] - 2023-02-08
### Fixed
- (#3679) remove `detached: true` when spawning `clean` command.
- (#3694) Add file polling for binaries (e.g. PDF).
- Resume the use of `latex-workshop.latex.watch.pdf.delay` config to control binary polling.
- (#3700) Support file path suggestion for `\subfileinclude`.
- (#3701) Partial support to `\DeclarePairedDelimiter` environments with `*` in math preview.
- (#3705) Support `multline` environment in math preview.
## [9.6.1] - 2023-02-03
### Fixed
- Remove unnecessary PDF viewer dropdown menu elements.
- Reenabled fast parse on document contents for intellisense and outline.
- Now fast parse can properly handle `label={eq1}`-like syntax.
- (#3682) Visually activate hand tool in viewer.
- (#3683) Explain on the conflict with extension `vscode-pdf`.
### Internal
- Change to use `vscode.FileSystemWatcher` to watch project files intead of `chokidar`.
- The current version of `chokidar` possibly fails to emit events on `git pull`.
## [9.6.0] - 2023-01-29
### Added
- Support PDF viewer in code server.
### Fixed
- (#3662) Use `path.resolve` to find pkg json file
### Internal
- Reduce complexity of command finder.
- `whichPackageProvidesCommand` is simplified by using a universal cmd suggestion array.
- `commandSignatureDuplicationDetector` check is advanced.
- Expand cacher to cache AST of files, notable reducing the parsing times.
- Update grammar files to `jlelong/vscode-latex-basics@16ac438`.
## [9.5.0] - 2023-01-23
### Added
- (#3641)Support cross-ref from `xr` package.
- (#3650) New config `intellisense.command.user` to add/change/delete default commands.
- Rename `intellisense.atSuggestionJSON.replace` to `intellisense.atSuggestion.user`.
- (#3658) Add config `intellisense.label.command` to enable label definitions other than `\label{}`.
### Fixed
- No repeat find root calls on active editor change
- (#3654) Don't enforce `-cd` on `latexmk` and `subfiles`.
- (#3657) A condition bug on `newcommand` detection.
## [9.4.5] - 2023-01-13
### Fixed
- New command finder now honors argument and optional one list.
- Entries in `bibtex-entries.first` should also be sorted.
- (#3585) A better description to `latex.watch.files.ignore` config.
- (#3640) Resolve a package conflict with `isort` that may prevent command suggestion.
## [9.4.4] - 2023-01-10
### Fixed
- (#3633) Embedded PDF viewer can copy texts.
- (#3634) `latexindent` cannot be directly called in the first invoke.
- (#3638) Itemize and enumerate completion injects `\\n\\t`.
## [9.4.3] - 2023-01-08
### Fixed
- (#3631) Fix error in SyncTeX with only `.synctex.gz` file.
## [9.4.2] - 2023-01-08
### Fixed
- Environment optional argument intellisense works again.
## [9.4.2] - 2023-01-08
### Fixed
- Environment optional argument intellisense works again.
## [9.4.1] - 2023-01-08
### Fixed
- Allow for parentheses in pkg/doc options for intellisense.
## [9.4.0] - 2023-01-08
### Added
- Base `beamer` and `tikz` intellisense.
- (#3612) Intelli-package dependency obeys package options.
- (#3628) More concise log messages.
### Fixed
- Refresh pdf viewers of only changed pdfs.
- Embedded viewer follows vscode light/dark theme, browser viewer follows OS theme.
- (#3630) Reconnect multiple times to viewer after OS sleep and wake up.
## [9.3.0] - 2023-01-05
### Added
- Class/package options now provide snippet completion.
- (#3617) More structure/outline configurations.
- Floats can now be nested
- Add config `view.outline.floats.caption.enabled` to disable float caption.
- Add `config view.outline.numbers.floats.enabled` to show float number.
- (#3618) Now all extension config items are free from vscode reload
- Selected ones related to viewer display requires to reopen the pdf viewer.
- (#3619) Command and environment intellisense are now based on packages used and their options if `latex-workshop.intellisense.package.enabled` is `true`.
### Changed
- Deprecated config items are removed.
- Let's use fast parse for structure/outline by default.
- (#3603) Remove unicode chars in recipe names.
### Fixed
- (#3611) Filter package cmds/envs with %, remove arg % part.
## [9.2.2] - 2022-12-31
### Fixed
- (#3607) Try reconnect websocket multiple times after operating system sleep.
- (#3610) Catastrophic backtracking of argument regex that may cause unresponsiveness on intellisense from a long line.
## [9.2.1] - 2022-12-28
### Fixed
- Performance regression due to improper caching of package intellisense data.
## [9.2.0] - 2022-12-23
### Added
- (#3579) Intellisense for optional arguments.
### Changed
- `intellisense.useTabStops.enabled` does not prevents tabbing.
- It is replace with a new `intellisense.argumentHint.enabled` config.
- (#3594) Hinting data for many packages are updated.
### Fixed
- (#3578) Force no indent after `\begin{document}`.
## [9.1.1] - 2022-12-08
### Fixed
- (#3566, #3569) Make sure command names start with a `\`.
- (#3568, #3570) Use delay to prevent simultaneous auto build by file save or change.
- (#3571) Handle rejected promise on bib parsing.
## [9.1.0] - 2022-12-02
### Added
- (#3539) Add completion for environment starting with a `+`.
- (#3546) Completion in comma separated lists.
### Changed
- (#3540) Use `ctrl+shift+m` instead of `cmd+m` for macos keybindings.
- (#3550) Open http(s) directly from viewer, prompt to open for others.
### Fixed
- Fix wrong count of tools in recipe.
- (#3502) `href` boxes in viewer misplaced on trim.
- (#3549) Use base file name for latexindent temp file.
- (#3556) `check` icon in status on failed builds.
## [9.0.1] - 2022-11-08
### Fixed
- (#3526) The total number of tools in a recipe displays timestamp if there are more than one tools.
## [9.0.0] - 2022-11-07 - Builder Update
### General
- LaTeX Workshop refactored the previous builder logic and adopt a new queue based implementation.
- Details are recorded in (#3514).
- If you experience anything unusual, please file an issue and rollback to previous versions temporarily.
- PDF.js is updated to version 3.
### Added
- (#3451) Clean arguments now accepts placeholders.
- (#3468) Parse page number in fullbox logs.
- (#3488) Add `pageBorderColor` config for pdf viewer.
### Changed
- Copy `href` to clipboard instead of directly opening when clicking on embedded internal PDF viewer.
- (#3444) `view.outline` configs are now responsive without vscode reload.
### Fixed
- Enable completion on the first line of a `.bib` file.
- (#3445) Use source file extension to create temp indent file for `latexindent`.
- (#3419) Math preview also shows `flalign`.
- (#3478) Typo in `hyphenrules` newenv.
- (#3520) Select current environment content/name not working.
## [8.29.0] - 2022-08-25
### Added
- (#3400) Add an experimental faster AST-based structure construction.
- Disabled by default. Can be enabled from `view.outline.fastparse.enabled`.
- (#3421) Provide file completion for `includesvg`.
- (#3423) Support sticky scrolling.
### Fixed
- Fix wrong structure: first section is child of preamble labels.
- (#3404) Fix `\input` arg does not take filenames with underscores.
- (#3408) Ctrl+A (Select All) grays out PDF preview.
- (#3411) Fix linter logs won't clear after all warnings fixed.
- (#3412) Ignore `\newenvironment` content when scanning for duplicate labels.
## [8.28.0] - 2022-07-25
### Added
- (#3342) Add `%` comments to bibtex.
- (#3347) Add "go to definition" support for glossaries and acronyms.
- (#3353) Clean up demanded empty folders after removing auxiliary files.
- (#3355) Add deprecated config alert on activating extension.
- (#3359) Enhance glossary completion.
- (#3360) Add support to `LaCheck`.
### Fixed
- (#3330) Pdf Viewer (Browser) does not refresh on Safari.
- (#3340) Typo in `exam` class intellisense data.
- (#3341) Add intellisense for labels with one optional arg.
- (#3344) Default zoom level of PDF viewer not working on `v8.27.0+`.
- (#3349) Make sure to populate documentation before returning a citation entry.
## [8.27.2] - 2022-06-08
### Fixed
- This time should really fix the `view` button issue.
## [8.27.1] - 2022-06-08
### Fixed
- (#3324) Fix the `view` command.
## [8.27.0] - 2022-06-07
### Added
- (#3316) Support `pageColorsForeground` and `pageColorsBackground` for the internal PDF viewer.
- Configurations `chktex.args.active` and `chktex.args.root` are deprecated in favour of `chktex.exec.args`.
- Configuration `chktex.args.path` is deprecated in favour of `chktex.exec.path`.
- Configuration `view.pdf.backgroundColor` is deprecated in favour of `view.pdf.color.light.backgroundColor` and `view.pdf.color.dark.backgroundColor`.
### Fixed
- (#2537) Reveal `.tex` tab if open when using internal `synctex`.
- (#3283) Refactor glossary intellisense data scanning.
- Stop directly accessing `node.kind`. Instead use the `latexParser.isXXX` methods.
- Use `stringify` to recompute labels and descriptions. Solves #3280.
- (#3289) Wrong indentation of new items in tabs indented `itemize` environment.
- (#3290) `/` is missing when using `%RELATIVE_DIR%` and `%RELATIVE_DOC%`.
- (#3296) Fix hover and provide definition for commands.
- Refactor the `tokenizer` used to determine the command under cursor, if any. A LaTeX command name can only contain letters.
- Fix `provideDefinition` for commands: tokenized commands start with `\`. Solves #3294.
- Do not show link or `texdoc` command for 'user-defined' package: this is the package used for commands defined directly in the file.
## [8.26.0] - 2022-05-05
### Added
- (#3252) Refactor structure to add caching.
- (#3260) Use eventbus to manage structure updates.
- (#3275) Add CTAN link to hover on package.
- (#3279) `onEnterKey` supports multi-cursors when all selected lines start with `\item`.
### Changed
- (#3263) Remove a configuration on `markdown.latex.codeblock`.
### Fixed
- (#3250) Add deprecation message to `intellisense.citation.maxfilesizeMB`.
- (#3253) When editing a `markdown_latex_combined` document, command `latex-workshop.onEnterKey` was not found.
- (#3256) Fix typo in `commands.json`.
- (#3258) `isTriggerSuggestNeeded` must match from the beginning of the command name.
## [8.25.0] - 2022-04-13
### Added
- (#3226) Support `\cite<text>{keylist}` commands from `apacite`.
### Fixed
- (#3221) Go to symbol leads to the wrong line.
- (#3227) `cleveref`'s commands loaded by `\usepackage` are not displayed in some cases.
- (#3231) The real time math preview does not work.
- (#3236) Can't display the outline of the paper in the `structure` column, but only the label.
- (#3239) `bibtex-format.sort.enabled` not effective in `settings.json` in multi-root workspace.
- The setting `latex-workshop.intellisense.citation.maxfilesizeMB` is deprecated in favour of `latex-workshop.bibtex.maxFileSize`.
### Fixed
- (#3219) Set `resource` scope to all `bibtex` settings.
- (#1898) More precise error highlighting.
- (#3043) Handle multi-line `section` command in outline.
- (#3046) Add a configuration variable `texcount.autorun` to enable `texcount` to be automatically called.
- (#3055) Parse and show LaTeX3 warnings.
- (#3065) Add completion detail for snippets.
- (#3122) Use `resource`-scoped properties.
- (#3179) Support `editor.action.smartSelect.expand` and `editor.action.smartSelect.shrink`. The configuration is `latex-workshop.selection.smart.latex.enabled`.
- (#3207) Use `latex-workshop.intellisense.atSuggestionJSON.replace` to replace a default `@`-suggestion or define a new one. See https://github.com/James-Yu/LaTeX-Workshop/wiki/Intellisense#-suggestions
### Changed
- (#3207) The setting `latex-workshop.intellisense.snippets.trigger.latex` is deprecated in favour of `latex-workshop.intellisense.atSuggestion.trigger.latex`.
### Fixed
- (#2821) Properly remove temporary files from `latexindent`.
- (#3189) Ignore anything before `begin document` in structure.
- (#3192) Refactor completion to better handle duplicates.
## [8.23.0] - 2021-12-28
### Added
- (#3004) Add language configuration for BibTeX style.
- (#3022) Show commands in outline/structure views.
- We introduce the new setting `latex-workshop.view.outline.commands` with default value ['label']. It replaces `latex-workshop.view.outline.labels.enabled`, which was specific for labels.
### Changed
- (#2963) Migrate to MathJax v3.2.
- (#3009) Drop support for LaTeX Utilities.
### Fixed
- (#2979) Incorrect structure when using `\verb|\section{...}|`.
- (#2985) Declare `[...)` and `(...]` as bracket pairs.
- (#2986) Disable commands and features on virtual workspaces.
- (#2996) Focus jump in viewer when using landscape pages.
## [8.22.0] - 2021-11-15
### Changed
- (#2881) Refactor `toggleSelectedKeyword`.
- (#2937) Drop the support for VS Code prior to v1.61.2.
- (#2951) Refactor the Input completer.
- (#2959) Remove Snippet Panel.
### Fixed
- (#2929) Highlight `(long|tall)tblr`.
- (#2935) `workspaceFolders` may have length 0.
- (#2950) Provide `@snippets` as completion items using a separate `CompletionItemProvider`.
- (#2952) Do not gobble trailing empty lines when folding.
- (#2967) Fix ranges for `(sub)*section` entries in the structure provider.
## [8.21.1] - 2021-10-22
### Fixed
- (#2917) Treat `latexmk --luatex` properly.
- (#2922,#2926,#2927) The previous package has some mysterious bugs preventing the extension from working properly.
- (#2923) Synctex in file with `\include`d files is not searching for the correct directory.
## [8.21.0] - 2021-10-19
### Added
- (#2841) Add `BibLaTeX` backend for intellisense.
- (#2852) Hightlight the content of the `markdown` environment as `md`.
- (#2870) Add a new configuration variable `latex-workshop.message.bibtexlog.exclude`.
- (#2900) Add three new placeholders.
- `WORKSPACE_FOLDER`: current workspace path.
- `RELATIVE_DIR`: file directory relative to the workspace folder.
- `RELATIVE_DOC`: file path relative to the workspace folder.
### Fixed
- (#2838) Format multiline bibtex fields.
- (#2851) Highlight `tblr` envs as tabular.
- (#2855) Accept dash in cite keys.
- (#2897) Show `Open LaTeX Workshop log` button for some cases.
- (#2908) Highlight `alignedat`.
- (#2909) Replace `\texorpdfstring` by its second arg in outline.
### Added
- (#2783) Add support for glossary external file.
### Changed
- (#2756) Use Custom Editor as a hook to start the internal PDF viewer.
- (#2759) Drop support for versions prior to VS Code `1.53.2`.
### Fixed
- A series of engineering improvements.
- (#2766) Declare `flalign` as a math environment.
- (#2770) intellisense for `\mathscr`.
- (#2777) Skip tikpicture content when scanning for labels.
- (#2782) Stop unescaping in surround function.
- (#2786) Skip labels in new command definitions.
- (#2787) Set a scope to `\text` in maths.
- (#2794) Highlights comments inside `\cite`.
### Others
- 8.20.0 and 8.20.1 are skipped. [#2829](https://github.com/James-Yu/LaTeX-Workshop/issues/2829)
## [8.19.0] - 2021-06-11
### Added
- New log messages for recipes and undefined tools.
- (#2682) Adopt a more lazy approach to read tex content.
- (#2686) Added highlighting support for tabu package envs.
### Changed
- (#2579) Change the default value of `docker.image.latex` to an empty string.
### Fixed
- A series of engineering improvements.
### Fixed
## [8.18.0] - 2021-05-12
### Added
- (#2628) Support `<<child='...'>>=` for `.rnw` file inclusion.
- (#2636) Support SyncTeX buttons on PDF viewers.
### Removed
- (#2653) Remove `BuildInfo`.
### Fixed
- (#2627) Array syntax highlighting.
- (#2628) Refactor input path regexps.
- (#2639) Fix cached packages list update.
- (#2650) Highlight `\Verb` content as verbatim.
- (#2658) Improve find new command regex.
- (#2662) Fix auto build on save with subfiles.
- (#2666) Fix typo, highlight `\iftrue`, not `\ftrue`.
- (#2671) Make sure to remove any verbatim parts before scanning the .tex content.
- For the moment, it breaks if there are nested verbatim environments.
- (#2671) Make the list of verbatim-like environments configurable by `latex-workshop.latex.verbatimEnvs`.
## [8.17.0] - 2021-04-21
### Added
- (#2566) Add IntelliSense for `\DeclareMathOperator` and any `\newcommand*` & co declarations.
- (#2584) Generate a `cpp` embedded language configuration.
### Fixed
- (#2542) Python code highlighting for all environments of the package `pythontex`.
- (#2561) Fix a regexp which might causes ReDoS.
- (#2562) Fix potential exponential backtracking when removing comments.
- (#2565) Use `spawn` instead of `exec` when looking for `latexindent`.
- (#2575) Make sure to wait for `findRoot` to return before proceeding.
- (#2600) Duplicate labels in the same file not spotted.
- (#2601) Do not filter files using `git`.
- (#2624) The outline view in the sidebar of the internal pdf viewer is too dark to see the content.
- (#2626) Set correct package field in cached element.command.
## [8.16.1] - 2021-03-03
### Fixed
- (#2536) Check for duplicate labels.
- (#2542) Highlight `pythontex` environments.
- (#2543) Make `import` accept a relative path starting from the `rootDir`.
- (#2547) Use `spawnSync` to prevent code injection.
- (#2549) `LintRoot` should lint the whole LaTeX project.
- (#2550) Raise a warning message when viewer cannot find PDF file.
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
## [8.16.0] - 2021-02-19
### Added
- (#2427) Add a config to show floats or not in outline `view.outline.floats.enabled`.
- (#2432) Make trigger characters for intellisense of LaTeX documents configurable.
- (#2461) Implement a `BibTeX` log parser.
- (#2471) Add a configurable clean command.
- A fully configurable `clean` command and add three new configuration variables.
- `latex.clean.method` can be `glob` (default) or `cleanCommand`.
- (#2476) Enable converting ChkTeX outputs' column numbers.
- (#2485) Configure align on equal signs for bibtex formatter `bibtex-format.align-equal.enabled`.
- (#2488) Accept any number of spaces for bibtex indentation given as a string in `bibtex-format.tab`.
- (#2508) Sorting fields can be enabled by `bibtex-fields.sort.enabled`.
- (#2512) Enable autofix on multiline maths.
- (#2529) Users can provide package intellisense data from `intellisense.package.dirs`.
### Changed
- Use `.fls` file when finding the root file.
- (#2439) Use `vscode.env.asExternalUri` for the internal PDF viewer.
### Fixed
- (#2429) Fix quote escaping for `bst` language.
- (#2430) Stop opening scm view when focusing `tex` file in `diff` mode.
- (#2457) Check if git is available on OSX to prevent dev tools pop up.
- (#2458,#2503) Treat `\left.` `\right)]}` and `\left([{` `\right.` as bracket pairs.
- (#2484) Killing the build process makes vscode crash when `pkill` is provided by `proctools`.
- (#2504) Fix SyncTeX on horizonal scrolling.
## [8.15.0] - 2020-12-06
### Added
- Add Snippet View.
- Add `hover.preview.maxLines` to limit how much we go upward to find the beginning of the math environment.
- (#2380) Add toggle math preview.
- (#2384) Enable math preview on suggest detail widgets for references.
- (#2388) Add `bibtex` support for `markdown`.
### Changed
- Update syntax files for weave, dtx, LaTeX3.
- (#2392) Keep selected text in autocompletion/snippets.
- (#2408) Remove `subfileincludegraphics` in `data/commands.json`.
### Fixed
- Escape `}` properly in the snippet panel.
- (#2394) Refactor fix for double `}}` in completion.
- (#2395) Update `cpp` grammar with bailout.
- (#2397) Autocomplete big parenthesis commands: `left(` -> `\left( ... \right)`.
- (#2415) Add `triggerSuggest` to user-defined commands when needed.
- (#2421) Fix a focus issue when opening PDF files through the explorer.
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
## [8.14.0] - 2020-11-11
### Added
- (#516,#2298) Glossary completion.
- (#2276) Add tool and recipe definitions for `Tectonic`.
- (#2294) Support real-time math preview panel.
- (#2322) Add option to sort `bib` files by entry type.
### Changed
- (#2279) Update to `PDF.js 2.5.207`.
- (#2291) Tweak the transition of the toolbar of the PDF viewer.
### Fixed
- (#2277) Label completion broken when labels contain spaces.
- (#2290) Extra closing brace when inserting `split` environment.
- (#2292) Fix `\textins` command completion.
- (#2325) Keep trailing comma in last `bibtex` field.
- (#2327) Highlight `&` in `longtable`.
- (#2328) Invoke `toLocaleLowerCase` for the suffix of filenames.
- (#2344) Allow multiple `args` completion with `\cite`.
- (#2339,#2342) Parts of `Compiler Log` are not parsed.
- (#2347) Highlight `optidef` envs.
- (#2356) No leading space allowed before `#begin{document}` when using `subfiles`.
- (#1423,#1820,#2368) Deactivate auto-closing for snippet prefixes.
James-Yu
committed
## [8.13.2] - 2020-09-12
### Fixed
- Extension within WSL uses the wrong un-polyfilled `pdf.js`.
## [8.13.1] - 2020-09-12
### Fixed
- (#2274) Fix spelling error `formater` -> `formatter`.
## [8.13.0] - 2020-09-11
### Added
- (#2261) Declare a formatter provider for `bibtex`.
### Fixed
- (#2270) Extension work again with Remote Development extension.
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
## [8.12.0] - 2020-09-11
### Added
- (#2198) Add a command to select the full content of the current environment.
- (#2225) Enable `latex-workshop.surround` on the Command Palette.
- (#2249) Improve support for LaTeX fenced code block in Markdown.
### Changed
- Update PDF.js to v2.4.456.
- Drop support for vscode < 1.42.
- (#2158) Add invert PDF in dark mode only.
- Made invertMode configuration more intuitive.
- Set default for invertMode.enabled.
### Fixed
- (#2117) Add a build icon.
- (#2126) Improve scope names.
- (#2169) Fix the trim mode of the PDF viewer.
- (#2189) Duplicate cite entries.
- (#2203) Refactor and add above/below to `view.pdf.tab.editorGroup`.
- (#2207) Ignore verbatim content when computing structure.
- (#2211) Add `onSave` option to `latex.autoBuild.run`
- Reverts `4d3ea8b`
- (#2223) Remove `press a-z and space for greek letter`.
- (#2229) Add TBA snippet for table.
- (#2232) Fix XML & HTML scopes.
- (#2245) Should not treat blob URLs, `blob:...`, as external links.
- (#2265) Use `px` instead of `rem` for padding of SVG images on the snippet panel.
## [8.11.1] - 2020-07-01
### Fixed
- Restoring PDF viewers does not work well with VS Code 1.47.
- (#2176) No need to put the closing `}` on its own line in `.bib`.
- (#2177) Use `kpsewhich` to resolve bibliography files.
- (#2182) Also search for `.bib` files in `rootDir`.
## [8.11.0] - 2020-06-24
### Added
- (#2149) Add support for `weave.jl`.
- (#2154) Add section numbers in outline.
- This feature can be deactivated by setting `view.outline.numbers.enabled: false`.
### Improved
- (#2109) Improve PDF viewer refresh speed.
- (#2157) Improve the invert mode of the PDF viewer with additional filters.
### Fixed
- Activate `onEnterKey` even when suggestion is visible.
- Always activate `onEnterKey` when `acceptSuggestionOnEnter`.
- (#2167) Do not activate `onEnterKey` when `suggestWidgetVisible`.
- (#2107) Use `fs.realpathSync` to compare file paths for SyncTeX.
- (#2146) Use `rootFile` to expand placeholders when formatting.
## [8.10.0] - 2020-06-06
### Added
- Enhance LaTeX3 support.
- Activate extension for `latex-expl3` language id.
- (#2018) Support restoring PDF viewers.
- (#2088) Add completion support for `includeonly`/`excludeonly`.
- (#2099) Set default recipe by name.
- (#2115) Add intellisense for optional `bibtex` fields.
- (#2118) Texcount comes back.
- (#2136) Filename completion with already typed path.
### Fixed
- Fix double `}}` in env completion.
- (#1523) Match `\autocite`s syntax highlight.
- (#2049) Add `luahbtex` rule for build info.
- (#2052) Add standard math envs to the default list.
- (#2052) Set `intellisense.package.enabled` to true to populate intellisense based on the used packages.
- (#2054) Declare more cite commands for syntax highlighting.
- (#2055) Stop rebroadcasting keyboard events on Linux.
- (#2056) Remove duplicate `\env` commands.
- (#2120) Show labels in structure/outline.
- (#2131) Fix spaces in suggestions.
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
## [8.9.0] - 2020-04-24
### Added
- Update `PDF.js` to `v2.3.200`.
- Enhanced `rnw `support.
- Turn `..` into tabstops in snippets.
- The new placeholders `%DOC_W32%`, `%DOC_EXT_W32%`, `%DIR_W32%`, `%OUTDIR_W32%` are normalized so that they use `\\` as the path separator on Windows.
- Placeholders without the `_W32` suffix always use `/` as the path separator. On Unix platforms, placeholders with and without the `_W32` suffix have the same value.
- (#1534,#2020) Match `\left`...`\right` brackets.
- (#1951) Load `data/packages/class-*.json` files to provide completion items specific to `documentclass`es.
- (#1989) Add syntax highlighting for TypeScript in `minted`.
- (#2029) Refactor environments snippets.
- (#2033) Add a completion provider for `bibtex` files.
- (#2047) Add more default commands in intellisense.
### Changed
- In `%DOC%` and `%DOCFILE%`, we now remove any extension, not only `.tex`.
- Two new placeholders `%DOC_EXT%` and `%DOCFILE_EXT%` are respectively the root file full path and the root file name with the extension kept.
- Use `cross-spawn` to build and view.
### Fixed
- Fix `updatePkg` when `latexParser` fails.
- (#2002) Make sure to kill all child processes.
- (#2003) Reveal a `WebviewPanel` when executing SyncTeX.
- (#2010) Force `/` in `%OUTDIR%` even on Windows.
- (#2011) Check the length of the args of `\label` command.
- (#2012) Remove `cleveref` intellisense entries.
- (#2016) Disable Ctrl+P Shortcut in `pdf.js` viewer.
- (#2017) Use a dedicated option for pdf watch delay.
- (#2025) Render citation completion and preview as markdown.
- (#2030) Order latexmk rules numerically in compilation live info.
- (#1949) Make the PDF watcher delay configurable via `latex.watch.delay`.
- (#1950) Enable keyboard shortcuts of VS Code on the PDF viewer.
- (#1955) Add embedded language support for minted ruby.
- (#1963) Add `\addplot` grammar support.
- (#1985) Improved intellisense for reference via `intellisense.citation.format`.
### Removed
- (#1986) Remove `formatOnSave:false` in latex configuration.
### Fixed
- (#1947) Normalize `outdir` path.
- (#1953) Fix clean command with relative `outDir`.
- (#1962) Use page numbers to cache SVG files.
- (#1965) Ctrl click to open `documentclass` file.
- (#1972) Use `rootDir` as PWD when parsing `.fls` file.
## [8.7.2] - 2020-02-12
### Fixed
- Fix popup severity.
- (#1811) Wait for write to finish before firing a change event.
- (#1907) Scan `\DeclarePairedDelimiter` for preview.
- (#1925) Add setting for prompting user or not with subfile.
- The new setting is `latex.rootFile.doNotPrompt`. When set to yes, the file used is decided according to `latex.rootFile.useSubFile`.
- (#1926) Fix `parseLatex`, which should return `undefined` when parsing fails.
- (#1927) Scan for already used environments for intellisense.
- (#1928) Watch external pdf for automatic reload.
- (#1932) Remove the `-cd` option of `latexmk`.
- (#1933) Add an option to disable the progress bar of the compilation of LaTeX `progress.enabled`.
- (#1943) Do not call `document.save()` in formatter.
## [8.7.1] - 2020-01-31
### Fixed
- (#1924) Try magic and active document before current root.
## [8.7.0] - 2020-01-30
### Added
- (#1913) Add recipe for rwn files.
- (#1914) Add option to highlight or comment out duplicate entries in BibTeX.
- (#1918) Declare `\Sexpr` syntax
### Fixed
- Fix scanning of \def for autocompletion.
- (#1876) First try current rootFile on editor change.
- (#1895) Fix subfiles building with `latexmk`.
- (#1895) Accept roofile without extension in subfiles.
- (#1902) Do not change the left panel on active editor change when `view.autoFocus.enabled` is set to `false`.
- (#1904) Always use '/' as path separator.
- (#1905) Fix keybinding regression for `ctrl+alt+[` and `+]`.
- (#1911) `vscode.DocumentSymbol` expects non-empty label.
- (#1915) Accept `@` in command names for intellisense.
- (#1921) Trim current token for hover.
## [8.6.0] - 2020-01-13
### Added
- (#1862) Syntax highlight for BibTeX style language (`.bst`).
- (#1878) Add config to scan `label={...}`.
- (#1891) Support asterisked sections in `shiftSectionLevel`.
- (#1894) Declare `\bibentry` as a citation command.
### Changed
- (#1872) Refactoring communications between the WebSocket server and PDF viewers.
- (#1874) Use typed proxies of workerpool.
### Fixed
- Fix double `/` in `latexindent -c` when using docker.
- (#1871) Override the spread mode specified in PDF documents with the current.
- (#1873) Do not use PWD entry as the cwd for fls files.
- (#1873) Use `cross-spawn` to run `latexindent`.
- (#1877) `\def` commands not passed to mathjax for preview.
- (#1886) Send `type: 'loaded'` to the extension host when PDF files loaded.
- (#1889) Fix outDir when containing `../`.
## [8.5.0] - 2019-12-17
### Added
- (#1826) Load (and cache) PDF preview directly from disk for `\includegraphics` completion.
- (#1843) Set the background color of the internal PDF viewer.
- (#1846) Add regex for `biber` to live compilation info.
### Changed
- (#1842) Rename `intellisense.preview.enabled` to `intellisense.includegraphics.preview.enabled`.
- (#1856) Add `*.syntex(busy)` and `*.synctex.gz(busy)` to files to clean.
### Fixed
- (#1841) Quotes break syntax highlighting in `.bib` files.
- (#1848) `close-env` fails at beginning of line.
- (#1851) Preview fails when anything starting with `\par` is inside a `\newcommand`.
- (#1853) Accept white space between dirs in `\graphicspath`.
- (#1860) Accept subdirectories when using subfiles.
- (#1863) Refactor `latexindent` detection.
### Added
- (#1819) Add an open on the left mode for the viewer tab, controlled by `view.pdf.tab.editorGroup`.
- (#1817) Replace placeholders in external build arguments.
- (#1777) Declare a new language id for `.rnw` documents.
- (#1833) XeLateX live compilation progress.
### Changed
- (#1818) Do not clean `.ist` files.
### Fixed
- Fine tune some log messages.
- (#1793) Broken pdf viewer with inverted color.
- (#1822) Output window messes with LATEX Snippet Panel.
- (#1823) Drop the star when passing `newcommand`s to mathjax.
- (#1827) `subimport` `path.resolve` issue.
## [8.4.1] - 2019-11-16
### Fixed
- Version 8.4.0 did not show up in the marketplace.
## [8.4.0] - 2019-11-16
### Added
- (#1780) Add commands to sort and align bibtex files.
- (#1808) Add commands of `\bigl` and others.
### Changed
- (#1798) Tweaked promote/demote sectioning feature.
- Please read the wiki [Sectioning](https://github.com/James-Yu/LaTeX-Workshop/wiki/Snippets#Sectioning) page for details. The actions of `ctrl+[` and `ctrl+]` are exchanged.
### Fixed
- (#1785) Do not reopen all documentations every time.
- (#1788) A lot of tweaks related to extension freezing issue.
- (#1804) Reconnect WebSocket after closed by sleep and wake.
- (#1805) Turn `\providecommand` into `\newcommand` for mathjax preview.
## [8.3.1] - 2019-11-04
### Changed
- (#1669) Activity icon. Sorry! @trevorgunn
## [8.3.0] - 2019-11-03
### Added
- (#1751) Add option to display progress as a notification.
- (#1765) Enable hover on `\includegraphics`.
### Fixed
- (#1589) Change symbol loading method.
- (#1600) Improve TikZ snippet panel.
- (#1676) Add Content Security Policy to WebViews.
- (#1680) Kill all child processes when killing their parents.
- (#1729) Scan for `newcommand`s in the whole project for preview.
- (#1734) Use Mutex for `latexindent`.
- (#1750) Chinese/Japanese characters in formula preview not rendered correctly.
## [8.2.0] - 2019-09-28
### Added
- (#1712) Texdoc completion.
### Fixed
- (#1644) Fix build brogress bar length.
- (#1655) Highlight `mpost` environments as plain tex.
- (#1679) Add `latexmk` recipe for `lualatex`.
- (#1689) Use local cpp grammar with bailout pattern.
- (#1711) Restrict some keybindings to latex files.
- (#1714) Declare `.ctx` files as a LaTeX filetype.
- (#1720) Fix parsing `\usepackage`.
## [8.1.2] - 2019-09-12
### Fixed
- Re-compile the project to include changed should be presented in `8.1.1`.
## [8.1.1] - 2019-09-12
### Changed
- (#1672) Revert #1639: "Check pdf writable status before building."
- Remove the snippet of `\setminus`.
### Fixed
- (#1653) Enables hover on refs with spaces in them.
- (#1661) Allow the same commands with different arguments.
- Add a config `intellisense.update.aggressive.enabled` to disable parsing on text change.
- (#1504) Add a latexmk(rc) recipe.
### Changed
- (#1647) Syntax parsing is now done in a separate thread. Typing lag should be resolved.
### Fixed
- (#1555) Use caption of the main figure for outline.
### Fixed
- (#1637) Find root only when active editor is tex-like.
- (#1639) Check pdf writable status before building.
## [8.0.6] - 2019-08-22
### Fixed
- (#1630) Synctex not working after refreshing pdf viewer.
## [8.0.5] - 2019-08-22
### Fixed
- Use the previous regex-based parsing if the extension cannot build AST properly.
- (#1612) Proper parsing of `tex` input tree.
- (#1621) Fix command completion from used packages.
- (#1621) Check argument list length of `renewcommand`.
- (#1623) Make reverse synctex keybinding configurable.
- (#1626) Refresh viewer after successful build with external command.
## [8.0.4] - 2019-08-20
### Fixed
- Latency before providing auto-completion items.
- (#1599) Fix handling of periods in multiline warnings.
- (#1612) Find root also search for `tex` parents.
- (#1614) Remove word count remnants.
- (#1615) Synctex stops working.
- (#1619) Regression: respect rootDir when dealing with \input
### Fixed
- (#1607,#1608,#1609) Compilation cannot find root file within `\input` sub-files.
### Fixed
- Extension hangs when `expl3-code.tex` is present in `.fls` file generated by compiler.
- Error debug messages complaining about undefined cached items.
### Fixed
- Packaging issue in version 8.0.0 leads to unusable extension.