Commit Graph

1269 Commits

Author SHA1 Message Date
dependabot[bot]
fc734bd35b Bump brace-expansion from 1.1.12 to 1.1.13 in /extensions/markdown-language-features (#305820)
Bump brace-expansion in /extensions/markdown-language-features

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-30 17:27:59 +02:00
Matt Bierner
87d56f7104 Merge pull request #305550 from mjbvz/dev/mjbvz/tense-dragon
Use `areUrisEqual` helper for better uri checks
2026-03-27 01:01:26 -07:00
Matt Bierner
bd5b480c23 Use areUrisEqual helper for better uri checks 2026-03-27 00:42:39 -07:00
Matt Bierner
5f966ed2ed Also default to treating macos as case insensitive for md file checks 2026-03-27 00:38:30 -07:00
Matt Bierner
33fac91d75 Merge pull request #287050 from AshtonYoon/fix/janky-scrolling-in-markdown-preview
Fix janky scrolling in markdown preview with code blocks
2026-03-26 16:23:25 -07:00
Matt Bierner
243bce7593 Merge branch 'main' into fix/janky-scrolling-in-markdown-preview 2026-03-26 15:14:38 -07:00
dependabot[bot]
1fc1079580 Bump picomatch from 2.3.1 to 2.3.2 in /extensions/markdown-language-features (#304920)
Bump picomatch in /extensions/markdown-language-features

Bumps [picomatch](https://github.com/micromatch/picomatch) from 2.3.1 to 2.3.2.
- [Release notes](https://github.com/micromatch/picomatch/releases)
- [Changelog](https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/picomatch/compare/2.3.1...2.3.2)

---
updated-dependencies:
- dependency-name: picomatch
  dependency-version: 2.3.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com>
2026-03-26 21:47:56 +00:00
Matt Bierner
a9f97ee567 Merge pull request #300847 from mjbvz/dev/mjbvz/conventional-damselfly
Revert "Add `min-release-age` in npmrc files"
2026-03-11 10:39:23 -07:00
Matt Bierner
af32b7b329 Revert "Add min-release-age in npmrc files"
This reverts commit a440ae0518.
2026-03-11 10:07:42 -07:00
Matt Bierner
1592b94c9a Fix any usages in the markdown preview sources
For #269213
2026-03-11 09:54:42 -07:00
Matt Bierner
deda22fcab Merge pull request #300674 from mjbvz/dev/mjbvz/teenage-gamefowl
Experiment with switching markdown extension to use native privates
2026-03-11 01:10:53 -07:00
Matt Bierner
7df46143a1 Experiment with switching markdown extension to use native privates
Let's try this out with one extension to start
2026-03-10 23:13:16 -07:00
Matt Bierner
3709d98040 Merge pull request #300641 from mjbvz/dev/mjbvz/fond-loon
Add `min-release-age` in npmrc files
2026-03-10 23:03:40 -07:00
Matt Bierner
a04eb6787a Merge pull request #296821 from tamuratak/make_markdown_range_link_work
markdown-language-features: enhance document link handling with improved URI parsing and selection
2026-03-10 23:02:52 -07:00
Ashton Yoon
1be6ff2ae9 Merge branch 'main' into fix/janky-scrolling-in-markdown-preview 2026-03-11 13:46:36 +09:00
Matt Bierner
46af82816c Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-10 20:54:15 -07:00
Matt Bierner
a440ae0518 Add min-release-age in npmrc files
For #299632

Not fully enabled unless you're using a recent npm. Next step will be to bump the min node/npm versions for the workspace too
2026-03-10 20:33:07 -07:00
Matt Bierner
909a106725 Use case insentive file uri compare in md extension
For #265277
2026-03-10 19:27:33 -07:00
dependabot[bot]
dcea9a598c Bump dompurify from 3.2.7 to 3.3.2 in /extensions/markdown-language-features (#299899)
Bump dompurify in /extensions/markdown-language-features

Bumps [dompurify](https://github.com/cure53/DOMPurify) from 3.2.7 to 3.3.2.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/3.2.7...3.3.2)

---
updated-dependencies:
- dependency-name: dompurify
  dependency-version: 3.3.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-09 10:48:14 -07:00
Sandeep Somavarapu
2b32258b0e merge to main (#299794)
* sessions - fix chat input shrinking at narrow widths (#299498)

style - set width to 100% for `interactive-input-part`

* modal - force focus into first modal editor always

* fix: update precondition for FixDiagnosticsAction and hide input widget on command execution (#299499)

fixes https://github.com/microsoft/vscode/issues/299251

* refactor: remove workspace context service dependency from FolderPicker

* Add logging for agent feedback actions

* modal - some fixes to actions and layout

* modal - surface some editor actions in a new toolbar (#299582)

* modal - surface some editor actions in a new toolbar

* ccr

* keybindings - remove "Edit as JSON" as its now available from the title menu

* settings - remove "Edit as JSON" as its now available from the title menu

* update hover fixes

* terminal fixes

* terminal improvements

* Sessions: fix auth scopes of gh FSP

* sessions customizations: make it easier to scan mcp/plugin marketplac… (#299636)

sessions customizations: make it easier to scan mcp/plugin marketplace list

* sessions: add built-in prompt files with override support (#299629)

* sessions: add built-in prompt files with override support

Ship bundled .prompt.md files with the Sessions app that appear as
slash commands out of the box. Built-in prompts use a BUILTIN_STORAGE
constant (cast as PromptsStorage) defined in the aiCustomization layer,
avoiding changes to the core PromptsStorage enum and prompt service types.

- AgenticPromptsService discovers prompts from vs/sessions/prompts/
  at runtime via FileAccess and injects them into the listing pipeline
- Override logic: user/workspace prompts with matching names take
  precedence over built-in ones
- Built-in prompts open as read-only in the management editor
- Sessions tree view, workspace service, and counts handle BUILTIN_STORAGE
- Add /create-pr as the first built-in prompt
- Bundle prompt files via gulpfile resource includes

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Update src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* sessions: use AICustomizationPromptsStorage type for builtin storage

Adopt the new AICustomizationPromptsStorage union type in the sessions
tree view method signature. Use string-keyed Records and targeted casts
at the PromptsStorage boundary to stay type-safe.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* sessions: remove PromptsStorage casts, widen IStorageSourceFilter

Use AICustomizationPromptsStorage in sessions-local interfaces
(IAICustomizationGroupItem, IAICustomizationFileItem) and widen
IStorageSourceFilter.sources to readonly string[] so BUILTIN_STORAGE
flows through without casts. The only remaining cast is at the
IPromptPath creation boundary in AgenticPromptsService.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* sessions: move BUILTIN_STORAGE to sessions common layer

Move AICustomizationPromptsStorage type and BUILTIN_STORAGE constant
from the workbench browser UI module to sessions/contrib/chat/common
so that AgenticPromptsService (a service) does not depend on UI code.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* sessions: fix ESLint dangerous type assertion in builtin prompts (#299663)

Replace the `as IPromptPath` cast in discoverBuiltinPrompts with a
createBuiltinPromptPath factory function that contains the type
narrowing in one place, satisfying the code-no-dangerous-type-assertions
ESLint rule.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Enhance Agent Sessions Control and Renderer with observable active session resource

* fix terminal

* Enable model management in NewChatWidget

* review feedback

* different competion settings for copilot markdown and plaintext

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>
Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
Co-authored-by: Johannes Rieken <johannes.rieken@gmail.com>
Co-authored-by: BeniBenj <besimmonds@microsoft.com>
Co-authored-by: Osvaldo Ortega <osortega@microsoft.com>
Co-authored-by: Josh Spicer <23246594+joshspicer@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-06 09:09:01 -08:00
dependabot[bot]
df40d0e363 Bump minimatch from 3.1.2 to 3.1.3 in /extensions/markdown-language-features (#297527)
Bump minimatch in /extensions/markdown-language-features

Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.1.2 to 3.1.3.
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.1.2...v3.1.3)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-version: 3.1.3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-27 17:59:58 +00:00
Takashi Tamura
0e3178d4be Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-23 06:58:44 +09:00
Takashi Tamura
dc9e5e1625 Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-23 06:56:55 +09:00
Takashi Tamura
3017b9d709 Update extensions/markdown-language-features/src/util/openDocumentLink.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-23 06:51:58 +09:00
Takashi Tamura
d00bde0b39 markdown-language-features: enhance document link handling with improved URI parsing and selection 2026-02-22 20:26:37 +09:00
Matt Bierner
631230f71b Merge pull request #295029 from microsoft/dev/mjbvz/esbuild-gunt
Adopt esbuild instead of webpack for a few more extensions
2026-02-12 16:52:22 -08:00
Raymond Zhao
e987c5242e chore: bump extension versions (#295040) 2026-02-13 04:15:03 +05:00
Matt Bierner
41a5154112 Merge branch 'main' into dev/mjbvz/esbuild-gunt 2026-02-12 15:09:29 -08:00
Matt Bierner
37cdd0eb43 Fixing errors 2026-02-12 12:43:36 -08:00
Matt Bierner
5d33f345e1 Merge branch 'main' into dev/mjbvz/legitimate-squirrel 2026-02-12 12:37:14 -08:00
Matt Bierner
2e81391ad3 Adopt esbuild instead of webpack for a few more extensions
Adopting for configuration-editing, emmet, grunt, jake, and npm
2026-02-12 12:31:13 -08:00
Matt Bierner
5423e1a2a5 Update ignore file list 2026-02-11 16:42:08 -08:00
Matt Bierner
03561955b7 Clean up esbuilding of extensions
- Make sure we still always type check using `tsgo --noEmit`
- Align names of esbuild files
- Convert all esbuild files to typescript. We use the `.mts` extension to avoid annoying node warnings about using pacakges
2026-02-11 14:57:16 -08:00
Matt Bierner
d434a65945 Use esbuild to pack the markdown extension for desktop and web (#294208)
* Try using esbuild to bundle our built-in extensions

Test switching to esbuild instead of webpack to bundle our buildin extensions. Setup so we can do this incrementally and starting with the markdown extension as a test

* Fix build ext media

* Fix .ts script name check

* Update comment

* Use ts for all scripts
2026-02-10 20:32:40 +00:00
Matt Bierner
ee01088b74 Update roots 2026-01-30 13:12:58 -08:00
Matt Bierner
0d9a2ef2b0 Add explicit rootDirs 2026-01-30 11:07:53 -08:00
AshtonYoon
ce82477188 markdown: remove extra blank lines 2026-01-19 15:22:35 +09:00
Paul
12bce8da5a Agent skills management UX and file support (#287201) 2026-01-16 05:46:36 +11:00
AshtonYoon
8cfe3492f9 markdown: fix janky scrolling in preview with code blocks
Fixes #278930

This commit fixes the scroll synchronization issues between the markdown
editor and preview when scrolling through code blocks:

1. **Code block line tracking**: Added endLine calculation for fenced
   code blocks by counting newlines, enabling accurate line-to-position
   mapping within multi-line code blocks.

2. **Padding-aware scrolling**: Implemented getContentBounds() to
   calculate scroll positions excluding padding, preventing jumps when
   scrolling through code blocks with padding.

3. **Scroll loop prevention**: Changed scroll disable flags from counters
   to timer-based booleans (50ms) to prevent infinite sync loops while
   maintaining smooth bidirectional synchronization.

The fix ensures smooth scrolling through code blocks without jumping or
stuttering in both directions (editor ↔ preview).
2026-01-12 12:39:02 +09:00
Martin Aeschlimann
42434d7c15 Can't preview custom agents' markdown files (#286331) 2026-01-07 10:46:21 +00:00
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
c679b20148 Merge branch 'main' into dev/mjbvz/legitimate-squirrel 2025-11-17 16:32:38 -08: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