Skip to content

Commit 8940113

Browse files
committed
Refresh from public docs
1 parent b36242f commit 8940113

File tree

5,369 files changed

+20308
-14
lines changed

Some content is hidden

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

5,369 files changed

+20308
-14
lines changed

.pipelines/azure-pipelines.main.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
trigger:
2+
batch: true
3+
branches:
4+
include:
5+
- main
6+
paths:
7+
exclude:
8+
- .config
9+
- .devcontainer
10+
- .pipelines
11+
- .vscode
12+
pr: none
13+
14+
resources:
15+
repositories:
16+
- repository: 1esPipelines
17+
type: git
18+
name: 1ESPipelineTemplates/1ESPipelineTemplates
19+
ref: refs/tags/release
20+
21+
pipelines:
22+
- pipeline: vscode-website-prod
23+
source: vscode-website (official)
24+
branch: release/prod
25+
trigger: true
26+
27+
variables:
28+
Codeql.Enabled: true
29+
Codeql.SourceRoot: $(Pipeline.Workspace)/vscode-website
30+
Codeql.TSAEnabled: true
31+
Codeql.TSAOptionsPath: $(Build.SourcesDirectory)/.config/tsaoptions.json
32+
33+
extends:
34+
template: v1/1ES.Official.PipelineTemplate.yml@1esPipelines
35+
parameters:
36+
sdl:
37+
credscan:
38+
suppressionsFile: $(Build.SourcesDirectory)/.config/CredScanSuppressions.json
39+
git:
40+
fetchDepth: 1
41+
lfs: true
42+
retryCount: 3
43+
policheck:
44+
break: true
45+
sourceAnalysisPool: 1es-windows-2022-x64
46+
tsa:
47+
enabled: true
48+
49+
stages:
50+
- template: templates/stages/build-main.yml@self

.pipelines/azure-pipelines.vnext.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
trigger:
2+
batch: true
3+
branches:
4+
include:
5+
- vnext
6+
paths:
7+
exclude:
8+
- .config
9+
- .devcontainer
10+
- .pipelines
11+
- .vscode
12+
pr: none
13+
14+
resources:
15+
repositories:
16+
- repository: 1esPipelines
17+
type: git
18+
name: 1ESPipelineTemplates/1ESPipelineTemplates
19+
ref: refs/tags/release
20+
21+
pipelines:
22+
- pipeline: vscode-website-main
23+
source: vscode-website (buddy)
24+
branch: main
25+
trigger: true
26+
27+
extends:
28+
template: v1/1ES.Official.PipelineTemplate.yml@1esPipelines
29+
parameters:
30+
sdl:
31+
credscan:
32+
suppressionsFile: $(Build.SourcesDirectory)/.config/CredScanSuppressions.json
33+
git:
34+
fetchDepth: 1
35+
lfs: true
36+
retryCount: 3
37+
policheck:
38+
break: true
39+
sourceAnalysisPool: 1es-windows-2022-x64
40+
tsa:
41+
enabled: true
42+
43+
stages:
44+
- template: templates/stages/build-vnext.yml@self
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
stages:
2+
- stage: Build
3+
jobs:
4+
- template: ../jobs/build.yml@self
5+
parameters:
6+
jobDisplayName: vscode-site-prod
7+
artifactName: vscode-website-prod
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
stages:
2+
- stage: Build
3+
jobs:
4+
- template: ../jobs/build.yml@self
5+
parameters:
6+
jobDisplayName: vscode-site-vnext
7+
artifactName: vscode-website-main

api/advanced-topics/extension-host.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
---
22
# DO NOT TOUCH — Managed by doc writer
33
ContentId: 106AA11C-DB26-493A-9E3C-16F513B2AEC8
4+
<<<<<<< HEAD
45
DateApproved: 10/03/2024
6+
=======
7+
DateApproved: 10/29/2024
8+
>>>>>>> 27e6951b86c69326ee8ff76ba46694a60b72ec65
59

610
# Summarize the whole topic in less than 300 characters for SEO purpose
711
MetaDescription: The Visual Studio Code Extension Host is responsible for managing extensions and ensuring the stability and performance of Visual Studio Code.

api/advanced-topics/remote-extensions.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
---
22
ContentId: 5c708951-e566-42db-9d97-e9715d95cdd1
3+
<<<<<<< HEAD
34
DateApproved: 10/03/2024
5+
=======
6+
DateApproved: 10/29/2024
7+
>>>>>>> 27e6951b86c69326ee8ff76ba46694a60b72ec65
48

