Matt Bierner
252515e59d
💄
2022-03-29 13:25:40 -07:00
Matt Bierner
a2d9157a9a
Extract markdown scrolling code to own file
2022-03-29 13:25:39 -07:00
Matt Bierner
d49fc3ca8d
Move files to better folders and add better name
2022-03-29 13:25:38 -07:00
Matt Bierner
c8c6224c84
Remove unused hash functions
2022-03-29 13:25:37 -07:00
Matt Bierner
3bc3b1f8ec
Use padStart
2022-03-29 13:25:37 -07:00
Matt Bierner
b21350fdcb
Use string uri as key instead of fsPath
2022-03-29 13:25:36 -07:00
Matt Bierner
28e2475f72
Use find instead of filter
2022-03-29 13:25:36 -07:00
Matt Bierner
15c617e5b0
Use ._register
2022-03-29 13:25:35 -07:00
Matt Bierner
7736c87cb0
Move markdown preview files to own folder
2022-03-29 13:25:35 -07:00
Matt Bierner
ffd8aea1a7
Remove outdated comment
2022-03-29 13:25:34 -07:00
Matt Bierner
e6e907e721
Move drop into feature to own file
2022-03-22 18:18:03 -07:00
Matt Bierner
77d9be7a45
Use text/uri-list for drop into editor
...
For #145713
2022-03-22 17:36:32 -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
Matt Bierner
bfc026b97a
Drop into text editor api proposal ( #143334 )
...
* Add drop into editor api proposal
For #142990
* Use AsyncEmitter
2022-03-18 11:32:11 -07:00
Matt Bierner
307364a174
Check the static line cache for markdown custom editors
...
Fixes #138161
2022-03-17 16:06:07 -07: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
bd36b7d6a3
Make sure we set html on markdown preview when it is not visible
...
Fixes #138630
If the webview does not exist, we need to update the html on it instead of posting a message to it. This makes sure the correct content is shown when the webview is created again
This also removes a previous workaround for this issue that I no longer believe is required
2022-03-08 18:08:47 -08:00
Matt Bierner
78e1b3cca8
Bump highlight JS version
2022-03-08 16:27:42 -08:00
Matt Bierner
79d381f1df
Use vscode-uri instead of node's path
...
This makes sure we handle other types of uris instead of assuming they are all file uris
2022-03-08 15:48:13 -08:00
Matt Bierner
7f39250d49
Remove extra spread
2022-03-08 14:51:45 -08:00
Matt Bierner
6d64839d01
Fix test
2022-02-24 14:33:55 -08:00
Matt Bierner
2363668892
Don't encode label for md path completions
...
For #142838
2022-02-24 13:52:31 -08:00
Matt Bierner
a56905be63
Use decodeURIComponent instead of decodeUri
...
This is not actually a uri
2022-02-24 13:52:31 -08:00
Matt Bierner
9e3d77b1e4
Also use relative pattern for watching markdown resources
2022-02-22 16:22:55 -08:00
Matt Bierner
7f5be63be9
Escape spaces in file names for md suggestions
...
Fixes #142838
2022-02-11 16:18:24 -08:00
Kazuyuki Sato
a83046f9e6
Decode header suggestions in Markdown path IntelliSense, https://github.com/microsoft/vscode/issues/142330 ( #142392 )
2022-02-07 09:19:24 -08:00
Matt Bierner
1981fd8ece
Fix markdown previews not having an icon
2022-02-03 12:01:10 -08:00
Johannes Rieken
4a130c40ed
enable @typescript-eslint/member-delimiter-style, https://github.com/microsoft/vscode/issues/140391
2022-02-02 14:35:33 +01: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
Matt Bierner
90b50dc7e2
Use ?. in a few more places
2022-02-01 13:59:12 -08:00
Megan Rogge
265cca240a
tweak bold regexp ( #141968 )
2022-02-01 14:10:02 -06:00
Matt Bierner
fdd5c8471a
Avoid lookbehind in regexp
...
Fixes #141689
2022-01-27 17:54:50 -08:00
Matt Bierner
4bdfc9ad01
type -> interface
2022-01-27 17:54:50 -08:00
Matt Bierner
ae08924bfa
readonly
2022-01-27 17:54:50 -08: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
b44c6b3e0f
Treat / as relative to current folder for loose md files
2022-01-24 15:01:52 -08:00
Matt Bierner
968ef3a828
Implement opening for markdown custom editor
...
Fixes #138196
2022-01-19 14:41:39 -08:00
Matt Bierner
280658327f
Move toc expanding for notebooks logic into toc
2022-01-19 14:41:38 -08:00
Matt Bierner
a2d7dfaf35
Simplify toc structure
2022-01-19 14:41:38 -08:00
Matt Bierner
7756c6d7c7
Enable header completions for rest of notebook markdown cells
2022-01-19 14:41:38 -08:00
Logan Ramos
c047af40b2
Fix compilation
2022-01-19 16:18:14 -05:00
Matt Bierner
0906e08747
Enable path completions in notebook markdown cells
2022-01-19 11:31:10 -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
a1f3d41472
Use generators
2022-01-12 19:17:45 -08:00
Matt Bierner
dc03ccdfa9
Support insert and replace completion styles for paths in markdown
2022-01-12 19:05:37 -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