Commit Graph

1225 Commits

Author SHA1 Message Date
Matt Bierner
b5af713233 Merge pull request #282556 from mjbvz/dev/mjbvz/doubtful-boa
Align markdown preview slugifier with markdown LS's slugifier
2025-12-10 16:26:10 -08:00
Matt Bierner
b9c18c3652 Align markdown preview slugifier with markdown LS's slugifier
For #280520
2025-12-10 11:44:05 -08:00
MohamedEmirHajji
7da4bbe808 Markdown preview: filter hidden elements from scroll sync (fix microsoft#281247) 2025-12-10 17:01:55 +01:00
MohamedEmirHajji
e04a029f0e Markdown preview: filter hidden elements from scroll sync (fix #281247) 2025-12-10 15:54:00 +01:00
Matt Bierner
b38fb3f7f1 Don't watch non-writable fs for md preview updates
Fixes #277389
2025-11-14 10:32:54 -08:00
Matt Bierner
723aa849c9 Convert gulpfiles to modules
Makes a pass through our top level gulpfiles to convert them to modules
2025-11-11 15:28:50 -08:00
Matt Bierner
dd281f1d90 Remove allowSyntheticDefaultImports 2025-11-10 09:01:56 -08:00
Matt Bierner
c47a56c7bc Adopt uuids for generating webview nonces 2025-10-29 13:53:47 -07:00
Raymond Zhao
351866ef1a chore: use dompurify 3.2.7 (#271538) 2025-10-15 09:58:39 -07:00
Matt Bierner
98ad0f55db Proper fix for missing node types in web build
Using `path` in web for these cases is ok (but not ideal) because webpack shims it out
2025-10-14 12:14:28 -07:00
Matt Bierner
8df16c735f Fix web build
Temporarily reverting change to unblock web build
2025-10-14 11:58:39 -07:00
Matt Bierner
98b069c041 Work towards getting isolated built-in extension compiles
For #271167

This makes it so our built-in extensions can mostly be built using `tsc` on the command line. Previously the extensions were picking up a lot of typing info from the root `node_modules` that meant they weren't truly independent
2025-10-13 11:03:20 -07:00
Martin Aeschlimann
cf1a93be3f Markdown: Open Preview - doesn't work for *.prompt.md files (#270417) 2025-10-08 20:09:33 +00:00
Matt Bierner
598304ba4d Merge pull request #269665 from mjbvz/dev/mjbvz/delicious-sloth
Add lint rule for `as any` and bulk ignore all existing breaks
2025-10-03 01:31:51 -07:00
Copilot
3a1b1ed83c Disable double-click to reveal source for .copilotmd files in markdown preview (#267517)
* Initial plan

* Disable double-click behavior for .copilotmd files in markdown preview

Co-authored-by: joaomoreno <22350+joaomoreno@users.noreply.github.com>

* Update extensions/markdown-language-features/preview-src/index.ts

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: joaomoreno <22350+joaomoreno@users.noreply.github.com>
Co-authored-by: João Moreno <joaomoreno@users.noreply.github.com>
2025-10-03 08:27:59 +00:00
Matt Bierner
360c9fd134 Add lint rule for as any and bulk ignore all existing breaks
For #269213

This adds a new eslint rule for `as any` and `<any>({... })`. We'd like to remove almost all of these, however right now the first goal is to prevent them in new code. That's why with this first PR I simply add `eslint-disable` comments for all breaks

Trying to get this change in soon after branching off for release to hopefully minimize disruption during debt week work
2025-10-02 23:38:33 -07:00
Matt Bierner
97b2c007cd Migrate fully of moduleResolution node10
Fixes #265420
2025-09-09 11:08:41 -07:00
Matt Bierner
c67f8834a7 Adding a few more ignoreDeprecations 2025-09-05 14:48:25 -07:00
dependabot[bot]
b6416c5a5f Bump brace-expansion from 1.1.11 to 1.1.12 in /extensions/markdown-language-features (#261693)
Bump brace-expansion in /extensions/markdown-language-features

Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 1.1.11 to 1.1.12.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](https://github.com/juliangruber/brace-expansion/compare/1.1.11...v1.1.12)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 1.1.12
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-19 11:55:15 +02:00
Matt Bierner
73e6d6a0a2 Enable a few more stylistic eslint options for my extensions 2025-08-14 10:42:20 -07:00
Matt Bierner
8f232fff89 Exclude a few more files from published extensions 2025-08-13 10:15:20 -07:00
Matt Bierner
2c749892ad Merge pull request #260466 from mjbvz/sick-marmoset
Convert esbuild scripts to modules
2025-08-07 21:57:27 -07:00
Matt Bierner
7bf1ab9dbe Also change common file extension 2025-08-07 20:07:03 -07:00
Matt Bierner
f272e51947 Convert esbuild scripts to modules
Planning to convert to typescript but want to do it in a few smaller steps
2025-08-07 20:04:44 -07:00
Matt Bierner
ed71020bfc Convert extension webpack scripts to modules 2025-08-07 17:20:22 -07:00
Matt Bierner
6c2cf7800e Use consistent case 2025-08-05 10:44:16 -07:00
Matt Bierner
30b93b1217 Bump extensions to target es2024
I reviewed the various changes and library additions of es2024 and it seems they are widely supported across node and modern browsers
2025-08-05 10:40:33 -07:00
Matt Bierner
4b9b99ba7a Pick up latest md language server
For #248467
2025-07-25 16:07:10 -07:00
Ladislau Szomoru
4d7c56ee82 Engineering - Add GitHub action for pull requests (#254056)
* Test - handle running tests as part of a GitHub action

* Add GitHub action files
2025-07-04 08:21:56 +00:00
Martin Aeschlimann
25a8dd4f0b enable markdown language server for prompt files (#252656) 2025-06-30 14:19:00 -07:00
Liu
39d6463003 Update package.nls.json 2025-06-20 12:01:50 +08:00
Liu
47871a8cb3 Merge branch 'main' into main 2025-06-16 02:17:50 +08:00
heoh
53a4ef7018 Fix markdown preview scroll crawls at EOF (fix #249278) 2025-06-12 03:56:11 +09:00
Liu
e741ef491b Update copyFiles.ts 2025-06-06 02:43:21 +08:00
Matt Bierner
6dbeb7ba5f Merge pull request #249520 from mjbvz/western-slug
Fix sanitizer call
2025-05-22 12:53:03 -07:00
Matt Bierner
b6f2887eb0 Fix sanitizer call
Fixes #247432
2025-05-22 00:23:05 -07:00
Matt Bierner
73f244c82b Make sure to escape cspSource
Good practice

Also makes sure we don't include full file uris in the csp
2025-05-22 00:01:01 -07:00
Matt Bierner
d4d2f93bf7 Pick up latest vscode-markdown-languageserver 2025-05-20 19:28:34 -07:00
Matt Bierner
aa986f0d99 Include preview roots in list of allowed markdown preview csp roots
Fixes #249321
2025-05-19 16:47:17 -07:00
Matt Bierner
42c4a17dd9 Merge pull request #240508 from notoriousmango/copy-image-handle-error
fix: use the copy command for images with CORS errors in the markdown preview
2025-03-25 13:35:14 -07:00
Matt Bierner
a09b4abef2 Also update lockfile 2025-03-24 15:29:37 -07:00
Matt Bierner
dd74e0494a Pick up latest md language server 2025-03-24 15:03:03 -07:00
Matt Bierner
23812e0d8f Make sure scripts in md preview are properly evaluated
Fixes #243454

This restores the previous behavior. If the default security settings are used, scripts will still block blocked by the CSP. If you fully disable the security settings, then we'll try to run them
2025-03-17 11:45:49 -07:00
Seong Min Park
de60000148 Merge branch 'main' into copy-image-handle-error 2025-03-16 16:04:34 +09:00
Matt Bierner
0a66642a04 Don't duplicate body in md preview
Fixes #243340
2025-03-12 09:07:34 -07:00
Seong Min Park
2b1c717948 Merge branch 'main' into copy-image-handle-error 2025-02-25 21:35:41 +09:00
Seong Min Park
efe29bb57d register output channel 2025-02-21 07:29:00 +09:00
Seong Min Park
8ee87efa3f add colon 2025-02-20 22:25:56 +09:00
Seong Min Park
7c7d37ea8d revert markdown.trace.server 2025-02-20 22:09:42 +09:00
notoriousmango
c4f757d3ce verbose to trace 2025-02-20 18:42:41 +09:00