Matt Bierner
338ae07ccb
Initial work on md references provider
...
#146277
2022-03-29 18:19:52 -07:00
Matt Bierner
407b66a6d4
Remove extra await
2022-03-29 18:19:51 -07:00
Matt Bierner
0c3a241171
💄
2022-03-29 18:19:50 -07:00
Matt Bierner
3ce5c78cb9
Extract workspaceContents to own file
2022-03-29 18:19:49 -07:00
Matt Bierner
2783263582
Clean up link provider
2022-03-29 18:19:47 -07:00
Matt Bierner
22fb4e9de8
Better align language provider names and export styles
...
- Use named exports
- use `Md*` for providers
2022-03-29 13:35:48 -07:00
Matt Bierner
4949f13d13
Organize imports
2022-03-29 13:25:40 -07:00
Matt Bierner
7736c87cb0
Move markdown preview files to own folder
2022-03-29 13:25:35 -07:00
Matt Bierner
82c70007a3
Make sure we decode path components for md path completions
...
Fixes #145447
2022-03-22 16:58:37 -07:00
Matt Bierner
d2db6fb2d0
Remove negative lookbehind in regexp
...
Fixes #145655
2022-03-22 14:34:46 -07:00
Johannes
0f648cd7db
add eslint rule to disallow look behind regex feature, ignore in git and markdown fyi @lszomoru, @mjbvz
2022-03-22 16:02:19 +01:00
BamBamboozled
b6f6a37cbd
Add support for references when no [] exists ( #144781 )
...
* add single reference linking regex
* add less invasive regex
* add lookahead to exclude [tag]: <url> case
* add tests for references when no [] exists
* revert integration test script
* make test description clearer
* remove vim swap file (whoops)
Co-authored-by: Jayce <grate.resales.0r@icloud.com >
Co-authored-by: Jefferson Chen <jc@Jeffersons-MBP.attlocal.net >
2022-03-17 12:55:31 -07:00
Matt Bierner
6d64839d01
Fix test
2022-02-24 14:33:55 -08:00
Matt Bierner
7f5be63be9
Escape spaces in file names for md suggestions
...
Fixes #142838
2022-02-11 16:18:24 -08:00
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