Commit Graph

90 Commits

Author SHA1 Message Date
Johannes Rieken
7ccb868835 make sure to use .eslintignore when running yarn eslint, this will ensure that cli failure and editor squiggles are always equal 2022-02-02 12:37:29 +01:00
Waqas Ali
a514979b02 Prevent link highlight in markdown code blocks and spans (#140816)
* Prevent link highlight in markdown codeblocks (#139770)

* Handle inline codespan variants for markdown link provider (#139770)

* Refactor codespan detection in markdown link provider (#139770)
2022-01-25 12:38:50 -08:00
Matt Bierner
a2d7dfaf35 Simplify toc structure 2022-01-19 14:41:38 -08:00
Matt Bierner
a3e350e5b3 Enable completions in markdown defintions
Fixes #140602
2022-01-14 15:15:56 -08:00
Matt Bierner
3d79cbb912 Fix markdown path suggestions on windows 2022-01-13 16:51:36 -08:00
Matt Bierner
fb98c6da10 Skip path completion tests for now
A few of these are failing on windows. Need to test over there
2022-01-12 19:05:37 -08:00
Matt Bierner
1f6c069a1a Adding basic support for reference link completions
For #140602
2022-01-12 19:05:37 -08:00
Matt Bierner
a4e529c759 Add basic markdown link completions
For #140602

Only normal links for now. Will add reference links later. Should support the forms:

- `[](dir/file.md)`
- `[](./dir/file.md)`
- `[](/root-dir/file.md)`
- `[](#header)`
- `[](./dir/file.md#header)`
2022-01-12 18:13:21 -08:00
Matt Bierner
ef69c9c8d8 Fix markdown pinning test 2022-01-05 14:49:00 -08:00
Matt Bierner
c8a321ae17 Skip document link test on web
Fixes #136738

Cant figure out why these tests sometimes timeout in safari on web. Only in ci too it seems :/
2021-11-15 13:27:04 -08:00
Matt Bierner
40fbc4e89e Unskip test 2021-11-11 09:20:58 -08:00
Matt Bierner
3a79384dbf Tempoary skip sometimes flaky tests 2021-11-10 20:28:43 -08:00
Matt Bierner
4c00e6de08 Adding logging to test
For #136738
2021-11-10 16:07:35 -08:00
Matt Bierner
a9bc0553f7 Support definition links with spaces
For #136073
2021-11-01 09:23:03 -07:00
Matt Bierner
c986aef642 Remove .only and fix fragment used when opening file
Keeping the fragment causes a duplicated file to be opened
2021-10-13 19:33:56 -07:00
Matt Bierner
8b2b819f55 Update test case 2021-10-12 17:29:53 -07:00
Matt Bierner
0dae77d06e Enable markdown links with line numbers to non-md files
Fixes #125320
2021-10-07 18:35:09 -07:00
Matt Bierner
af39918361 Organize imports in md ext 2021-08-03 13:22:46 -07:00
Matt Bierner
7bc2019b8d Updating pinning test 2021-05-21 15:01:05 -07:00
Logan Ramos
656e1e6086 More deprecated assertion cleanup 2021-05-04 15:55:26 -04:00
Benjamin Pasero
14981ce89d tests - enable colors for windows (CI supports it and the new Windows terminal too) 2021-04-19 09:29:20 +02:00
Benjamin Pasero
e916637528 tests - enable color output for integration tests 2021-03-01 15:10:15 +01:00
Henning Dieterichs
1f8643ef76 Refresh Images In Markdown Preview On Change (#114083)
* Refresh Images In Markdown Preview On Change (implements #65258).

* Fixes tests.

* Implements etags.

* Adds tests for urlToUri.

* Updates doc comment.
2021-01-19 18:01:21 -08:00
Alexandru Dima
7242082983 Fixes #112834: Ensure the markdown link provider is registered before invoking vscode.executeLinkProvider 2020-12-30 21:50:10 +01:00
Alexandru Dima
7ca71e763d Move away from deprecated 'vscode' node module (#112718) 2020-12-17 21:40:14 +01:00
meganrogge
4884986dd6 tweak smart select test 2020-12-02 10:13:02 -08:00
meganrogge
a2193cb827 fix #111714 2020-12-02 10:10:21 -08:00
meganrogge
5e54da666c fix #111675 and #111673 2020-12-01 17:03:47 -08:00
meganrogge
b2eca1fd4d Fix InMemoryDocument to support both OS line endings
Co-authored-by: mjbvz <matb@microsoft.com>
Co-authored-by: meganrogge <megan.rogge@microsoft.com>
2020-11-11 14:05:20 -08:00
Rob Lourens
35f9bac07d Disable markdown smart select tests #110365 2020-11-10 20:02:24 -08:00
Megan Rogge
63d15a97c7 Support character markup in mardown smart select (#110195)
* create tests and add selection functions for inline ranges
2020-11-10 11:38:27 -08:00
meganrogge
6e2aa0bfb7 clean up code and remove unused methods 2020-11-06 12:42:17 -08:00
meganrogge
08e556dc5d fix #109486 and #109489 2020-11-04 10:16:06 -08:00
Megan Rogge
5d4df8273e markdown smart select (#108818)
smart select
2020-10-26 15:33:48 -07:00
Nafana
df59ceb026 Markdown reference links starting with ^ should not be clickable (#108015)
Co-authored-by: mmacovei <mmacovei@sfu.ca>
2020-10-08 00:38:17 -06:00
Ladislau Szomoru
06730e3e29 Azure DevOps pipeline - generate unique test result names (#105148)
* Set suite name based on environment variable
2020-08-21 15:05:15 +02:00
Ladislau Szomoru
b2efcbf687 Add process.arch into the test results file name (#104946) 2020-08-19 07:48:37 +02:00
Johannes Rieken
4398a424d5 fix compile error 2020-08-13 12:49:55 +02:00
Matt Bierner
2a8c8def27 Re-enable markdown document link tests
Fixes #102364
2020-07-14 09:23:39 -07:00
Matt Bierner
3926674c39 Skip document link tests
These currently do not work on web

Skipping while investigating this
2020-07-13 14:07:29 -07:00
Matt Bierner
fdf23dc5f9 Working on supporting markdown links in serverless+web
For #101203
2020-07-10 13:25:55 -07:00
Matt Bierner
362d345448 Adding tests for opening markdown document links 2020-07-10 13:25:55 -07:00
Matt Bierner
b5ba760623 Adopt Uri.joinPath
For #99717
2020-06-09 16:08:42 -07:00
Pine Wu
2362584a62 Revert "Fix #73803"
This reverts commit 67e6aef0c8.
2020-03-06 00:30:14 -08:00
Pine Wu
4857a9a746 Revert "Fix integration test"
This reverts commit 5a0ab960f0.
2020-03-06 00:29:57 -08:00
Pine Wu
5a0ab960f0 Fix integration test 2020-03-05 12:41:06 -08:00
Pine Wu
67e6aef0c8 Fix #73803 2020-03-05 11:34:58 -08:00
Matt Bierner
6e30cf38a7 Mark markdown comment folding regions as comments
Fixes #91271
2020-03-02 11:26:29 -08:00
Benjamin Pasero
c2444b42af tests - proper text fixtures dir 2020-02-10 15:33:04 +01:00
Alex Dima
c9a2de2d9c Improve integration test output on Windows (#84239) 2019-11-08 17:21:35 +01:00