59
# Summarize the whole topic in less than 300 characters for SEO purpose
610
MetaDescription: A guide to adding Visual Studio Code Remote Development and GitHub Codespaces support to extensions

api/advanced-topics/tslint-eslint-migration.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
---
22
ContentId: f00c4913-58e3-4a61-aa42-e769c3430906
3+
<<<<<<< HEAD
34
DateApproved: 10/03/2024
5+
=======
6+
DateApproved: 10/29/2024
7+
>>>>>>> 27e6951b86c69326ee8ff76ba46694a60b72ec65
48

59
# Summarize the whole topic in less than 300 characters for SEO purpose
610
MetaDescription: A guide to migrating extension projects from the TSLint linter to ESLint.

api/advanced-topics/using-proposed-api.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
---
22
# DO NOT TOUCH — Managed by doc writer
33
ContentId: f4d4e9e0-8901-405c-aaf5-faa16c32588b
4+
<<<<<<< HEAD
45
DateApproved: 10/03/2024
6+
=======
7+
DateApproved: 10/29/2024
8+
>>>>>>> 27e6951b86c69326ee8ff76ba46694a60b72ec65
59

610
# Summarize the whole topic in less than 300 characters for SEO purpose
711
MetaDescription: Use Visual Studio Code's Proposed API

api/extension-capabilities/common-capabilities.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
---
22
# DO NOT TOUCH — Managed by doc writer
33
ContentId: 9c48dfbf-e49d-4f33-aadc-5ebf06d5dde0
4+
<<<<<<< HEAD
45
DateApproved: 10/03/2024
6+
=======
7+
DateApproved: 10/29/2024
8+
>>>>>>> 27e6951b86c69326ee8ff76ba46694a60b72ec65
59

610
# Summarize the whole topic in less than 300 characters for SEO purpose
711
MetaDescription: Common capabilities that Visual Studio Code extensions (plug-ins) can take advantage of
@@ -36,12 +40,20 @@ An extension can register custom Context Menu items that will be displayed in di
3640

3741
## Data Storage
3842

43+
<<<<<<< HEAD
3944
There are four options for storing data:
45+
=======
46+
There are five options for storing data:
47+
>>>>>>> 27e6951b86c69326ee8ff76ba46694a60b72ec65
4048
4149
- [`ExtensionContext.workspaceState`](/api/references/vscode-api#ExtensionContext.workspaceState): A workspace storage where you can write key/value pairs. VS Code manages the storage and will restore it when the same workspace is opened again.
4250
- [`ExtensionContext.globalState`](/api/references/vscode-api#ExtensionContext.globalState): A global storage where you can write key/value pairs. VS Code manages the storage and will restore it for each extension activation. You can selectively synchronize key/value pairs in global storage by setting the keys for sync using `setKeysForSync` method on `globalState`.
4351
- [`ExtensionContext.storageUri`](/api/references/vscode-api#ExtensionContext.storageUri): A workspace specific storage URI pointing to a local directory where your extension has read/write access. This is a good option if you need to store large files that are accessible only from the current workspace.
4452
- [`ExtensionContext.globalStorageUri`](/api/references/vscode-api#ExtensionContext.globalStorageUri): A global storage URI pointing to a local directory where your extension has read/write access. This is a good option if you need to store large files that are accessible from all workspaces.
53+
<<<<<<< HEAD
54+
=======
55+
- [`ExtensionContext.secrets`](/api/references/vscode-api#ExtensionContext.secrets): A global storage for secrets (or any information that is sensitive) that will be encrypted. These are not synced across machines. For VS Code desktop, this leverages Electron's [safeStorage API](https://www.electronjs.org/docs/latest/api/safe-storage). For VS Code for the Web, this uses a Double Key Encryption (DKE) implementation.
56+
>>>>>>> 27e6951b86c69326ee8ff76ba46694a60b72ec65
4557
4658
The extension context is available to the `activate` function in the [Extension Entry File](/api/get-started/extension-anatomy#extension-entry-file).
4759

api/extension-capabilities/extending-workbench.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
---
22
# DO NOT TOUCH — Managed by doc writer
33
ContentId: e0d5bd37-f020-4235-ad81-c977baaeb24f
4+
<<<<<<< HEAD
45
DateApproved: 10/03/2024
6+
=======
7+
DateApproved: 10/29/2024
8+
>>>>>>> 27e6951b86c69326ee8ff76ba46694a60b72ec65
59

610
# Summarize the whole topic in less than 300 characters for SEO purpose
711
MetaDescription: Explain how to extend Visual Studio Code's workbench area with custom UI components

0 commit comments

Comments
 (0)