Commit Graph

92 Commits

Author SHA1 Message Date
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
James-Yu
76ad6cb930 Add a test on env intel with usepackage 2023-01-04 12:16:30 +08:00
James-Yu
dd21cc7e94 Package environments based on package option 2023-01-04 12:10:22 +08:00
James-Yu
5f3ace97da Package commands based on package option 2023-01-04 12:01:34 +08:00
James-Yu
f1df3f8ab0 Floats can also be nested 2023-01-03 13:50:15 +08:00
James-Yu
c08c992b4d Test all intellisense variants in completion.ts 2023-01-03 12:07:04 +08:00
James-Yu
64f79af573 Properly provide env options 2023-01-03 11:53:15 +08:00
James Yu
0ad5f82ac1 Use copy for test fixtures 2023-01-03 01:11:21 +08:00
James Yu
7c2857fb07 Abstract common functions in tests 2023-01-02 13:33:40 +08:00
James-Yu
d01b7e2c8e Remove remains 2022-12-30 10:23:16 +08:00
James-Yu
b1e8f6d4e8 Viewer tests & rearrange test structure 2022-12-30 10:17:55 +08:00
James-Yu
a204515201 Make up the switching intellisense test for multiroot 2022-12-29 10:58:40 +08:00
James-Yu
0f2f8e6aa4 Multiroot tests 2022-12-29 10:04:22 +08:00
James Yu
1e1274d1d8 Working on multiroot 2022-12-28 21:57:28 +08:00
James-Yu
2a48fd957e Unittests finished 2022-12-28 17:32:59 +08:00
James-Yu
ad374d3222 @-snippet trigger now don't require reload 2022-12-28 17:05:51 +08:00
James-Yu
8a4e038edb All build tests 2022-12-28 12:27:46 +08:00
James Yu
76f59606f6 New test framework 2022-12-27 23:00:28 +08:00
James-Yu
4652f6727d Fix \input arg does not take underscore filename 2022-07-29 14:15:16 +08:00
James-Yu
e515ffc02d Unit-test linter log messages 2022-07-15 10:24:42 +08:00
James Yu
1b9f4279c4 Add linter tests 2022-07-15 02:09:02 +08:00
Takashi Tamura
34d2f1ab2d - Use a fake extension for synctexjs tests
- Add ILogger
2022-07-11 21:20:00 +09:00
Takashi Tamura
3954f675d0 Add tests for TextDocumentLike 2022-07-11 07:35:19 +09:00
James Yu
38fe7752e7
Add structure tests (#3366) 2022-07-05 10:28:11 +08:00
Jerome Lelong
8ac04e0ade Add test for \newabbr and \newabbreviation 2022-07-02 15:30:29 +02:00
Jerome Lelong
c2c806653f Add glossary completion tests 2022-05-07 22:03:23 +02:00
Takashi Tamura
9f90a1fe1e Rename to fixture010_synctex 2022-04-06 10:56:36 +09:00
Takashi Tamura
cb28b6ec8f Add a test for synctex 2022-04-06 07:57:43 +09:00
Jerome Lelong
c8b139bc16 Add tests 2022-03-25 11:53:00 +01:00
Jerome Lelong
938bd0cd32 Rename snippet into atSuggestion 2022-03-20 15:25:55 +01:00
Jerome Lelong
1f479b87d2 Add more tests with custom trigger 2022-03-19 19:22:29 +01:00
Jerome Lelong
1c4f0c2269 Add CI tests 2022-03-19 19:16:57 +01:00
Takashi Tamura
92ca29054d Add an example of unittest 2022-03-18 22:01:41 +01:00
Jerome Lelong
838e9e2d00 Add tests 2022-03-09 20:25:16 +01:00
Jerome Lelong
bfbbd41efc Add test for structure with multi-root workspace 2022-03-04 16:20:13 +01:00
Jerome Lelong
1a46e2502b Add more tests
latex-workshop.latex.search.rootFiles.include
latex-workshop.latex.search.rootFiles.exclude
2022-03-02 08:45:57 +01:00
Jerome Lelong
e1526cfe71 Add more tests
latex-workshop.latex.rootFile.useSubFile
latex-workshop.latex.autoBuild.run
latex-workshop.latex.rootFile.doNotPrompt
2022-03-02 08:34:49 +01:00
Jerome Lelong
e87096040d Add test for forceRecipeUsage 2022-03-02 08:34:49 +01:00