Commit Graph

1124 Commits

Author SHA1 Message Date
its-meny
36dc1957f1
fix: Quotes with headings on markdown not rendering properly (#205227) 2024-06-24 23:32:45 +02:00
BrunoSoaresEngineering
3fdda617d3
feat(markdown-language-features): #208398 add avif as image extension (#212547) 2024-05-13 15:29:10 +00:00
Robo
5216c04428
chore: update to electron 29 (#209818)
* chore: update electron@29.1.0

* chore: update typings to 20.x

* chore: bump electron@29.1.5

* ci: fix crash in compiling extensions-ci

* chore: disable .d.ts check for build/

$ ../node_modules/.bin/tsc -p tsconfig.build.json
node_modules/@types/chokidar/index.d.ts:21:14 - error TS2420: Class 'import("/Users/demohan/github/vscode/build/node_modules/@types/chokidar/index").FSWatcher' incorrectly implements interface 'import("fs").FSWatcher'.
  Type 'FSWatcher' is missing the following properties from type 'FSWatcher': ref, unref

21 export class FSWatcher extends EventEmitter implements fs.FSWatcher {
                ~~~~~~~~~

node_modules/chokidar/types/index.d.ts:8:14 - error TS2420: Class 'import("/Users/demohan/github/vscode/build/node_modules/chokidar/types/index").FSWatcher' incorrectly implements interface 'import("fs").FSWatcher'.
  Type 'FSWatcher' is missing the following properties from type 'FSWatcher': ref, unref

8 export class FSWatcher extends EventEmitter implements fs.FSWatcher {
               ~~~~~~~~~

Found 2 errors in 2 files.

Errors  Files
     1  node_modules/@types/chokidar/index.d.ts:21
     1  node_modules/chokidar/types/index.d.ts:8

Refs a0f9e09f64

* chore: update core types

* temp: fix layer validation

* chore: update nodejs checksums

* ci: use latest v20 LTS for missing node-gyp

Refs eacec5f490

* ci: define LIBCPP_HARDENING_MODE

* ci: fix crash in vscode-web-min-ci

* chore: update rpm deps-list

* chore: bump tree-sitter-typescript@0.20.5

* chore: bump electron@29.3.0

* chore: bump electron@29.3.1

* chore: update rpm deps-list for x86_64

* ci: disable io_uring UV backend on linux

* ci: disable io_uring backend for oss as well

* chore: update typings to 20.x

* ci: add TODO for io_uring workaround

* chore: bump distro

* chore: update preinstall node version checks

* chore: update @types/gulp

Refs https://github.com/microsoft/vscode/issues/212442

* ci: disable io_uring in more test suites
2024-05-11 01:20:28 +09:00
Matt Bierner
56ad6311c8
Pick up latest Markdown language service (#211391)
Fixes #211389
2024-04-25 13:48:44 -07:00
Matt Bierner
98785f537e
Fix setting type (#210408)
Fixes #210400
2024-04-15 18:51:02 +02:00
Matt Bierner
6160e8e969
Add support for markdown image/video path hovers (#209685) 2024-04-05 22:29:31 +02:00
Matt Bierner
8c363b460b
Merge and cleanup drop and paste proposal (#209591)
These two proposals overlap a lot and will be finalized together
2024-04-05 13:03:10 -07:00
Matt Bierner
74fff91cc9
Pick up latest md language service (#209574) 2024-04-04 22:27:25 +02:00
Matt Bierner
7a623b31fb
Fix frontmatter line map (#209556)
Fixes #209267
2024-04-04 19:39:21 +02:00
Matt Bierner
998047ca2f
Add experimental support for updating markdown links on copy/paste (#209319)
* Add experimental support for updating markdown links on copy/paste

For #209318

* Remove log
2024-04-02 17:15:12 +02:00
Matt Bierner
7d788e70b9
Limit drop disablement to just http(s) uris (#209240)
For #209239
2024-04-01 04:37:06 -07:00
Raymond Zhao
e483d8407c
chore: bump katex (#209141) 2024-03-29 21:07:15 +01:00
Matt Bierner
70e896c977
Fix md preview substr highlighting (#208337)
Fix substr highlighting

Fixes #205515
2024-03-21 22:32:35 +01:00
Matt Bierner
288be7d337
Fix settings keys (#208253)
Fixes #207804
2024-03-20 22:21:55 +01:00
Matt Bierner
26f95e73b5
Try to clarify wording on setting (#207645)
Fixes #206535
2024-03-15 00:51:07 +01:00
Matt Bierner
e5f5e91423
Make paste resource respect paste location (#207635)
Fixes #207186
2024-03-13 22:27:44 +01:00
Matt Bierner
4d88bd07ba
Pick up latest md language service (#207513) 2024-03-12 23:19:11 +01:00
Matt Bierner
9aecd9794a
Cleaning up paste api proposal (#207495) 2024-03-12 21:11:05 +01:00
Matt Bierner
091987d943
Update paste and drop proposals (#206496)
* Update paste and drop proposals

Reworks the document paste and drop API proposals. Main highlights:

- Align more with code action api
- Allow a single paste provider to return multiple edits
- Allow resolving applied edits lazily
- Switch from using ids to scoped kinds like used for code actions

* Adding paste context

* Add context

* Update test
2024-03-07 16:04:36 -08:00
Raymond Zhao
c8c243a3d8
chore: add Windows as package platform (#206369) 2024-02-27 12:56:12 -08:00
Matt Bierner
da36e0eba1
Disable url smart paste in autolinks (#204673)
Fixes #188859
2024-02-07 18:01:32 -08:00
Matt Bierner
4be04d5d8c
Fix file uri markdown link pasting (#203377)
Fixes #203180

Enables this feature for uris without authorities and also makes sure these uris are not rewritten to relative paths
2024-01-29 09:24:28 -08:00
Matt Bierner
772791e9e5
Fix markdown link pasting when selection is inline code (#203657)
If the user selects a complete inline code block, we should paste as a markdown link with the code as the link text
2024-01-29 09:10:52 +01:00
Matt Bierner
98d55333b9
Fix md pasting inside of incomplete html block (#203476)
Fix pasting inside of incomplete html block

Fixes #188868
2024-01-28 23:55:19 -08:00
Matt Bierner
3dea5cbbcb
Pick up latest markdown language service (#203405)
Picking up the latest stable release. This is mainly just a tag release compared to alpha-8
2024-01-24 18:54:32 -08:00
Michael Rienstra
dc10e26a05
docs: document new configuration.markdown.copyFiles.destination options (#203391)
docs: document new `configuration.markdown.copyFiles.destination`

And clean-up / standardize existing docs of same
2024-01-25 00:39:51 +00:00
Matt Bierner
9c95828898
Enable paste url for file uris (#203270)
Fixes #203180
2024-01-23 17:08:58 -08:00
Matt Bierner
a42d4751d2
Fix markdown smart paste setting check (#202688) 2024-01-18 00:51:27 +01:00
Matt Bierner
afbec2027b
Fix markdown-it-katex error (#202393) 2024-01-12 18:46:08 -08:00
Matt Bierner
d81d32b940
Re-render markdown preview when linkify setting changes (#200599) 2024-01-11 17:23:13 -08:00
Matt Bierner
c72ffc8cd8
Use published markdown-katex typings (#202284) 2024-01-11 13:42:24 -08:00
Matt Bierner
8f32885359
Use markdown engine to enable/disable smart paste (#202192)
Fixes #188863
Fixes #188958
Fixes #188868

This is more reliable than using the regular expressions. However the regular expressions are still needed for inline elements
2024-01-10 14:32:58 -08:00
Matt Bierner
0bb69da87c
Add new smartWithSelection option for markdown links (#202183)
This becomes the new default while `smart` always smartly pastes, even with no selection
2024-01-10 20:01:52 +01:00
Matt Bierner
35579c0b57
De-prioritize markdown link paste in code blocks (#202109) 2024-01-09 14:27:28 -08:00
Matt Bierner
1a7ec6aea2
Fix code block in notebook markdown rendering (#201748)
Fixes #201731
2024-01-08 08:33:55 -08:00
Matt Bierner
14b09484ff
Change how placeholders in parsed markdown links are created (#201851)
Fixes #186284

See https://github.com/microsoft/vscode/issues/186284#issuecomment-1877968127 for details

Also fixes the tab order to always start from the top most range in the document
2024-01-04 17:21:09 -08:00
Matt Bierner
26ef59c6a7
Rework markdown paste resource (#201838)
Fixes #184980

This refactors much of the logic around markdown paste/drop. PR got a little large but the main highlights are:

- Allow using a custom snippet for inserted audio/video
- Merge the drop/paste resource provider classes since these are so similar
- Enable smart pasting of url text by default
- Refactor url paste logic
- For now, disable the behavior where url paste could paste a combination of markdown and plain uris. In practice this is confusing, especially because our labels for this were wrong. We can always reintroduce this later if multicursor users find it useful
2024-01-04 15:59:14 -08:00
Matt Bierner
9b8f216b8c
Support escapes in markdown destination settings (#200911)
Support escaping `$` to prevent use as variable and escaping `/` inside of transforms
2023-12-15 02:02:27 +01:00
Matt Bierner
955ad8630b
Add support for documentRelativeDirName and documentRelativeFilePath (#200883)
Fixes #193752
2023-12-14 13:03:23 -08:00
Matt Bierner
4c5336dae1
Skip encoding of markdown links (#200588)
Fixes #200213

This encoding should no longer be needed now that we can smartly insert angle bracket links
2023-12-12 08:52:25 +11:00
Matt Bierner
a0d9408921
Use satisfies in a few more places (#200181)
Avoids casing issues
2023-12-06 12:27:47 -08:00
Matt Bierner
ff9fc384d3
Clean up and fix markdown url pasting (#198706)
Fixes #192568
2023-11-20 14:37:00 -08:00
Matt Bierner
ad31b067ab
Fix markdown link inserting (#198702)
Fixes #190769
Fixes #195349

Also makes some small code cleanups
2023-11-20 21:10:43 +01:00
Matt Bierner
25ac184fe7
Fix notebook markdown list rendering (#198696)
Fixes #197097
2023-11-20 18:23:14 +01:00
Matt Bierner
4f303bb42c
Disable md paste file path in untitled notebooks (#198372)
Fixes #194809

Since the notebook does not exist on disk yet, there's no way to write a relative path in it. Just disable the feature since there's nothing else we can reasonably do here
2023-11-16 00:31:39 +01:00
Matt Bierner
8943ea4790
Fix markdown code block styling (#198351)
Fixes #198183

Remove extra background and also removes the extra divs inside of the code blocks as these were causing issues with styling (extra padding)
2023-11-15 21:03:04 +01:00
Logan Ramos
9bea1fc96a
Bump telemetry package (#197168) 2023-11-01 20:51:03 +01:00
Matt Bierner
8a450b31e3
Pull in latest markdown language server (#197105) 2023-10-31 16:25:27 -07:00
Greg Van Liew
ef0871b7bb
Edits to setting descriptions (#195007) 2023-10-06 10:04:37 -07:00
Matt Bierner
46c1f27c46
Pick up latest markdown language service (#194329) 2023-10-02 13:53:03 -07:00