Skip to content

Commit 89c742d

Browse files
committed
Merge branch 'main' of https://github.com/Microsoft/vscode
1 parent bdfa8b9 commit 89c742d

File tree

168 files changed

+6132
-3630
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

168 files changed

+6132
-3630
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ src/cli.ts @bpasero @deepak1556
2525
src/main.ts @bpasero @deepak1556
2626
src/server-cli.ts @bpasero @deepak1556
2727
src/server-main.ts @bpasero @deepak1556
28+
src/vs/base/browser/domSanitize.ts @mjbvz
2829
src/vs/base/parts/sandbox/** @bpasero @deepak1556
2930
src/vs/base/parts/storage/** @bpasero @deepak1556
3031
src/vs/platform/backup/** @bpasero

.github/chatmodes/Plan.chatmode.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
description: Research and draft an implementation plan
3+
tools: ['search', 'executeTask', 'usages', 'problems', 'get_issue', 'get_issue_comments', 'fetch', 'githubRepo']
4+
---
5+
You are pairing with the user to create a clear, detailed, and actionable plan for the given task, iterating through a <workflow> of gathering context and drafting the plan for review.
6+
7+
<workflow>
8+
Comprehensive context gathering for planning following <plan_research>:
9+
- IF `execute_task` tool is available: MUST run `execute_task` tool, prompted not to NOT pause for user feedback, and to follow <plan_research> and write a <plan_draft>.
10+
- ELSE (`execute_task` tool is NOT available): Run <plan_research> via tools yourself, following research_actions.
11+
- Present the plan to the user for feedback and refinement:
12+
- Highlights key areas of ambiguity with specific questions and suggestions.
13+
- MANDATORY: Pause for user feedback!
14+
- Handle feedback: Refine the plan directly or research further if more context is needed.
15+
</workflow>
16+
17+
<plan_research>
18+
Comprehensive information gathering using read-only tools:
19+
- Examine existing codebase structure, architecture, documentation, and dependencies
20+
- Start with high-level code searches before reading specific files
21+
- Prioritize parallel tool calls for efficiency
22+
- Analyze gaps between current state and desired outcome
23+
- Assess potential integration points and conflicts
24+
</plan_research>
25+
26+
<plan_draft>
27+
- Clear, concise, non-repetitive, and high-signal, or it will be too long to read
28+
- Tailored to the request and context:
29+
- Higher complexity requires more detail
30+
- Higher ambiguity requires more exploration of alternatives
31+
- Briefly summarize problem understanding and proposed technical approach
32+
- Implementation plan broken down into clear, iterative steps as ordered markdown list
33+
- Call out any steps that are too vague or ambiguous to act on
34+
</plan_draft>

.github/prompts/implement.prompt.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
mode: agent
3-
description: 'Implement the solution for a problem.'
3+
description: 'Implement the plan'
44
tools: ['edit', 'notebooks', 'search', 'runCommands', 'runTasks', 'usages', 'vscodeAPI', 'problems', 'changes', 'testFailure', 'openSimpleBrowser', 'fetch', 'githubRepo', 'todos', 'runTests']
55
---
66
Please write a high quality, general purpose solution. Implement a solution that works correctly for all valid inputs, not just the test cases. Do not hard-code values or create solutions that only work for specific test inputs. Instead, implement the actual logic that solves the problem generally.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
mode: Plan
3+
description: Deep plan
4+
---
5+
Before doing your research discover related code (5 tool calls max) as high-level overview, then ask 3 clarifying questions. Once the user answered, go to *Research*.
6+
7+
Be extra detailed in your planning draft.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
mode: Plan
3+
description: Fast plan
4+
---
5+
Research as usual, but draft a much more shorter implementation plan.

.github/prompts/plan.prompt.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
mode: agent
3-
description: 'Plan the solution for a problem.'
3+
description: 'Start planning'
44
tools: ['getNotebookSummary', 'readNotebookCellOutput', 'search', 'getTerminalOutput', 'terminalSelection', 'terminalLastCommand', 'usages', 'vscodeAPI', 'think', 'problems', 'changes', 'testFailure', 'fetch', 'githubRepo', 'todos', 'get_issue', 'get_issue_comments', 'get_me']
55
---
66
Your goal is to prepare a detailed plan to fix the bug or add the new feature, for this you first need to:

.vscode/settings.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,10 +200,15 @@
200200
"remote.extensionKind": {
201201
"msjsdiag.debugger-for-chrome": "workspace"
202202
},
203-
"terminal.integrated.suggest.enabled": true,
204-
"application.experimental.rendererProfiling": true,
203+
// "application.experimental.rendererProfiling": true, // https://github.com/microsoft/vscode/issues/265654
205204

206205
"editor.aiStats.enabled": true, // Team selfhosting on ai stats
207206
"chat.checkpoints.showFileChanges": true,
208-
"svg.preview.background": "white"
207+
"svg.preview.background": "white",
208+
"chat.emptyState.history.enabled": true,
209+
"github.copilot.chat.advanced.taskTools.enabled": true,
210+
"chat.promptFilesRecommendations": {
211+
"plan-fast": true,
212+
"plan-deep": true
213+
}
209214
}

build/azure-pipelines/common/publish-artifact.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ parameters:
1818
- name: sbomPackageVersion
1919
type: string
2020
default: ""
21+
- name: isProduction
22+
type: boolean
23+
default: true
2124
- name: condition
2225
type: string
2326
default: succeeded()
@@ -77,6 +80,7 @@ steps:
7780
targetPath: ${{ parameters.targetPath }}
7881
artifactName: $(ARTIFACT_NAME)
7982
sbomEnabled: ${{ parameters.sbomEnabled }}
83+
isProduction: ${{ parameters.isProduction }}
8084
${{ if ne(parameters.sbomBuildDropPath, '') }}:
8185
sbomBuildDropPath: ${{ parameters.sbomBuildDropPath }}
8286
${{ if ne(parameters.sbomPackageName, '') }}:

build/azure-pipelines/darwin/product-build-darwin-test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ steps:
132132
${{ else }}:
133133
artifactName: crash-dump-macos-$(VSCODE_ARCH)-${{ parameters.VSCODE_TEST_ARTIFACT_NAME }}-$(System.JobAttempt)
134134
displayName: "Publish Crash Reports"
135+
isProduction: false
135136
sbomEnabled: false
136137
continueOnError: true
137138
condition: failed()
@@ -146,6 +147,7 @@ steps:
146147
${{ else }}:
147148
artifactName: node-modules-macos-$(VSCODE_ARCH)-${{ parameters.VSCODE_TEST_ARTIFACT_NAME }}-$(System.JobAttempt)
148149
displayName: "Publish Node Modules"
150+
isProduction: false
149151
sbomEnabled: false
150152
continueOnError: true
151153
condition: failed()
@@ -158,6 +160,7 @@ steps:
158160
${{ else }}:
159161
artifactName: logs-macos-$(VSCODE_ARCH)-${{ parameters.VSCODE_TEST_ARTIFACT_NAME }}-$(System.JobAttempt)
160162
displayName: "Publish Log Files"
163+
isProduction: false
161164
sbomEnabled: false
162165
continueOnError: true
163166
condition: succeededOrFailed()

build/azure-pipelines/linux/product-build-linux-test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ steps:
147147
${{ else }}:
148148
artifactName: crash-dump-linux-$(VSCODE_ARCH)-${{ parameters.VSCODE_TEST_ARTIFACT_NAME }}-$(System.JobAttempt)
149149
displayName: "Publish Crash Reports"
150+
isProduction: false
150151
sbomEnabled: false
151152
continueOnError: true
152153
condition: failed()
@@ -161,6 +162,7 @@ steps:
161162
${{ else }}:
162163
artifactName: node-modules-linux-$(VSCODE_ARCH)-${{ parameters.VSCODE_TEST_ARTIFACT_NAME }}-$(System.JobAttempt)
163164
displayName: "Publish Node Modules"
165+
isProduction: false
164166
sbomEnabled: false
165167
continueOnError: true
166168
condition: failed()
@@ -173,6 +175,7 @@ steps:
173175
${{ else }}:
174176
artifactName: logs-linux-$(VSCODE_ARCH)-${{ parameters.VSCODE_TEST_ARTIFACT_NAME }}-$(System.JobAttempt)
175177
displayName: "Publish Log Files"
178+
isProduction: false
176179
sbomEnabled: false
177180
continueOnError: true
178181
condition: succeededOrFailed()

0 commit comments

Comments
 (0)