dependabot[bot]
c0e0b81207
Bump multimap from 0.10.0 to 0.10.1 ( #1418 )
2025-06-14 09:37:35 +00:00
hakan-demirli
29bdb931e8
Allow turning off diagnostics for specific regions
...
Add `% texlab: warnings off` and `% texlab: warnings on` magic comments.
2025-02-02 09:15:29 +01:00
Patrick Förster
d510c53f24
Allow user-defined document symbol environments ( #1311 )
...
Add `texlab.symbols.customEnvironments` setting.
Fixes #1292 .
2025-01-18 22:38:43 +01:00
dependabot[bot]
34852cd405
Bump encoding_rs from 0.8.34 to 0.8.35 ( #1256 )
2024-11-11 19:19:56 +00:00
Patrick Förster
c64a8e73f1
Fix opening untitled documents ( #1243 )
2024-10-23 19:20:56 +02:00
Nolan
d9ac8a1658
Handle \bibitem when checking undefined references ( #1244 )
...
Add a bibitem list to the latex Semantics struct, bibitem to CommandName and SyntaxKind enums, and handlers for processing bibitem nodes in a tex document.
Added checks against the bibitem list for undefined references and unused references.
2024-10-20 20:32:35 +02:00
Patrick Förster
3d6def1849
Allow ignoring diagnostics with magic comments ( #1211 )
...
With this changeset, using `%texlab: ignore` magic comment suppresses diagnostics from all sources for the current and the next line.
Fixes #1092 .
Fixes #1131 .
2024-10-07 10:15:56 +02:00
Patrick Förster
6fe748c11c
Use workspace dependencies ( #1184 )
2024-08-11 13:15:58 +02:00
dependabot[bot]
c2f5d5af34
Bump regex from 1.10.5 to 1.10.6 ( #1177 )
2024-08-10 08:36:49 +00:00
dependabot[bot]
491459e791
Bump rustc-hash from 1.1.0 to 2.0.0 ( #1157 )
2024-07-06 07:33:26 +00:00
dependabot[bot]
892933efd4
Bump regex from 1.10.4 to 1.10.5 ( #1153 )
2024-07-04 18:33:02 +00:00
dependabot[bot]
d20804db39
Bump log from 0.4.21 to 0.4.22 ( #1151 )
2024-06-30 07:39:53 +00:00
dependabot[bot]
fafc8df16b
Bump itertools from 0.12.1 to 0.13.0 ( #1143 )
2024-06-29 18:44:39 +00:00
Patrick Förster
fd49c49cf4
Don't treat \label inside macros as label commands ( #1120 )
2024-05-21 20:38:57 +02:00
Patrick Förster
fb78a16541
Fix clippy warnings ( #1113 )
2024-05-10 18:41:45 +02:00
Patrick Förster
025242be9d
Fix "needless borrow" clippy warnings ( #1112 )
2024-05-10 18:06:46 +02:00
dependabot[bot]
64a80f2dba
Bump encoding_rs from 0.8.33 to 0.8.34 ( #1090 )
2024-04-28 07:30:00 +00:00
Patrick Förster
87b6733953
Improve reliability of log file watcher ( #1099 )
...
- Cleanup diagnostics of deleted files properly
- Support directories in notify change events
2024-04-27 22:56:46 +02:00
Patrick Förster
45f8b77c8a
Don't report errors for citations with macro args ( #1086 )
2024-04-21 14:34:15 +02:00
dependabot[bot]
68a30e8996
Bump itertools from 0.12.0 to 0.12.1 ( #1073 )
2024-04-20 20:16:09 +00:00
dependabot[bot]
5f69f52bf8
Bump expect-test from 1.4.1 to 1.5.0 ( #1074 )
2024-04-20 20:13:25 +00:00
dependabot[bot]
6589fedd31
Bump regex from 1.10.2 to 1.10.4 ( #1066 )
2024-04-01 07:54:54 +00:00
Patrick Förster
d02dc2c92a
Remove unused dependencies
2024-03-24 10:20:38 +01:00
Patrick Förster
da243204ca
Improve project detection algorithm ( #1035 )
...
- Improve support for `Tectonic.toml` projects
- Cache project detection results between LSP requests
2024-03-17 09:53:05 +01:00
dependabot[bot]
8cc589984b
Bump log from 0.4.20 to 0.4.21 ( #1036 )
2024-03-16 09:00:56 +00:00
Patrick Förster
726af3a517
Fix clearing stale diagnostics ( #1043 )
...
The `MultiMap::retain function` removes the entire entry if the associated `Vec` is empty. Switching to plain `HashMap` fixes the issue.
Fixes #1042 .
2024-03-16 09:48:29 +01:00
Patrick Förster
4e8d065fcc
Don't report diagnostics for distro files ( #1030 )
2024-03-08 20:28:02 +01:00
dependabot[bot]
cd4734407e
Bump multimap from 0.9.1 to 0.10.0 ( #1008 )
2024-02-18 08:23:23 +00:00
Patrick Förster
d79a43e5b7
Refactor diagnostics module
2024-01-27 21:55:15 +01:00
dependabot[bot]
1affbbeaf2
Bump rowan from 0.15.13 to 0.15.15 ( #982 )
2024-01-09 19:58:04 +00:00
dependabot[bot]
5186dd207c
Bump itertools from 0.11.0 to 0.12.0 ( #979 )
2023-12-03 14:07:07 +00:00
Patrick Förster
09af8d171c
Bump url to v2.5.0 ( #975 )
2023-12-03 14:25:38 +01:00
Patrick Förster
ab18e66cd0
Don't report errors when using \nocite{*} ( #966 )
...
See #964 .
2023-11-23 21:44:15 +01:00
Patrick Förster
a4aa31c79b
Downgrade line-index due to text sync regression ( #967 )
2023-11-23 21:37:37 +01:00
dependabot[bot]
25e027ce19
Bump rowan from 0.15.11 to 0.15.13 ( #957 )
2023-11-12 13:48:18 +00:00
Patrick Förster
2117fa41a0
Refactor existing tests
2023-11-11 20:17:03 +01:00
Patrick Förster
99ed167dd4
Don't vendor line index data structure ( #946 )
2023-11-05 18:55:23 +01:00
Patrick Förster
b97e85eb43
Verify text edit range in completion tests
2023-09-24 19:46:29 +02:00
Patrick Förster
20672c1132
Don't report unused entries for huge bib files
2023-08-11 21:21:41 +02:00
Patrick Förster
36c18bb75a
Fix some clippy warnings
2023-08-06 09:59:40 +02:00
Patrick Förster
9960068ef2
Report diagnostics for duplicate labels ( #908 )
2023-07-29 09:57:26 +02:00
Patrick Förster
449ec7a33e
Report errors for duplicate BibTeX entry keys ( #904 )
2023-07-23 15:27:07 +02:00
Patrick Förster
20e8137fa4
Move goto definition feature to separate crate
2023-07-23 14:43:30 +02:00
Patrick Förster
24a6497048
Update dependencies
2023-07-19 18:07:42 +02:00
Patrick Förster
d32de1548a
Add additional diagnostics ( #899 )
...
* Refactor reporting of syntax errors
* Report diagnostics for unused or undefined labels
* Report undefined citation and unused entries
* Use indexed citations when processing requests
* Use new "unnecessary" diagnostic tag
* Add tests for diagnostics module
2023-06-29 19:22:05 +02:00