Commit Graph

129 Commits

Author SHA1 Message Date
Jerome Lelong
3b722d6f99 Add tests for glossary completion from bib files 2024-12-26 11:10:31 +01:00
James Yu
e54910fcd5 More completion unit tests 2024-10-02 21:44:07 +08:00
James Yu
82d6901388 Citation and macro unit tests 2024-10-01 16:52:29 +08:00
James Yu
4abc6e6387 First batch of pdf viewer unit tests 2024-09-23 21:34:17 +08:00
James Yu
9ff6c9c7f6 Add server unit tests 2024-09-23 13:38:56 +08:00
James Yu
44f0282516 Recipe unit tests do not need local files 2024-09-08 14:09:30 +08:00
James Yu
6533600de1 Add a test to KOMA base suggestions 2024-09-06 11:46:23 +08:00
James Yu
c414d209ca Add unit tests for compilation (cont 2) 2024-08-13 21:57:36 +08:00
James Yu
cab40614fa Add some unit tests for compilation 2024-08-12 23:16:30 +08:00
James Yu
55e4c877aa Fix a find root in ws test as file glob order is not static 2024-07-31 18:49:39 +08:00
James Yu
78cf8e29de Add a workspace root check test 2024-06-14 11:16:44 +01:00
James Yu
19f38d0db0 When finding root from ws, we don't care if it is cached or not 2024-06-14 10:52:13 +01:00
James Yu
75dd78702a All root-finding tests 2024-06-11 12:47:29 +01:00
James Yu
6a0d3761a4 Two more lw.root.findFromMagic tests 2024-06-11 11:32:54 +01:00
James Yu
278ee6241a Add partial root finding tests 2024-06-11 10:59:27 +01:00
James Yu
874177d8db Use list comparisons in tests 2024-06-10 14:46:46 +01:00
James Yu
e00b13c7b1 Avoid included bib circular inclusion, de-duplicate included tex, cache getter tests 2024-06-09 18:28:19 +01:00
James Yu
4678265b4b lw.cache.loadFlsFile and lw.cache.parseFlsContent tests 2024-06-09 17:16:07 +01:00
James Yu
bd3834e7e7 Rearrange fixture files structure a bit 2024-06-09 11:29:50 +01:00
James Yu
59e8281df3 \putbib can also have \subfix, add lw.cache.updateBibfiles tests 2024-06-09 10:34:31 +01:00
James Yu
11c98662dc Add lw.cache.updateChildrenXr tests 2024-06-09 09:52:22 +01:00
James Yu
7375dc86ad Fix a duplicate children parsing bug in caching, more tests 2024-06-08 14:26:45 +01:00
James Yu
10b4b370de Add a few invoke tests, adjust eslint for tests 2024-06-07 13:09:09 +01:00
James Yu
92cf023a54 Unit test fixture structure change 2024-06-06 12:37:27 +01:00
James Yu
38a8f5f6ae Tests for lw.cache.refreshCache and lw.cache.refreshCacheAggressive 2024-06-03 21:54:16 +01:00
James Yu
76f071eebf Fix a cache reset bug, add some cache tests 2024-06-02 22:57:10 +08:00
James Yu
bf41c013b9 Add watcher tests, use vscode.fs.stat for uri exists check 2024-06-01 20:40:08 +08:00
James Yu
32ad1af726 Start new unit tests, fix a hidden bug in watcher 2024-05-23 14:31:22 +01:00
James Yu
e51fe7cf3d Fix incorrect cursor position when line > 0 2024-02-20 16:33:20 +00:00
Jerome Lelong
7a0994c674 Add missing test file 2024-01-05 11:51:28 +01:00
James-Yu
10f4198cff Node selection now use unified-latex 2023-06-16 16:32:40 +08:00
James Yu
2c98d3b8a8 Ref suggestions now use unified-latex 2023-05-27 00:56:51 +08:00
James Yu
fb1b3ce3ff Refactor structure tests, more atomized 2023-05-13 15:16:00 +08:00
James Yu
d2aac8984f Turn on unified-latex structure, outline still LU 2023-05-12 22:59:38 +08:00
James-Yu
8d65fd9d4f Resolve #3827 Consider \markdownInput as input 2023-04-17 11:10:58 +08:00
Jerome Lelong
ca04338dc4
Fix environment navigation and content selection for $...$ and $$...$$ (#3842)
* Fix env selection for $...$ and $$...$$
* Add tests
2023-04-15 08:42:32 +02:00
James-Yu
febf5892c5 \include suggestion does not have file extension 2023-03-31 13:34:29 +08:00
Jerome Lelong
a0cd512a88
Refactor EnvPair module (#3770)
Close #3645 and #3744

This PR completely rewrites the EnvPair module. We get rid of the old regex logic and use the latexParser to build an AST CommandPair of all the pairs in the current file.
2023-03-24 06:39:20 +01:00
James-Yu
d31b667ab9 Add a !LW recipe magic comment to set recipe 2023-02-23 14:03:36 +08:00
James-Yu
bd8e1641c5 Add cleaner tests c.f. #3679 2023-02-01 11:06:50 +08:00
James Yu
63450349f2 Intellisense tests don't open editor 2023-01-24 21:40:13 +08:00
James Yu
c27fb50852 Resolve #3658 Add config intellisense.label.command to enable label definitions other than \label{} 2023-01-20 18:02:53 +08:00
James Yu
12f4c9daca Resolve #3654 Don't enforce -cd on latexmk 2023-01-19 21:46:48 +08:00
James-Yu
110b39798c Merge remote-tracking branch 'origin/master' into xr-package 2023-01-16 11:22:05 +08:00
James Yu
75d132cdb9 Circumvent last formatter test on windows 2023-01-13 02:23:33 +08:00
James-Yu
a2eff0cfc7 BibTeX formatter tests 2023-01-12 16:07:12 +08:00
James-Yu
58e49ae7e7 New command finder should honor arg and opt list 2023-01-11 15:10:47 +08:00
James-Yu
785a7c850a Support cross-ref from xr package 2023-01-11 11:42:37 +08:00
James-Yu
1f8b78b6c8 Add an argument test 2023-01-10 16:39:49 +08:00
James-Yu
98e4c8e13f Install latexindent in Actions and try a test 2023-01-10 15:46:29 +08:00