Compare commits
203
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
294a751210 | ||
|
|
f6cc1fbd03 | ||
|
|
e0bd199546 | ||
|
|
bc914dc69c | ||
|
|
b2f5c605c4 | ||
|
|
d41e14fd86 | ||
|
|
35c0fd37e2 | ||
|
|
99259bf194 | ||
|
|
10c1e1b606 | ||
|
|
fcdb6efbab | ||
|
|
bd5f6c0462 | ||
|
|
9c45e4d2bc | ||
|
|
31f6b66e6b | ||
|
|
4404bf76a7 | ||
|
|
133896eb4c | ||
|
|
376562ee75 | ||
|
|
668b33c1e5 | ||
|
|
6317e27e45 | ||
|
|
223a3e2cbe | ||
|
|
5b000d939b | ||
|
|
b6b11027da | ||
|
|
e22017f6df | ||
|
|
a2f6a72aed | ||
|
|
593ed07c56 | ||
|
|
40f7455acd | ||
|
|
adf4681ef8 | ||
|
|
a53dac8bef | ||
|
|
04c60c288a | ||
|
|
fa71378712 | ||
|
|
36a78e89e1 | ||
|
|
364ba2789c | ||
|
|
8d5fc737b1 | ||
|
|
1172405856 | ||
|
|
b013b10b64 | ||
|
|
c6ff700da2 | ||
|
|
936e7e3b15 | ||
|
|
e7e2e3983f | ||
|
|
80a6d16f83 | ||
|
|
e5a976f229 | ||
|
|
70fbfd71e1 | ||
|
|
5b3b56c694 | ||
|
|
777ff002f1 | ||
|
|
8de8679b3e | ||
|
|
e02269ba89 | ||
|
|
7852d4587c | ||
|
|
a1cb1d8bec | ||
|
|
e10273d4a5 | ||
|
|
0ae864f1d7 | ||
|
|
58e66e8aac | ||
|
|
cf11bb5666 | ||
|
|
777af10222 | ||
|
|
ca3dcdbc8f | ||
|
|
ff2fb7eb65 | ||
|
|
a1fa61e73f | ||
|
|
42f7302d6b | ||
|
|
af326bd298 | ||
|
|
b50bf604fd | ||
|
|
f4f3d8ca8b | ||
|
|
303b838a41 | ||
|
|
36cea36784 | ||
|
|
e4f859dd56 | ||
|
|
97c5f14bd5 | ||
|
|
c4003c07e8 | ||
|
|
c27806e763 | ||
|
|
7cfb2d3316 | ||
|
|
9a03b747c6 | ||
|
|
989cee4414 | ||
|
|
c357224407 | ||
|
|
a636c87f3e | ||
|
|
471cdfecf8 | ||
|
|
97128122b0 | ||
|
|
006ebff619 | ||
|
|
1458694ed6 | ||
|
|
896024ba9c | ||
|
|
779bb080c1 | ||
|
|
97df273fc1 | ||
|
|
7037b070ce | ||
|
|
205e63772c | ||
|
|
e7dff799fd | ||
|
|
ec41c3e481 | ||
|
|
71cf89ce70 | ||
|
|
f7863066f3 | ||
|
|
0c2862c379 | ||
|
|
6026c84c6f | ||
|
|
e3ee2ee76a | ||
|
|
ff1cd88466 | ||
|
|
98696368f4 | ||
|
|
99d98afcec | ||
|
|
784f1450c0 | ||
|
|
7d26dd1c4f | ||
|
|
37950ffb2d | ||
|
|
23b0672837 | ||
|
|
7bafd64cfe | ||
|
|
381d69646b | ||
|
|
bfa36bc662 | ||
|
|
5cbe83ec44 | ||
|
|
dead10ac8a | ||
|
|
ce20613f24 | ||
|
|
86c6c10f18 | ||
|
|
db6e0cb5cf | ||
|
|
f9e067f5d1 | ||
|
|
b137df0bcd | ||
|
|
827db55084 | ||
|
|
8a2324daaa | ||
|
|
d41ccfd497 | ||
|
|
bdd3541f28 | ||
|
|
c8b7f13c1a | ||
|
|
8d0d3601a7 | ||
|
|
e9613ae7ad | ||
|
|
3570705b5c | ||
|
|
096b1463a6 | ||
|
|
812318163d | ||
|
|
225b776d99 | ||
|
|
12d95f4708 | ||
|
|
317df57496 | ||
|
|
f63c3652f8 | ||
|
|
5d62607760 | ||
|
|
26d0932972 | ||
|
|
3cc2650dfa | ||
|
|
fdf9b5bfe0 | ||
|
|
fdd71bc963 | ||
|
|
1d266a9c0e | ||
|
|
f818529a08 | ||
|
|
41a05a90c8 | ||
|
|
e59c6ca759 | ||
|
|
287ee3961b | ||
|
|
8a8fd883ac | ||
|
|
4fe56500a9 | ||
|
|
03911153f9 | ||
|
|
acea31e572 | ||
|
|
bf21e01764 | ||
|
|
30f1361d23 | ||
|
|
825033f768 | ||
|
|
d8426caacc | ||
|
|
8942530744 | ||
|
|
e663939e56 | ||
|
|
1fb5b63ab7 | ||
|
|
03933b0a74 | ||
|
|
fc8eb8632f | ||
|
|
f6722bc8ff | ||
|
|
894db52405 | ||
|
|
abf384619d | ||
|
|
fd482d2169 | ||
|
|
2fafd831e5 | ||
|
|
1ceae9d4ed | ||
|
|
d4d5d4551f | ||
|
|
0ef77b5616 | ||
|
|
efdc8e90f6 | ||
|
|
9f020e9258 | ||
|
|
c058568767 | ||
|
|
8809e69e91 | ||
|
|
7af5c40dd0 | ||
|
|
1d2bd10691 | ||
|
|
dac96fe852 | ||
|
|
a1487e5e79 | ||
|
|
6f19496172 | ||
|
|
ad5d6de4ea | ||
|
|
153e232f2d | ||
|
|
bcd4a7f025 | ||
|
|
3c3d463a81 | ||
|
|
92691929ed | ||
|
|
86a41c9021 | ||
|
|
a71c90c140 | ||
|
|
1d28851ef7 | ||
|
|
1aced54699 | ||
|
|
a8cf39c8b4 | ||
|
|
e037b95926 | ||
|
|
af7f6ce52e | ||
|
|
9a18982440 | ||
|
|
35bf4c8b0f | ||
|
|
23446558cf | ||
|
|
76ccb791ff | ||
|
|
a5a5735089 | ||
|
|
5077edf585 | ||
|
|
f38926f8b1 | ||
|
|
30de9bcc27 | ||
|
|
100e2e0828 | ||
|
|
e3b41771c6 | ||
|
|
3f7f3090f6 | ||
|
|
4149493f2c | ||
|
|
43aad3f65c | ||
|
|
bedcacb0a1 | ||
|
|
a5f8f84b43 | ||
|
|
e53b190380 | ||
|
|
1846fd4001 | ||
|
|
62e09945e3 | ||
|
|
c9b0db02fd | ||
|
|
51da619eec | ||
|
|
3eb50568e9 | ||
|
|
866b145645 | ||
|
|
9762fe5397 | ||
|
|
377896c30a | ||
|
|
98f13a6f11 | ||
|
|
0d85aea687 | ||
|
|
25d2b76514 | ||
|
|
42dfef3f6b | ||
|
|
1ce1e9cd71 | ||
|
|
65163966d5 | ||
|
|
edf8e0a155 | ||
|
|
4083075476 | ||
|
|
b745ebc218 | ||
|
|
b69d17a0f5 | ||
|
|
be8b6fb693 |
@@ -1,7 +1,2 @@
|
||||
registry=https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/
|
||||
# Disable postinstall scripts for supply chain security. Allowlist exceptions with npm trust: https://docs.npmjs.com/cli/v11/commands/npm-trust
|
||||
ignore-scripts=true
|
||||
|
||||
min-release-age=7
|
||||
audit=true
|
||||
audit-level=high
|
||||
always-auth=true
|
||||
@@ -25,6 +25,7 @@ export const normalizeIssue = (issue: {
|
||||
const cleanse = (str: string) => {
|
||||
let out = str
|
||||
.toLowerCase()
|
||||
.replace(/<!--.*-->/gu, '')
|
||||
.replace(/.* version: .*/gu, '')
|
||||
.replace(/issue type: .*/gu, '')
|
||||
.replace(/vs ?code/gu, '')
|
||||
@@ -35,12 +36,6 @@ export const normalizeIssue = (issue: {
|
||||
.replace(/\s+/gu, ' ')
|
||||
.replace(/```[^`]*?```/gu, '');
|
||||
|
||||
while (
|
||||
out.includes('<!--') &&
|
||||
out.includes('-->') &&
|
||||
out.indexOf('-->') > out.indexOf('<!--')) {
|
||||
out = out.slice(0, out.indexOf('<!--')) + out.slice(out.indexOf('-->') + 3);
|
||||
}
|
||||
while (
|
||||
out.includes(`<details>`) &&
|
||||
out.includes('</details>') &&
|
||||
@@ -121,9 +116,9 @@ Repo: ${context.repo.owner}/${context.repo.repo}
|
||||
|
||||
<!-- Context:
|
||||
${JSON.stringify(context, null, 2)
|
||||
.replace(/<!--/gu, '<@--')
|
||||
.replace(/--!?\s*>/gu, '--@>')
|
||||
.replace(/\/|\\/gu, 'slash-')}
|
||||
.replace(/<!--/gu, '<@--')
|
||||
.replace(/-->/gu, '--@>')
|
||||
.replace(/\/|\\/gu, 'slash-')}
|
||||
-->
|
||||
`);
|
||||
};
|
||||
|
||||
Generated
+567
-129
File diff suppressed because it is too large
Load Diff
@@ -14,8 +14,9 @@
|
||||
"@actions/github": "^8.0.1",
|
||||
"@octokit/rest": "^21.1.1",
|
||||
"@slack/web-api": "^6.9.1",
|
||||
"axios": "^1.16.0",
|
||||
"uuid": "^14.0.0"
|
||||
"applicationinsights": "^2.5.1",
|
||||
"axios": "^1.15.0",
|
||||
"uuid": "^8.3.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@azure/storage-blob": "^12.13.0",
|
||||
|
||||
@@ -5,12 +5,6 @@ on:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
target-ref:
|
||||
description: Branch, tag, or SHA to test
|
||||
required: true
|
||||
default: main
|
||||
|
||||
env:
|
||||
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
|
||||
@@ -21,4 +15,3 @@ jobs:
|
||||
with:
|
||||
runner-env: ubuntu-24.04
|
||||
platform: linux
|
||||
checkout-ref: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.target-ref || github.ref }}
|
||||
|
||||
@@ -5,12 +5,6 @@ on:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
target-ref:
|
||||
description: Branch, tag, or SHA to test
|
||||
required: true
|
||||
default: main
|
||||
|
||||
env:
|
||||
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
|
||||
@@ -21,6 +15,4 @@ jobs:
|
||||
with:
|
||||
runner-env: macos-15
|
||||
platform: mac
|
||||
checkout-ref: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.target-ref || github.ref }}
|
||||
yarn-args: --network-timeout 100000
|
||||
|
||||
|
||||
@@ -5,12 +5,6 @@ on:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
target-ref:
|
||||
description: Branch, tag, or SHA to test
|
||||
required: true
|
||||
default: main
|
||||
|
||||
env:
|
||||
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
|
||||
@@ -21,4 +15,3 @@ jobs:
|
||||
with:
|
||||
runner-env: windows-2025
|
||||
platform: windows
|
||||
checkout-ref: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.target-ref || github.ref }}
|
||||
|
||||
@@ -11,9 +11,6 @@ on:
|
||||
# Expects 'mac', 'linux', or 'windows'
|
||||
required: true
|
||||
type: string
|
||||
checkout-ref:
|
||||
required: false
|
||||
type: string
|
||||
yarn-args:
|
||||
type: string
|
||||
|
||||
@@ -26,8 +23,6 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
with:
|
||||
ref: ${{ inputs.checkout-ref }}
|
||||
|
||||
- name: Use Node.js 24
|
||||
uses: actions/setup-node@v4
|
||||
@@ -38,12 +33,6 @@ jobs:
|
||||
run: yarn install ${{ inputs.yarn-args }}
|
||||
working-directory: Extension
|
||||
|
||||
- name: Install gdb (linux)
|
||||
if: ${{ inputs.platform == 'linux' }}
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y gdb
|
||||
|
||||
- name: Compile Sources
|
||||
run: yarn run compile
|
||||
working-directory: Extension
|
||||
@@ -56,46 +45,41 @@ jobs:
|
||||
run: yarn test
|
||||
working-directory: Extension
|
||||
|
||||
- name: Acquire Native Binaries
|
||||
run: yarn install-and-copy-binaries-for-test
|
||||
# These tests don't require the binary.
|
||||
# On Linux, it is failing (before the tests actually run) with: Test run terminated with signal SIGSEGV.
|
||||
# But it works on Linux during the E2E test.
|
||||
- name: Run SingleRootProject tests
|
||||
if: ${{ inputs.platform != 'linux' }}
|
||||
run: yarn test --scenario=SingleRootProject --skipCheckBinaries
|
||||
working-directory: Extension
|
||||
|
||||
- name: Run languageServer integration tests (Windows)
|
||||
if: ${{ inputs.platform == 'windows' }}
|
||||
run: yarn test --scenario=SingleRootProject
|
||||
working-directory: Extension
|
||||
# NOTE : We can't run the test that require the native binary files
|
||||
# yet -- there will be an update soon that allows the tester to
|
||||
# acquire them on-the-fly
|
||||
# - name: Run languageServer integration tests
|
||||
# if: ${{ inputs.platform == 'windows' }}
|
||||
# run: yarn test --scenario=SingleRootProject
|
||||
# working-directory: Extension
|
||||
|
||||
- name: Run E2E IntelliSense features tests (Windows)
|
||||
if: ${{ inputs.platform == 'windows' }}
|
||||
run: yarn test --scenario=MultirootDeadlockTest
|
||||
working-directory: Extension
|
||||
|
||||
- name: Run RunWithoutDebugging tests (Windows)
|
||||
if: ${{ inputs.platform == 'windows' }}
|
||||
run: yarn test --scenario=RunWithoutDebugging
|
||||
working-directory: Extension
|
||||
# - name: Run E2E IntelliSense features tests
|
||||
# if: ${{ inputs.platform == 'windows' }}
|
||||
# run: yarn test --scenario=MultirootDeadlockTest
|
||||
# working-directory: Extension
|
||||
|
||||
# NOTE: For mac/linux run the tests with xvfb-action for UI support.
|
||||
# Another way to start xvfb https://github.com/microsoft/vscode-test/blob/master/sample/azure-pipelines.yml
|
||||
|
||||
- name: Run languageServer integration tests (linux/macOS)
|
||||
if: ${{ inputs.platform == 'mac' || inputs.platform == 'linux' }}
|
||||
uses: coactions/setup-xvfb@v1
|
||||
with:
|
||||
run: yarn test --scenario=SingleRootProject
|
||||
working-directory: Extension
|
||||
# - name: Run languageServer integration tests (xvfb)
|
||||
# if: ${{ inputs.platform == 'mac' || inputs.platform == 'linux' }}
|
||||
# uses: coactions/setup-xvfb@v1
|
||||
# with:
|
||||
# run: yarn test --scenario=SingleRootProject
|
||||
# working-directory: Extension
|
||||
|
||||
- name: Run E2E IntelliSense features tests (linux/macOS)
|
||||
if: ${{ inputs.platform == 'mac' || inputs.platform == 'linux' }}
|
||||
uses: coactions/setup-xvfb@v1
|
||||
with:
|
||||
run: yarn test --scenario=MultirootDeadlockTest
|
||||
working-directory: Extension
|
||||
|
||||
- name: Run RunWithoutDebugging tests (linux/macOS)
|
||||
if: ${{ inputs.platform == 'mac' || inputs.platform == 'linux' }}
|
||||
uses: coactions/setup-xvfb@v1
|
||||
with:
|
||||
run: yarn test --scenario=RunWithoutDebugging --scenario-arg=skipExternalConsole
|
||||
working-directory: Extension
|
||||
# - name: Run E2E IntelliSense features tests (xvfb)
|
||||
# if: ${{ inputs.platform == 'mac' || inputs.platform == 'linux' }}
|
||||
# uses: coactions/setup-xvfb@v1
|
||||
# with:
|
||||
# run: yarn test --scenario=MultirootDeadlockTest
|
||||
# working-directory: Extension
|
||||
|
||||
|
||||
@@ -13,5 +13,3 @@ OneLocBuild
|
||||
|
||||
# ignore imported localization xlf directory
|
||||
vscode-translations-import
|
||||
|
||||
.vscode/settings.json
|
||||
|
||||
+4
-10
@@ -107,14 +107,8 @@ extends:
|
||||
fi
|
||||
retryCountOnTaskFailure: 3
|
||||
|
||||
- script: yarn install --frozen-lockfile
|
||||
displayName: Install dependencies with yarn
|
||||
workingDirectory: $(Build.SourcesDirectory)\Extension
|
||||
|
||||
- script: if not exist node_modules\@vscode\vsce-sign\bin\vsce-sign.exe (echo Missing vsce-sign.exe && exit 1)
|
||||
displayName: Verify vsce-sign binary exists
|
||||
workingDirectory: $(Build.SourcesDirectory)\Extension
|
||||
|
||||
- script: npx vsce package --yarn -o $(Build.ArtifactStagingDirectory)\Extension\cpptools.vsix
|
||||
- script: |
|
||||
cd $(Build.SourcesDirectory)\Extension
|
||||
npx @vscode/[email protected] package --yarn -o $(Build.ArtifactStagingDirectory)\Extension\cpptools.vsix
|
||||
name: ProcessRunner_12
|
||||
displayName: Run VSCE to package vsix
|
||||
workingDirectory: $(Build.SourcesDirectory)\Extension
|
||||
|
||||
@@ -59,24 +59,13 @@ jobs:
|
||||
- script: mkdir $(Build.ArtifactStagingDirectory)\vsix
|
||||
displayName: Create Staging Directory
|
||||
|
||||
- script: npm install --no-save --ignore-scripts=false --include=optional --force @vscode/[email protected]
|
||||
displayName: Install vsce
|
||||
workingDirectory: $(Build.SourcesDirectory)\${{ parameters.srcDir }}
|
||||
|
||||
- script: npm rebuild @vscode/vsce-sign --ignore-scripts=false
|
||||
displayName: Rebuild vsce-sign binary
|
||||
workingDirectory: $(Build.SourcesDirectory)\${{ parameters.srcDir }}
|
||||
|
||||
- script: if not exist node_modules\@vscode\vsce-sign\bin\vsce-sign.exe (echo Missing vsce-sign.exe && exit 1)
|
||||
displayName: Verify vsce-sign binary exists
|
||||
workingDirectory: $(Build.SourcesDirectory)\${{ parameters.srcDir }}
|
||||
|
||||
- script: npx vsce package -o $(Build.ArtifactStagingDirectory)\vsix\${{ parameters.vsixName }}.vsix
|
||||
- script: |
|
||||
cd $(Build.SourcesDirectory)\${{ parameters.srcDir }}
|
||||
npx @vscode/[email protected] package -o $(Build.ArtifactStagingDirectory)\vsix\${{ parameters.vsixName }}.vsix
|
||||
displayName: Run VSCE to package vsix
|
||||
workingDirectory: $(Build.SourcesDirectory)\${{ parameters.srcDir }}
|
||||
|
||||
# sign the vsix
|
||||
- script: npx vsce generate-manifest -i $(Build.ArtifactStagingDirectory)\vsix\${{ parameters.vsixName }}.vsix -o $(Build.ArtifactStagingDirectory)\vsix\${{ parameters.vsixName }}.manifest
|
||||
- script: npx @vscode/[email protected] generate-manifest -i $(Build.ArtifactStagingDirectory)\vsix\${{ parameters.vsixName }}.vsix -o $(Build.ArtifactStagingDirectory)\vsix\${{ parameters.vsixName }}.manifest
|
||||
displayName: generate manifest
|
||||
workingDirectory: $(Build.SourcesDirectory)\${{ parameters.srcDir }}
|
||||
- script: copy $(Build.ArtifactStagingDirectory)\vsix\${{ parameters.vsixName }}.manifest $(Build.ArtifactStagingDirectory)\vsix\${{ parameters.vsixName }}.signature.p7s
|
||||
|
||||
@@ -31,16 +31,8 @@ jobs:
|
||||
$aadToken = az account get-access-token --query accessToken --resource $(AzureGuid) -o tsv
|
||||
Write-Host "##vso[task.setvariable variable=AAD_TOKEN;issecret=true]$aadToken"
|
||||
|
||||
- script: npm install --no-save --ignore-scripts=false --include=optional --force @vscode/[email protected]
|
||||
displayName: Install vsce
|
||||
|
||||
- script: npm rebuild @vscode/vsce-sign --ignore-scripts=false
|
||||
displayName: Rebuild vsce-sign binary
|
||||
|
||||
- script: if not exist node_modules\@vscode\vsce-sign\bin\vsce-sign.exe (echo Missing vsce-sign.exe && exit 1)
|
||||
displayName: Verify vsce-sign binary exists
|
||||
|
||||
- script: npx vsce publish --skip-duplicate -i $(Build.StagingDirectory)\vsix\${{ parameters.vsixName }}.vsix --manifestPath $(Build.StagingDirectory)\vsix\${{ parameters.vsixName }}.manifest --signaturePath $(Build.StagingDirectory)\vsix\${{ parameters.vsixName }}.signature.p7s
|
||||
- script: |
|
||||
npx @vscode/[email protected] publish --skip-duplicate -i $(Build.StagingDirectory)\vsix\${{ parameters.vsixName }}.vsix --manifestPath $(Build.StagingDirectory)\vsix\${{ parameters.vsixName }}.manifest --signaturePath $(Build.StagingDirectory)\vsix\${{ parameters.vsixName }}.signature.p7s
|
||||
displayName: Publish to Marketplace
|
||||
env:
|
||||
VSCE_PAT: $(AAD_TOKEN)
|
||||
|
||||
@@ -9,17 +9,11 @@ dist
|
||||
server
|
||||
debugAdapters
|
||||
LLVM
|
||||
bin/assert_dialog.sh
|
||||
bin/cpptools*
|
||||
bin/edge_cli
|
||||
bin/isense_driver
|
||||
bin/libc.so
|
||||
bin/LICENSE.txt
|
||||
bin/scout_driver
|
||||
bin/unittests
|
||||
bin/vcpkgsrvtest
|
||||
bin/*.dll
|
||||
bin/.vs
|
||||
bin/LICENSE.txt
|
||||
|
||||
# ignore lock files
|
||||
install.lock
|
||||
|
||||
+1
-6
@@ -1,7 +1,2 @@
|
||||
registry=https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/
|
||||
# Disable postinstall scripts for supply chain security. Allowlist exceptions with npm trust: https://docs.npmjs.com/cli/v11/commands/npm-trust
|
||||
ignore-scripts=true
|
||||
|
||||
min-release-age=7
|
||||
audit=true
|
||||
audit-level=high
|
||||
always-auth=true
|
||||
@@ -20,18 +20,9 @@ import { verbose } from '../src/Utility/Text/streams';
|
||||
export const $root = resolve(`${__dirname}/..`);
|
||||
export let $cmd = 'main';
|
||||
export let $scenario = '';
|
||||
export const $scenarioArgs: string[] = [];
|
||||
|
||||
// loop through the args and pick out --scenario=... and remove it from the $args and set $scenario
|
||||
process.argv.slice(2).filter(each => !(each.startsWith('--scenario=') && ($scenario = each.substring('--scenario='.length))));
|
||||
// parse out the scenario arguments.
|
||||
process.argv.slice(2).reduce<string[]>((acc, arg) => {
|
||||
if (arg.startsWith('--scenario-arg=')) {
|
||||
acc.push(arg.substring('--scenario-arg='.length));
|
||||
}
|
||||
return acc;
|
||||
}, $scenarioArgs);
|
||||
|
||||
export const $args = process.argv.slice(2).filter(each => !each.startsWith('--'));
|
||||
export const $switches = process.argv.slice(2).filter(each => each.startsWith('--'));
|
||||
|
||||
@@ -48,7 +39,7 @@ chdir($root);
|
||||
|
||||
// dump unhandled async errors to the console and exit.
|
||||
process.on('unhandledRejection', (reason: any, _promise) => {
|
||||
error(`${reason?.stack?.split(/\r?\n/).filter((l: string) => !l.includes('node:internal') && !l.includes('node_modules')).join('\n')}`);
|
||||
error(`${reason?.stack?.split(/\r?\n/).filter(l => !l.includes('node:internal') && !l.includes('node_modules')).join('\n')}`);
|
||||
process.exit(1);
|
||||
});
|
||||
|
||||
|
||||
@@ -1,147 +0,0 @@
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All Rights Reserved.
|
||||
* See 'LICENSE' in the project root for license information.
|
||||
* ------------------------------------------------------------------------------------------ */
|
||||
|
||||
import { cp, readdir, rm, stat } from 'node:fs/promises';
|
||||
import { homedir } from 'node:os';
|
||||
import { basename, join } from 'node:path';
|
||||
import { verbose } from '../src/Utility/Text/streams';
|
||||
import { $args, $root, green, heading, note } from './common';
|
||||
|
||||
const extensionPrefix = 'ms-vscode.cpptools-';
|
||||
const foldersToCopy = ['bin', 'debugAdapters', 'LLVM'] as const;
|
||||
|
||||
type InstalledExtension = {
|
||||
path: string;
|
||||
version: number[];
|
||||
modified: number;
|
||||
};
|
||||
|
||||
function compareVersions(left: number[], right: number[]): number {
|
||||
const maxLength: number = Math.max(left.length, right.length);
|
||||
for (let i = 0; i < maxLength; i++) {
|
||||
const diff: number = (left[i] ?? 0) - (right[i] ?? 0);
|
||||
if (diff !== 0) {
|
||||
return diff;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
function tryParseVersion(folderName: string): number[] | undefined {
|
||||
if (!folderName.startsWith(extensionPrefix)) {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
const versionText: string | undefined = folderName.substring(extensionPrefix.length).match(/^\d+\.\d+\.\d+/)?.[0];
|
||||
return versionText?.split('.').map(each => Number(each));
|
||||
}
|
||||
|
||||
async function getInstalledExtensions(root: string): Promise<InstalledExtension[]> {
|
||||
try {
|
||||
const entries = await readdir(root, { withFileTypes: true });
|
||||
const candidates: Promise<InstalledExtension | undefined>[] = entries.map(async (entry) => {
|
||||
if (!entry.isDirectory()) {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
const version: number[] | undefined = tryParseVersion(entry.name);
|
||||
if (!version) {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
const extensionPath: string = join(root, entry.name);
|
||||
for (const folder of foldersToCopy) {
|
||||
const info = await stat(join(extensionPath, folder)).catch(() => undefined);
|
||||
if (!info?.isDirectory()) {
|
||||
return undefined;
|
||||
}
|
||||
}
|
||||
|
||||
const info = await stat(extensionPath);
|
||||
return {
|
||||
path: extensionPath,
|
||||
version,
|
||||
modified: info.mtimeMs
|
||||
};
|
||||
});
|
||||
|
||||
const found = await Promise.all(candidates);
|
||||
return found.filter((entry): entry is InstalledExtension => entry !== undefined);
|
||||
} catch {
|
||||
return [];
|
||||
}
|
||||
}
|
||||
|
||||
async function findExtensionsFolder(root: string): Promise<string | undefined> {
|
||||
try {
|
||||
const entries = await readdir(root, { withFileTypes: true });
|
||||
for (const entry of entries) {
|
||||
if (entry.isDirectory()) {
|
||||
if (entry.name === 'extensions') {
|
||||
const extensionEntries = await readdir(join(root, entry.name), { withFileTypes: true });
|
||||
for (const extensionEntry of extensionEntries) {
|
||||
if (extensionEntry.isDirectory() && extensionEntry.name.startsWith(extensionPrefix)) {
|
||||
return join(root, entry.name);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
const result = await findExtensionsFolder(join(root, entry.name));
|
||||
if (result) {
|
||||
return result;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch {
|
||||
// Ignore errors (permission denied, etc.)
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
|
||||
async function findLatestInstalledExtension(providedPath?: string): Promise<string> {
|
||||
const searchRoots: string[] = [
|
||||
join(homedir(), '.vscode', 'extensions'),
|
||||
join(homedir(), '.vscode-insiders', 'extensions'),
|
||||
join(homedir(), '.vscode-server', 'extensions'),
|
||||
join(homedir(), '.vscode-server-insiders', 'extensions')
|
||||
];
|
||||
if (providedPath) {
|
||||
// find a folder called 'extensions' recursively under the provided path and add it to the front of the search roots
|
||||
const extensionsFolderPath = await findExtensionsFolder(providedPath);
|
||||
if (extensionsFolderPath) {
|
||||
verbose(`Found extensions folder under provided path: ${extensionsFolderPath}`);
|
||||
searchRoots.unshift(extensionsFolderPath);
|
||||
}
|
||||
}
|
||||
|
||||
const installed: InstalledExtension[] = (await Promise.all(searchRoots.map(each => getInstalledExtensions(each)))).flat();
|
||||
if (!installed.length) {
|
||||
throw new Error(`Unable to find an installed C/C++ extension under ${searchRoots.join(' or ')}.`);
|
||||
}
|
||||
|
||||
installed.sort((left, right) => compareVersions(right.version, left.version) || right.modified - left.modified);
|
||||
return installed[0].path;
|
||||
}
|
||||
|
||||
export async function main(sourcePath = $args[0]): Promise<string | undefined> {
|
||||
console.log(heading('Copy installed extension binaries'));
|
||||
|
||||
const installedExtensionPath: string = await findLatestInstalledExtension(sourcePath);
|
||||
note(`Using installed extension at ${installedExtensionPath}`);
|
||||
|
||||
for (const folder of foldersToCopy) {
|
||||
const source: string = join(installedExtensionPath, folder);
|
||||
const destination: string = join($root, folder);
|
||||
|
||||
console.log(`Copying ${green(folder)} from ${source}`);
|
||||
await rm(destination, { recursive: true, force: true });
|
||||
await cp(source, destination, { recursive: true, force: true });
|
||||
}
|
||||
|
||||
note(`Copied installed binaries into ${$root}`);
|
||||
|
||||
const installedVersion = tryParseVersion(basename(installedExtensionPath));
|
||||
return installedVersion?.join('.');
|
||||
}
|
||||
@@ -85,13 +85,8 @@ function replaceReferences(definitions: any, objects: any): any {
|
||||
objects[key].anyOf = replaceReferences(definitions, objects[key].anyOf);
|
||||
}
|
||||
|
||||
// Handle 'oneOf' with references
|
||||
if (objects[key].hasOwnProperty('oneOf')) {
|
||||
objects[key].oneOf = replaceReferences(definitions, objects[key].oneOf);
|
||||
}
|
||||
|
||||
// Recursively replace references if this schema node has properties.
|
||||
if (objects[key].hasOwnProperty('properties') && objects[key].properties !== null) {
|
||||
// Recursively replace references if this object has properties.
|
||||
if (objects[key].hasOwnProperty('type') && objects[key].type === 'object' && objects[key].properties !== null) {
|
||||
objects[key].properties = replaceReferences(definitions, objects[key].properties);
|
||||
objects[key].properties = updateDefaults(objects[key].properties, objects[key].default);
|
||||
}
|
||||
@@ -122,13 +117,11 @@ function mergeReferences(baseDefinitions: any, additionalDefinitions: any): void
|
||||
export async function main() {
|
||||
const packageJSON: any = JSON.parse(await read(resolve($root, 'package.json')));
|
||||
const schemaJSON: any = JSON.parse(await read(resolve($root, 'tools/OptionsSchema.json')));
|
||||
const taskDefinitionsJSON: any = JSON.parse(await read(resolve($root, 'tools/TaskDefinitionsSchema.json')));
|
||||
const symbolSettingsJSON: any = JSON.parse(await read(resolve($root, 'tools/VSSymbolSettings.json')));
|
||||
|
||||
mergeReferences(schemaJSON.definitions, symbolSettingsJSON.definitions);
|
||||
|
||||
schemaJSON.definitions = replaceReferences(schemaJSON.definitions, schemaJSON.definitions);
|
||||
taskDefinitionsJSON.definitions = replaceReferences(taskDefinitionsJSON.definitions, taskDefinitionsJSON.definitions);
|
||||
|
||||
// Hard Code adding in configurationAttributes launch and attach.
|
||||
// cppdbg
|
||||
@@ -139,9 +132,6 @@ export async function main() {
|
||||
packageJSON.contributes.debuggers[1].configurationAttributes.launch = schemaJSON.definitions.CppvsdbgLaunchOptions;
|
||||
packageJSON.contributes.debuggers[1].configurationAttributes.attach = schemaJSON.definitions.CppvsdbgAttachOptions;
|
||||
|
||||
// task definitions
|
||||
packageJSON.contributes.taskDefinitions = [taskDefinitionsJSON.definitions.CppBuildTaskDefinition];
|
||||
|
||||
let content: string = JSON.stringify(packageJSON, null, 4);
|
||||
|
||||
// We use '\u200b' (unicode zero-length space character) to break VS Code's URL detection regex for URLs that are examples. This process will
|
||||
|
||||
@@ -1,37 +0,0 @@
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All Rights Reserved.
|
||||
* See 'LICENSE' in the project root for license information.
|
||||
* ------------------------------------------------------------------------------------------ */
|
||||
|
||||
import { runVSCodeCommand } from '@vscode/test-electron';
|
||||
import { writeFile } from 'node:fs/promises';
|
||||
import { join } from 'node:path';
|
||||
import { $root, error, heading, note, warn } from './common';
|
||||
import * as copy from './copyExtensionBinaries';
|
||||
import { install, isolated, options } from "./vscode";
|
||||
|
||||
export async function main() {
|
||||
console.log(heading(`Install VS Code`));
|
||||
const vscode = await install();
|
||||
if (!vscode) {
|
||||
error('Failed to install VS Code');
|
||||
return;
|
||||
}
|
||||
|
||||
console.log(heading('Install latest C/C++ Extension'));
|
||||
const result = await runVSCodeCommand([...vscode.args ?? [], '--install-extension', 'ms-vscode.cpptools', '--pre-release'], options);
|
||||
if (result.stdout) {
|
||||
console.log(result.stdout.toString());
|
||||
}
|
||||
if (result.stderr) {
|
||||
// runVSCodeCommand resolves only when the command succeeds (it throws on a non-zero exit), so stderr here is
|
||||
// non-fatal output such as Node deprecation warnings and must not be reported as an error.
|
||||
warn(result.stderr.toString());
|
||||
}
|
||||
|
||||
const binaryVersion = await copy.main(isolated);
|
||||
if (binaryVersion) {
|
||||
await writeFile(join($root, 'bin', 'binaryVersion.json'), JSON.stringify({ version: binaryVersion }));
|
||||
note(`Wrote binary version ${binaryVersion} to bin/binaryVersion.json`);
|
||||
}
|
||||
}
|
||||
@@ -14,7 +14,7 @@ import { filepath } from '../src/Utility/Filesystem/filepath';
|
||||
import { is } from '../src/Utility/System/guards';
|
||||
import { verbose } from '../src/Utility/Text/streams';
|
||||
import { getTestInfo } from '../test/common/selectTests';
|
||||
import { $args, $root, $scenario, $scenarioArgs, assertAnyFile, assertAnyFolder, brightGreen, checkBinaries, cmdSwitch, cyan, error, gray, green, readJson, red, writeJson } from './common';
|
||||
import { $args, $root, $scenario, assertAnyFile, assertAnyFolder, brightGreen, checkBinaries, cmdSwitch, cyan, error, gray, green, readJson, red, writeJson } from './common';
|
||||
import { install, isolated, options } from './vscode';
|
||||
|
||||
export { install, reset } from './vscode';
|
||||
@@ -27,7 +27,6 @@ const filters = [
|
||||
/^Unexpected token A/,
|
||||
/Cannot register 'cmake.cmakePath'/,
|
||||
/\[DEP0005\] DeprecationWarning/,
|
||||
/\[DEP0169\] DeprecationWarning/,
|
||||
/--trace-deprecation/,
|
||||
/Iconv-lite warning/,
|
||||
/^Extension '/,
|
||||
@@ -91,8 +90,7 @@ async function scenarioTests(assets: string, name: string, workspace: string) {
|
||||
extensionTestsPath: resolve($root, 'dist/test/common/selectTests'),
|
||||
launchArgs: workspace ? [...options.launchArgs, workspace] : options.launchArgs,
|
||||
extensionTestsEnv: {
|
||||
SCENARIO: assets,
|
||||
SCENARIO_ARGS: $scenarioArgs.join(',')
|
||||
SCENARIO: assets
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -15,14 +15,9 @@ export const extensionsDir = resolve(isolated, 'extensions');
|
||||
export const userDir = resolve(isolated, 'user-data');
|
||||
export const settings = resolve(userDir, "User", 'settings.json');
|
||||
|
||||
// Pin the test VS Code build to a known-good stable release for deterministic CI instead of
|
||||
// always pulling latest. Launching macOS 1.110+ builds requires @vscode/test-electron >= 3.1.0.
|
||||
export const testVSCodeVersion = '1.131.0';
|
||||
|
||||
export const options = {
|
||||
version: testVSCodeVersion,
|
||||
cachePath: `${isolated}/cache`,
|
||||
launchArgs: ['--no-sandbox', '--disable-updates', '--skip-welcome', '--skip-release-notes', '--disable-extensions', `--extensions-dir=${extensionsDir}`, `--user-data-dir=${userDir}`, '--disable-workspace-trust']
|
||||
launchArgs: ['--no-sandbox', '--disable-updates', '--skip-welcome', '--skip-release-notes', `--extensions-dir=${extensionsDir}`, `--user-data-dir=${userDir}`, '--disable-workspace-trust']
|
||||
};
|
||||
|
||||
export async function install() {
|
||||
@@ -39,9 +34,9 @@ export async function install() {
|
||||
args.push(`--extensions-dir=${extensionsDir}`, `--user-data-dir=${userDir}`);
|
||||
|
||||
// install the appropriate extensions
|
||||
// runVSCodeCommand([...args, '--install-extension', 'ms-vscode.cpptools'], options);
|
||||
// runVSCodeCommand([...args, '--install-extension', 'twxs.cmake'], options);
|
||||
// runVSCodeCommand([...args, '--install-extension', 'ms-vscode.cmake-tools'], options);
|
||||
// spawnSync(cli, [...args, '--install-extension', 'ms-vscode.cpptools'], { encoding: 'utf-8', stdio: 'ignore' });
|
||||
// spawnSync(cli, [...args, '--install-extension', 'twxs.cmake'], { encoding: 'utf-8', stdio: 'ignore' });
|
||||
// spawnSync(cli, [...args, '--install-extension', 'ms-vscode.cmake-tools'], { encoding: 'utf-8', stdio: 'ignore' });
|
||||
const settingsJson = await readJson(settings, {});
|
||||
if (!settingsJson["workbench.colorTheme"]) {
|
||||
settingsJson["workbench.colorTheme"] = "Tomorrow Night Blue";
|
||||
|
||||
Vendored
-29
@@ -22,31 +22,6 @@
|
||||
// you can use a watch task as a prelaunch task and it works like you'd want it to.
|
||||
"preLaunchTask": "watch"
|
||||
},
|
||||
{
|
||||
// debugs the extension with sanitizer (TSan/ASan/UBSan) reports captured to files.
|
||||
// Requires a sanitizer build of the cpptools language server. Each process writes
|
||||
// ${userHome}/cpptools-sanitizer-logs/<sanitizer>.<pid> (see readme.developer.md).
|
||||
"name": "Run Extension (capture sanitizer logs)",
|
||||
"type": "extensionHost",
|
||||
"request": "launch",
|
||||
"env": {
|
||||
"CPPTOOLS_SANITIZER_LOG_DIR": "${userHome}/cpptools-sanitizer-logs"
|
||||
},
|
||||
"args": [
|
||||
"--no-sandbox",
|
||||
"--disable-updates",
|
||||
"--skip-welcome",
|
||||
"--skip-release-notes",
|
||||
"--disable-workspace-trust",
|
||||
"--extensionDevelopmentPath=${workspaceFolder}",
|
||||
],
|
||||
"sourceMaps": true,
|
||||
"outFiles": [
|
||||
"${workspaceFolder}/dist/**"
|
||||
],
|
||||
// you can use a watch task as a prelaunch task and it works like you'd want it to.
|
||||
"preLaunchTask": "watch"
|
||||
},
|
||||
{
|
||||
// debugs the extension (selecting the workspace)
|
||||
"name": "Run Extension-Select Workspace",
|
||||
@@ -122,10 +97,6 @@
|
||||
"label": "MultirootDeadlockTest ",
|
||||
"value": "${workspaceFolder}/test/scenarios/MultirootDeadlockTest/assets/test.code-workspace"
|
||||
},
|
||||
{
|
||||
"label": "RunWithoutDebugging ",
|
||||
"value": "${workspaceFolder}/test/scenarios/RunWithoutDebugging/assets/"
|
||||
},
|
||||
{
|
||||
"label": "SimpleCppProject ",
|
||||
"value": "${workspaceFolder}/test/scenarios/SimpleCppProject/assets/simpleCppProject.code-workspace"
|
||||
|
||||
Vendored
+1
-3
@@ -27,14 +27,12 @@
|
||||
"editor.formatOnSave": true,
|
||||
"editor.defaultFormatter": "vscode.json-language-features",
|
||||
"editor.tabSize": 4,
|
||||
"editor.detectIndentation": true,
|
||||
"files.insertFinalNewline": true
|
||||
"files.insertFinalNewline": false
|
||||
},
|
||||
"[jsonc]": {
|
||||
"editor.formatOnSave": true,
|
||||
"editor.defaultFormatter": "vscode.json-language-features",
|
||||
"editor.tabSize": 4,
|
||||
"editor.detectIndentation": true,
|
||||
"files.insertFinalNewline": true
|
||||
},
|
||||
"[typescript]": {
|
||||
|
||||
+1
-1
@@ -28,4 +28,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -7,4 +7,4 @@
|
||||
"devDependencies": {
|
||||
"yarn": "1.22.22"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,103 +1,5 @@
|
||||
# C/C++ for Visual Studio Code Changelog
|
||||
|
||||
## Version 1.33.6: July 31, 2026
|
||||
### Bug Fixes
|
||||
* Fix a spurious recursive includes (`**`) debug console log warning for paths merged from `c_cpp_properties.json` when `C_Cpp.mergeConfigurations` is enabled. [#14125](https://github.com/microsoft/vscode-cpptools/issues/14125)
|
||||
* Thanks for the contribution. [@owevertonguedes (Weverton Guedes)](https://github.com/owevertonguedes) [PR #14620](https://github.com/microsoft/vscode-cpptools/pull/14620)
|
||||
* Fix custom configurations being discarded when `C_Cpp.mergeConfigurations` is enabled and a provider supplies the file `uri` as a `vscode.Uri`. [#14621](https://github.com/microsoft/vscode-cpptools/issues/14621)
|
||||
* Thanks for the contribution. [@owevertonguedes (Weverton Guedes)](https://github.com/owevertonguedes) [PR #14624](https://github.com/microsoft/vscode-cpptools/pull/14624)
|
||||
* Fix potential browse database corruption when the same workspace is opened by multiple processes on Linux and macOS.
|
||||
* Fix a crash when reading files saved in certain multibyte encodings such as GB18030 or EUC-JP.
|
||||
* Fix an incorrect file path in an error message on Windows.
|
||||
* Other potential crash fixes.
|
||||
|
||||
## Version 1.33.5: July 28, 2026
|
||||
### Bug Fixes
|
||||
* Fix the remote process picker `ps` command not working with some shells. [#14442](https://github.com/microsoft/vscode-cpptools/issues/14442)
|
||||
* Thanks for the contribution. [@HuzaifaAbdulRehman](https://github.com/HuzaifaAbdulRehman) [PR #14592](https://github.com/microsoft/vscode-cpptools/pull/14592)
|
||||
* Fix a spurious IntelliSense error with class template argument deduction (CTAD). [#14453](https://github.com/microsoft/vscode-cpptools/issues/14453), [#14459](https://github.com/microsoft/vscode-cpptools/issues/14459), [#14504](https://github.com/microsoft/vscode-cpptools/issues/14504)
|
||||
* Fix 'Run C/C++ File' not running the program in PowerShell when terminal shell integration is unavailable. [#14583](https://github.com/microsoft/vscode-cpptools/issues/14583)
|
||||
* Thanks for the contribution. [@owevertonguedes (Weverton Guedes)](https://github.com/owevertonguedes) [PR #14585](https://github.com/microsoft/vscode-cpptools/pull/14585)
|
||||
* Fix the build tools walkthrough for Visual Studio 2026. [PR #14589](https://github.com/microsoft/vscode-cpptools/pull/14589)
|
||||
* Fix empty database folders being created in every folder of a multi-root workspace.
|
||||
* Fix 'Rescan Workspace' triggering a full database reset instead of only a rescan.
|
||||
* Fix several potential deadlocks and data races in the language server.
|
||||
* Reduce memory usage to help avoid out-of-memory crashes.
|
||||
* Fix an incorrect `#include` casing error on Linux.
|
||||
* Fix an IntelliSense crash.
|
||||
* Various localization updates.
|
||||
* Update dependencies.
|
||||
|
||||
## Version 1.33.4: July 8, 2026
|
||||
### Bug Fixes
|
||||
* Fix the wording for the `#include` errors detected message. [#8227](https://github.com/microsoft/vscode-cpptools/issues/8227)
|
||||
* Fix another "directory_cache" crash.
|
||||
* Update some localization.
|
||||
|
||||
## Version 1.33.3: July 6, 2026
|
||||
### Enhancement
|
||||
* Allow platform overrides in `cppbuild` tasks. [#11601](https://github.com/microsoft/vscode-cpptools/issues/11601)
|
||||
|
||||
### Bug Fixes
|
||||
* Fix `[[no_unique_address]]` empty-base layout `sizeof` being computed too large. [#14524](https://github.com/microsoft/vscode-cpptools/issues/14524)
|
||||
* Fix C/C++ debug data-tips on members of a dereferenced expression. [PR #14540](https://github.com/microsoft/vscode-cpptools/pull/14540)
|
||||
* Thanks for the contribution. [@tieo](https://github.com/tieo)
|
||||
* Fix `clang-format`/`clang-tidy` version check failing on Windows. [PR #14552](https://github.com/microsoft/vscode-cpptools/pull/14552)
|
||||
* Fix Windows backslash paths being mangled when adding an SSH target. [PR #14554](https://github.com/microsoft/vscode-cpptools/pull/14554)
|
||||
* Fix "directory_cache" crashes.
|
||||
* Fix spurious IntelliSense error on `std::variant` brace-initialization.
|
||||
|
||||
## Version 1.33.2: June 26, 2026
|
||||
### Bug Fixes
|
||||
* Fix a regression with 'Find All References' with functions that exist in both C and C++ files. [#14546](https://github.com/microsoft/vscode-cpptools/issues/14546)
|
||||
|
||||
## Version 1.33.1: June 23, 2026
|
||||
### Bug Fixes
|
||||
* Fix 'Find All References' dropping valid references when a template parameter type has a typedef alias in only one translation unit. [#14344](https://github.com/microsoft/vscode-cpptools/issues/14344)
|
||||
* Fix a crash regression on file open.
|
||||
* Fix IntelliSense incorrectly resolving `#include` files through a symbolic link after the target directory was deleted from disk.
|
||||
* Fix "tag parsing finished" status randomly getting reported too soon after a 'Reset IntelliSense Database' command.
|
||||
|
||||
## Version 1.33.0: June 22, 2026
|
||||
### New Feature
|
||||
* Unification of tag parsing with the VS implementation. In particular, it's now done using multiple parallel `cpptools-srv2` processes. [PR #14426](https://github.com/microsoft/vscode-cpptools/pull/14426)
|
||||
|
||||
### Enhancements
|
||||
* Add the `debuginfod` launch option to the `cppdbg` debugger schema. [#14458](https://github.com/microsoft/vscode-cpptools/issues/14458), [#14460](https://github.com/microsoft/vscode-cpptools/issues/14460), [PR #14471](https://github.com/microsoft/vscode-cpptools/pull/14471), [PR #14506](https://github.com/microsoft/vscode-cpptools/pull/14506), [MIEngine#1562](https://github.com/microsoft/MIEngine/issues/1562)
|
||||
* Add the `ignoreRunWithoutDebuggingWarnings` property to allow 'Run without debugging' warnings to be suppressed. [#14515](https://github.com/microsoft/vscode-cpptools/issues/14515)
|
||||
* Various localization updates.
|
||||
|
||||
### Bug Fixes
|
||||
* Fix an incorrect `invalid type conversion` IntelliSense error. [#11294](https://github.com/microsoft/vscode-cpptools/issues/11294)
|
||||
* Fix include completion (with recursive includes) still suggesting headers from a deleted folder. [#12636](https://github.com/microsoft/vscode-cpptools/issues/12636)
|
||||
* Add `important` to `C_Cpp.doxygen.sectionTags`. [PR #14473](https://github.com/microsoft/vscode-cpptools/pull/14473)
|
||||
* Update the minimum supported VS Code version to 1.77. [PR #14502](https://github.com/microsoft/vscode-cpptools/pull/14502)
|
||||
* Fix issues with the debugger `launch.json` schema. [PR #14523](https://github.com/microsoft/vscode-cpptools/pull/14523)
|
||||
* Fix `${env:VAR}` and `${env.VAR}` not expanding to an empty string when the environment variable is unset, to match VS Code's behavior. [PR #14535](https://github.com/microsoft/vscode-cpptools/pull/14535)
|
||||
* Thanks for the contribution. [@notable-equivalent](https://github.com/notable-equivalent)
|
||||
* Fix the `C_Cpp.refactoring.includeHeader` setting not honoring `always`.
|
||||
* Various other fixes found internally.
|
||||
|
||||
## Version 1.32.2: April 28, 2026
|
||||
### New Feature
|
||||
* Add support for "Run without debugging". [#1201](https://github.com/microsoft/vscode-cpptools/issues/1201)
|
||||
|
||||
### Enhancements
|
||||
* Add a `C_Cpp.doxygen.generateOnCodeAction` setting to allow disabling of Doxygen generation code actions. [#14341](https://github.com/microsoft/vscode-cpptools/issues/14341)
|
||||
* Add a `cpptools.waitForTagParsing` command (for use by the `C/C++ DevTools` extension). [PR #14407](https://github.com/microsoft/vscode-cpptools/pull/14407/changes)
|
||||
* Improve wildcard matching with the debugger natvis. [MIEngine#1162](https://github.com/microsoft/MIEngine/issues/1162)
|
||||
* Add support for `HideRawView` with the debugger natvis. [MIEngine#1458](https://github.com/microsoft/MIEngine/issues/1458)
|
||||
|
||||
### Bug Fixes
|
||||
* Fix high CPU usage caused by repeated calls to `selectChatModels`. [#14168](https://github.com/microsoft/vscode-cpptools/issues/14168), [#14211](https://github.com/microsoft/vscode-cpptools/issues/14211), [#14241](https://github.com/microsoft/vscode-cpptools/issues/14241)
|
||||
* Fix the MSVC developer environment not working if `UCRTVersion` isn't found, and update the walkthrough instructions for installing MSVC. [#14352](https://github.com/microsoft/vscode-cpptools/issues/14352)
|
||||
* Fix an IntelliSense crash when three special-case comments are used in a template. [#14360](https://github.com/microsoft/vscode-cpptools/issues/14360)
|
||||
* Fix Copilot hover taking too many premium requests. [#14372](https://github.com/microsoft/vscode-cpptools/issues/14372)
|
||||
* Fix null pointers being expandable for variables in the debugger. [MIEngine#698](https://github.com/microsoft/MIEngine/issues/698)
|
||||
* Fix recursive `{this}` evaluation with the debugger natvis. [MIEngine#1391](https://github.com/microsoft/MIEngine/issues/1391)
|
||||
* Update clang-tidy and clang-format from 22.1.1 to 22.1.3 (bug fixes).
|
||||
* Fix a bug with semantic colorization of operators.
|
||||
|
||||
## Version 1.31.5: April 20, 2026
|
||||
### Bug Fixes
|
||||
* Fix `Reinstalling the Extension.md` not being found. [#14389](https://github.com/microsoft/vscode-cpptools/issues/14389)
|
||||
|
||||
+1
-1
@@ -61,7 +61,7 @@ File questions, issues, or feature requests for the extension.
|
||||
If someone has already filed an issue that encompasses your feedback, please leave a 👍 or 👎 reaction on the issue to upvote or downvote it to help us prioritize the issue.
|
||||
<br>
|
||||
|
||||
**[Quick survey](https://aka.ms/vcvscodesurvey)**
|
||||
**[Quick survey](https://www.research.net/r/VBVV6C6)**
|
||||
<br>
|
||||
Let us know what you think of the extension by taking the quick survey.
|
||||
|
||||
|
||||
+837
-132
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"defaults": [
|
||||
"cpfe",
|
||||
"--wchar_t_keyword",
|
||||
"--no_warnings",
|
||||
"--rtti",
|
||||
"--edge",
|
||||
"--exceptions",
|
||||
"--error_limit",
|
||||
"25000",
|
||||
"-D_EDG_COMPILER",
|
||||
"-D_USE_DECLSPECS_FOR_SAL=1"
|
||||
],
|
||||
"source_file_format": "-f %s",
|
||||
"expressions": [
|
||||
{
|
||||
"match": "^/I(.*)",
|
||||
"replace": "-I\n$1"
|
||||
},
|
||||
{
|
||||
"match": "^/D(.*)",
|
||||
"replace": "-D$1"
|
||||
},
|
||||
{
|
||||
"match": "^/AI(.*)",
|
||||
"replace": "--using_directory\n$1"
|
||||
},
|
||||
{
|
||||
"match": "^/dE--(.*)",
|
||||
"replace": "--$1"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"defaults": [
|
||||
"-Dunix=1",
|
||||
"-D__unix__=1",
|
||||
"-D__linux__=1",
|
||||
"-D__arm__=1",
|
||||
"-D__ARM_32BIT_STATE=1",
|
||||
"-D__PTRDIFF_TYPE__=int",
|
||||
"-D__SIZE_TYPE__=unsigned int",
|
||||
"-D__WCHAR_TYPE__=long int"
|
||||
],
|
||||
"defaults_op": "merge"
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"defaults": [
|
||||
"-Dunix=1",
|
||||
"-D__unix__=1",
|
||||
"-D__linux__=1",
|
||||
"-D__aarch64__=1",
|
||||
"-D__ARM_64BIT_STATE=1",
|
||||
"-D__PTRDIFF_TYPE__=long int",
|
||||
"-D__SIZE_TYPE__=long unsigned int",
|
||||
"-D__WCHAR_TYPE__=int"
|
||||
],
|
||||
"defaults_op": "merge"
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"defaults": [
|
||||
"-Dunix=1",
|
||||
"-D__unix__=1",
|
||||
"-D__linux__=1",
|
||||
"-D__x86_64=1",
|
||||
"-D__x86_64__=1",
|
||||
"-D__PTRDIFF_TYPE__=long int",
|
||||
"-D__SIZE_TYPE__=long unsigned int",
|
||||
"-D__WCHAR_TYPE__=int"
|
||||
],
|
||||
"defaults_op": "merge"
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"defaults": [
|
||||
"-Dunix=1",
|
||||
"-D__unix__=1",
|
||||
"-D__linux__=1",
|
||||
"-D__i386=1",
|
||||
"-D__i386__=1",
|
||||
"-D__PTRDIFF_TYPE__=int",
|
||||
"-D__SIZE_TYPE__=unsigned int",
|
||||
"-D__WCHAR_TYPE__=long int"
|
||||
],
|
||||
"defaults_op": "merge"
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"defaults": [
|
||||
"-Dunix=1",
|
||||
"-D__unix__=1",
|
||||
"-D__linux__=1",
|
||||
"-D__arm__=1",
|
||||
"-D__ARM_32BIT_STATE=1",
|
||||
"-D__PTRDIFF_TYPE__=int",
|
||||
"-D__SIZE_TYPE__=unsigned int",
|
||||
"-D__WCHAR_TYPE__=long int"
|
||||
],
|
||||
"defaults_op" : "merge"
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"defaults": [
|
||||
"-Dunix=1",
|
||||
"-D__unix__=1",
|
||||
"-D__linux__=1",
|
||||
"-D__aarch64__=1",
|
||||
"-D__ARM_64BIT_STATE=1",
|
||||
"-D__PTRDIFF_TYPE__=long int",
|
||||
"-D__SIZE_TYPE__=long unsigned int",
|
||||
"-D__WCHAR_TYPE__=int"
|
||||
],
|
||||
"defaults_op" : "merge"
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"defaults": [
|
||||
"-Dunix=1",
|
||||
"-D__unix__=1",
|
||||
"-D__linux__=1",
|
||||
"-D__x86_64=1",
|
||||
"-D__x86_64__=1",
|
||||
"-D__PTRDIFF_TYPE__=long int",
|
||||
"-D__SIZE_TYPE__=long unsigned int",
|
||||
"-D__WCHAR_TYPE__=int"
|
||||
],
|
||||
"defaults_op" : "merge"
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"defaults": [
|
||||
"-Dunix=1",
|
||||
"-D__unix__=1",
|
||||
"-D__linux__=1",
|
||||
"-D__i386=1",
|
||||
"-D__i386__=1",
|
||||
"-D__PTRDIFF_TYPE__=int",
|
||||
"-D__SIZE_TYPE__=unsigned int",
|
||||
"-D__WCHAR_TYPE__=long int"
|
||||
],
|
||||
"defaults_op" : "merge"
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"defaults": [
|
||||
"-D__APPLE__=1",
|
||||
"-D__MACH__=1",
|
||||
"-D__arm__=1",
|
||||
"-D__ARM_32BIT_STATE=1",
|
||||
"-D__PTRDIFF_TYPE__=int",
|
||||
"-D__SIZE_TYPE__=unsigned int",
|
||||
"-D__WCHAR_TYPE__=long int"
|
||||
],
|
||||
"defaults_op": "merge"
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"defaults": [
|
||||
"-D__APPLE__=1",
|
||||
"-D__MACH__=1",
|
||||
"-D__aarch64__=1",
|
||||
"-D__ARM_64BIT_STATE=1",
|
||||
"-D__PTRDIFF_TYPE__=long int",
|
||||
"-D__SIZE_TYPE__=long unsigned int",
|
||||
"-D__WCHAR_TYPE__=int"
|
||||
],
|
||||
"defaults_op": "merge"
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"defaults": [
|
||||
"-D__APPLE__=1",
|
||||
"-D__MACH__=1",
|
||||
"-D__x86_64=1",
|
||||
"-D__x86_64__=1",
|
||||
"-D__PTRDIFF_TYPE__=long int",
|
||||
"-D__SIZE_TYPE__=long unsigned int",
|
||||
"-D__WCHAR_TYPE__=int"
|
||||
],
|
||||
"defaults_op": "merge"
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"defaults": [
|
||||
"-D__APPLE__=1",
|
||||
"-D__MACH__=1",
|
||||
"-D__i386=1",
|
||||
"-D__i386__=1",
|
||||
"-D__PTRDIFF_TYPE__=int",
|
||||
"-D__SIZE_TYPE__=unsigned int",
|
||||
"-D__WCHAR_TYPE__=long int"
|
||||
],
|
||||
"defaults_op": "merge"
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"defaults": [
|
||||
"-D__APPLE__=1",
|
||||
"-D__MACH__=1",
|
||||
"-D__arm__=1",
|
||||
"-D__ARM_32BIT_STATE=1",
|
||||
"-D__PTRDIFF_TYPE__=int",
|
||||
"-D__SIZE_TYPE__=unsigned int",
|
||||
"-D__WCHAR_TYPE__=long int"
|
||||
],
|
||||
"defaults_op" : "merge"
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"defaults": [
|
||||
"-D__APPLE__=1",
|
||||
"-D__MACH__=1",
|
||||
"-D__aarch64__=1",
|
||||
"-D__ARM_64BIT_STATE=1",
|
||||
"-D__PTRDIFF_TYPE__=long int",
|
||||
"-D__SIZE_TYPE__=long unsigned int",
|
||||
"-D__WCHAR_TYPE__=int"
|
||||
],
|
||||
"defaults_op" : "merge"
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"defaults": [
|
||||
"-D__APPLE__=1",
|
||||
"-D__MACH__=1",
|
||||
"-D__x86_64=1",
|
||||
"-D__x86_64__=1",
|
||||
"-D__PTRDIFF_TYPE__=long int",
|
||||
"-D__SIZE_TYPE__=long unsigned int",
|
||||
"-D__WCHAR_TYPE__=int"
|
||||
],
|
||||
"defaults_op" : "merge"
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"defaults": [
|
||||
"-D__APPLE__=1",
|
||||
"-D__MACH__=1",
|
||||
"-D__i386=1",
|
||||
"-D__i386__=1",
|
||||
"-D__PTRDIFF_TYPE__=int",
|
||||
"-D__SIZE_TYPE__=unsigned int",
|
||||
"-D__WCHAR_TYPE__=long int"
|
||||
],
|
||||
"defaults_op" : "merge"
|
||||
}
|
||||
@@ -2810,7 +2810,7 @@
|
||||
"Nejde vyhodnotit hodnotu nekompletní položky %t.",
|
||||
"Systém ignoroval návratovou hodnotu z rutiny deklarované pomocí atributu nodiscard.",
|
||||
"Systém ignoroval typ návratové hodnoty s atributem nodiscard.",
|
||||
"Atribut nodiscard neplatí pro destruktory nebo rutiny s návratovým typem void.",
|
||||
"Atribut nodiscard neplatí pro destruktory nebo rutiny s návratovým typem void.",
|
||||
"Atribut fallthrough platí jenom pro příkazy null.",
|
||||
"Atribut fallthrough se může vyskytovat jenom uvnitř příkazu switch.",
|
||||
"Příkaz fallthrough musí předcházet návěstí větve příkazu switch nebo výchozí hodnotě.",
|
||||
|
||||
@@ -3748,4 +3748,4 @@
|
||||
"%nd wurde zuvor ohne explizite Enumerationsbasis deklariert",
|
||||
"Fehlender „typename“ entspricht hier nicht dem Standard.",
|
||||
"Die abgekürzte Funktionsvorlagensyntax entspricht nicht dem Standard für Deduktionsleitfäden."
|
||||
]
|
||||
]
|
||||
@@ -3748,4 +3748,4 @@
|
||||
"%nd se declaró previamente sin una base explícita de enumeración",
|
||||
"falta 'typename' no estándar aquí",
|
||||
"La sintaxis abreviada de las plantillas de funciones no es estándar para las guías de deducción"
|
||||
]
|
||||
]
|
||||
@@ -3705,7 +3705,7 @@
|
||||
"<constructor-call>",
|
||||
"<NULL expression>",
|
||||
"<error>",
|
||||
"<NULL ルーチン>",
|
||||
"<NULL routine>",
|
||||
"<default>",
|
||||
"パラメーター #",
|
||||
" (1 つ上のレベル)",
|
||||
|
||||
@@ -3705,7 +3705,7 @@
|
||||
"<constructor-call>",
|
||||
"<NULL expression>",
|
||||
"<error>",
|
||||
"<NULL 루틴>",
|
||||
"<NULL routine>",
|
||||
"<default>",
|
||||
"parameter #",
|
||||
" (한 수준 위로)",
|
||||
|
||||
@@ -2739,7 +2739,7 @@
|
||||
"wyrażenie niedozwolone w kontekście, którego nie obliczono",
|
||||
null,
|
||||
null,
|
||||
"instrukcja „return” jest niedozwolona w koprocedurze (użyj zamiast niej instrukcji „co_return”)",
|
||||
"wyrażenie „return” jest niedozwolone w koprocedurze (zamiast tego użyj wyrażenia „co_return”)",
|
||||
"wyrażenie „co_return” jest dozwolone tylko w koprocedurach",
|
||||
"nie można porównać wartości zmiennoprzecinkowych",
|
||||
"nie można porównać wartości wskaźników, ponieważ nie wskazują na ten sam kompletny obiekt lub wskazują na podobiekty o różnej dostępności",
|
||||
@@ -3177,7 +3177,7 @@
|
||||
"brak instrukcji co_return, podczas gdy %t nie ma elementu „return_void” na końcu %n",
|
||||
"nie znaleziono wariantu nothrow globalnego elementu „operator new” dla alokacji stanu koprocedury",
|
||||
"nie znaleziono zdatnego do użycia elementu „operator delete” dla cofania alokacji koprocedury",
|
||||
"funkcja constexpr nie może być koprocedurą",
|
||||
"funkcja constexpr nie może być kokprocedurą",
|
||||
"argument operacji dla tego wyrażenia %s jest rozpoznawany jako niebędący klasą typ %t",
|
||||
"wyrażenie co_await jest niedozwolone w inicjatorze statycznym",
|
||||
"wyrażenie co_await wywołujące funkcję %n musi być niezwracalne",
|
||||
@@ -3705,7 +3705,7 @@
|
||||
"<constructor-call>",
|
||||
"<NULL expression>",
|
||||
"<error>",
|
||||
"<procedura NULL>",
|
||||
"<NULL routine>",
|
||||
"<default>",
|
||||
"parametr #",
|
||||
" (jeden poziom wyżej)",
|
||||
|
||||
@@ -1664,7 +1664,7 @@
|
||||
"#include_next, birincil kaynak dosyada kullanılamıyor",
|
||||
"şablon üye tanımında %no1 belirtilemiyor -- onun yerine %no2 varsayıldı",
|
||||
"yerel işlev bildiriminde, %sq özniteliği yoksayılıyor",
|
||||
"%sq öğesi ile %n içerisinde birleştirme işlemi, geçerli bir belirteç oluşturmuyor",
|
||||
"%sq öğesi ile %n içerisinde birleştirme işlemi, geçerli bir simge oluşturmuyor",
|
||||
"%no belirsiz (%n2 varsayıldı)",
|
||||
"statik bir üye işlev üzerinde tür niteleyicisine izin verilmiyor",
|
||||
"bir tür niteleyicisine, bir oluşturucu veya yıkıcı üzerinde izin verilmiyor",
|
||||
|
||||
@@ -3604,7 +3604,7 @@
|
||||
"第一个参数必须是指向整数、enum 或支持的浮点类型的指针",
|
||||
"编译多个翻译单元时无法使用 C++ 模块",
|
||||
"C++ 模块不能与 C++11 之前的 'export' 功能一起使用",
|
||||
"不支持 IFC 标记 %sq",
|
||||
"不支持 IFC 令牌 %sq",
|
||||
"'pass_object_size' 属性仅对函数声明的参数有效",
|
||||
"%sq 属性 %d1 的参数必须介于 0 和 %d2 之间",
|
||||
"此处的 ref-qualifier 被忽略",
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
"記憶體不足。請考慮啟用 64 位元 IntelliSense 引擎,並在設定中增加 IntelliSense 記憶體限制。",
|
||||
null,
|
||||
"檔案結尾處有未封閉的註解",
|
||||
"無法辨認的 Token",
|
||||
"無法辨認的語彙基元",
|
||||
"遺漏右引號",
|
||||
"不允許巢狀註解",
|
||||
"這裡不應該出現 '#'",
|
||||
@@ -721,8 +721,8 @@
|
||||
"不允許 mutable",
|
||||
"不允許 %n 的重新宣告更改其存取權",
|
||||
null,
|
||||
"可能誤用替代的 Token '<:'",
|
||||
"可能誤用替代的 Token '%%:'",
|
||||
"可能誤用替代的語彙基元 '<:'",
|
||||
"可能誤用替代的語彙基元 '%%:'",
|
||||
"不允許命名空間定義",
|
||||
"名稱必須是命名空間名稱",
|
||||
"不允許命名空間別名定義",
|
||||
@@ -782,7 +782,7 @@
|
||||
"參考的目標是 %nd1 -- 根據舊的 for-init 範圍規則,它可能已 %nd2",
|
||||
"控制 for-init 差異時警告的選項只有在編譯 C++ 時才能使用",
|
||||
"這裡需要虛擬 %n 的定義",
|
||||
"空白註解被解譯為 Token 帶入的運算子 '##'",
|
||||
"空白註解被解譯為語彙基元帶入的運算子 '##'",
|
||||
"friend 宣告不能有儲存類別",
|
||||
"這個宣告不能有 %no 的樣板參數清單",
|
||||
"%n 不是有效的類別成員範本",
|
||||
@@ -1664,7 +1664,7 @@
|
||||
"#include_next 不能用於主要原始程式檔",
|
||||
"無法在樣板成員定義中指定 %no1 -- 假設為 %no2",
|
||||
"區域函式宣告忽略 %sq 屬性",
|
||||
"與 %sq (於 %n 中) 的串連不會建立有效的 Token",
|
||||
"與 %sq (於 %n 中) 的串連不會建立有效的語彙基元",
|
||||
"%no 模稜兩可 (假設為 %n2)",
|
||||
"靜態成員函式不能有類型限定詞",
|
||||
"建構函式或解構函式不能有類型限定詞",
|
||||
@@ -3388,7 +3388,7 @@
|
||||
"當 %sq 用於匯入或模組指示詞中時,不得為巨集",
|
||||
"這個指示詞只能出現在全域命名空間範圍內",
|
||||
"'export' 宣告只能出現在全域或命名空間範圍",
|
||||
"%sq 剖析為識別碼而非關鍵字,因為後續的 Token 與前置處理器指示詞的標記不相符",
|
||||
"%sq 剖析為識別碼而非關鍵字,因為後續的權杖與前置處理器指示詞的標記不相符",
|
||||
"這似乎是前置處理器指示詞的開頭,但是缺少 ';',後面緊接著新行會防止",
|
||||
"這似乎是模組前置處理指示詞,但這類指示詞不能出現在巨集展開中",
|
||||
"'module' 指示詞不能出現在條件式包含的範圍 (例如,#if、#else、#elseif 等)",
|
||||
@@ -3604,7 +3604,7 @@
|
||||
"第一個引數必須是整數的指標、enum 或支援的浮點類型",
|
||||
"編譯多個翻譯單元時,無法使用 C++ 模組",
|
||||
"C++ 模組無法搭配先前的 C++11 'export' 功能使用",
|
||||
"IFC Token %sq 不受支援",
|
||||
"IFC 權杖 %sq 不受支援",
|
||||
"'pass_object_size' 屬性僅在函式宣告的參數上有效",
|
||||
"%sq 屬性 %d1 的引數必須是介於 0 到 %d2 之間的值",
|
||||
"這裡會忽略 ref-qualifier",
|
||||
@@ -3624,11 +3624,11 @@
|
||||
"在此模式下,'auto' 作為類型規範並非標準用法",
|
||||
"由於檔案損毀,無法匯入模組檔案 %sq",
|
||||
"IFC",
|
||||
"成員宣告後插入了沒有直接關聯的 Token",
|
||||
"成員宣告後插入了沒有直接關聯的權杖",
|
||||
"錯誤的插入範圍 (%r)",
|
||||
"預期為 std::string_view 類型的值,但收到 %t",
|
||||
"陳述式後插入了沒有直接關聯的 Token",
|
||||
"宣告後插入了沒有直接關聯的 Token",
|
||||
"陳述式後插入了沒有直接關聯的權杖",
|
||||
"宣告後插入了沒有直接關聯的權杖",
|
||||
"Tuple 索引值 (%d) 溢位",
|
||||
">> 輸出來自 std::meta::__report_tokens",
|
||||
">> 結束輸出自 std::meta::__report_tokens",
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"defaults": [
|
||||
],
|
||||
"defaults_op": "merge"
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"defaults": [
|
||||
],
|
||||
"defaults_op": "merge"
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"defaults": [
|
||||
],
|
||||
"defaults_op": "merge"
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"defaults": [
|
||||
],
|
||||
"defaults_op": "merge"
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"defaults": [
|
||||
],
|
||||
"defaults_op": "merge"
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"defaults": [
|
||||
],
|
||||
"defaults_op": "merge"
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"defaults": [
|
||||
],
|
||||
"defaults_op": "merge"
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"defaults": [
|
||||
],
|
||||
"defaults_op": "merge"
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"defaults": [
|
||||
"-D_MSC_EXTENSIONS",
|
||||
"--microsoft",
|
||||
"--microsoft_bugs",
|
||||
"--microsoft_version",
|
||||
"1951",
|
||||
"-D_MSC_VER=1951",
|
||||
"-D_MSC_FULL_VER=195136122",
|
||||
"-D_MSC_BUILD=0",
|
||||
"-D_M_ARM=7"
|
||||
],
|
||||
"defaults_op": "merge"
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"defaults": [
|
||||
"-D_MSC_EXTENSIONS",
|
||||
"--microsoft",
|
||||
"--microsoft_bugs",
|
||||
"--microsoft_version",
|
||||
"1951",
|
||||
"-D_CPPUNWIND=1",
|
||||
"-D_MSC_VER=1951",
|
||||
"-D_MSC_FULL_VER=195136122",
|
||||
"-D_MSC_BUILD=0",
|
||||
"-D_M_ARM64=1"
|
||||
],
|
||||
"defaults_op": "merge"
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"defaults": [
|
||||
"-D_MSC_EXTENSIONS",
|
||||
"--microsoft",
|
||||
"--microsoft_bugs",
|
||||
"--microsoft_version",
|
||||
"1951",
|
||||
"-D_CPPUNWIND=1",
|
||||
"-D_MSC_VER=1951",
|
||||
"-D_MSC_FULL_VER=195136122",
|
||||
"-D_MSC_BUILD=0",
|
||||
"-D_M_X64=100",
|
||||
"-D_M_AMD64=100"
|
||||
],
|
||||
"defaults_op": "merge"
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"defaults": [
|
||||
"-D_MSC_EXTENSIONS",
|
||||
"--microsoft",
|
||||
"--microsoft_bugs",
|
||||
"--microsoft_version",
|
||||
"1951",
|
||||
"-D_MSC_VER=1951",
|
||||
"-D_MSC_FULL_VER=195136122",
|
||||
"-D_MSC_BUILD=0",
|
||||
"-D_M_IX86=600",
|
||||
"-D_M_IX86_FP=2"
|
||||
],
|
||||
"defaults_op": "merge"
|
||||
}
|
||||
@@ -213,6 +213,17 @@
|
||||
"recursiveIncludes": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"reduce": {
|
||||
"markdownDescription": "Set to `always` to always reduce the number of recursive include paths provided to IntelliSense to only those paths currently referenced by #include statements. This requires first parsing files to determine which headers are included. Set to `never` to provide all recursive include paths to IntelliSense. Reducing the number of recursive include paths may improve IntelliSense performance when a very large number of recursive include paths are involved. Not reducing the number of recursive include paths can improve IntelliSense performance by avoiding the need to parse files to determine which include paths to provide. The `default` value is currently to reduce the number of recursive include paths provided to IntelliSense.",
|
||||
"descriptionHint": "Markdown text between `` should not be translated or localized (they represent literal text) and the capitalization, spacing, and punctuation (including the ``) should not be altered.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"always",
|
||||
"never",
|
||||
"default",
|
||||
"${default}"
|
||||
]
|
||||
},
|
||||
"priority": {
|
||||
"markdownDescription": "The priority of recursive include paths. If set to `beforeSystemIncludes`, the recursive include paths will be searched before system include paths. If set to `afterSystemIncludes`, the recursive include paths will be searched after system include paths. `beforeSystemIncludes` would more closely reflect the search order of a compiler, while `afterSystemIncludes` may result in improved performance.",
|
||||
"descriptionHint": "Markdown text between `` should not be translated or localized (they represent literal text) and the capitalization, spacing, and punctuation (including the ``) should not be altered.",
|
||||
@@ -300,4 +311,4 @@
|
||||
"version"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
@@ -270,18 +270,6 @@ gulp.task("translations-import", (done) => {
|
||||
let id = language.transifexId || language.id;
|
||||
return gulp.src(path.join(options.location, id, translationProjectName, `${translationExtensionName}.xlf`))
|
||||
.pipe(nls.prepareJsonFiles())
|
||||
.pipe(es.map((file, cb) => {
|
||||
// vscode-nls-dev emits .i18n.json files without a trailing newline. Append one so the
|
||||
// checked-in files match the repo convention (files.insertFinalNewline for [json]) and
|
||||
// don't produce churn the next time they're opened and saved in VS Code.
|
||||
if (file.isBuffer()) {
|
||||
const contents = file.contents;
|
||||
if (contents.length > 0 && contents[contents.length - 1] !== 0x0A) {
|
||||
file.contents = Buffer.concat([contents, Buffer.from("\n")]);
|
||||
}
|
||||
}
|
||||
cb(null, file);
|
||||
}))
|
||||
.pipe(gulp.dest(path.join("./i18n", language.folderName)))
|
||||
.pipe(es.wait()); // This is required or it gives `this.pipeTo.end is not a function`.
|
||||
}))
|
||||
|
||||
@@ -18,4 +18,4 @@
|
||||
"reinstall.extension.text7": "然后通过 VS Code 中的市场 UI 重新安装。",
|
||||
"reinstall.extension.text8": "如果 VS Code 无法部署扩展的正确版本,则可以 {0} 并使用 VS Code 中市场 UI 内 \"...\" 菜单下的 \"从 VSIX... 安装\" 选项安装系统的正确 VSIX。",
|
||||
"download.vsix.link.title": "已从 VS Code 市场网站下载"
|
||||
}
|
||||
}
|
||||
@@ -22,10 +22,11 @@
|
||||
"c_cpp_properties.schema.json.definitions.configurations.items.properties.browse.properties.limitSymbolsToIncludedHeaders": "设为 `true` 以仅处理直接或间接包含为标头的文件,设为 `false` 则处理指定包含路径下的所有文件。",
|
||||
"c_cpp_properties.schema.json.definitions.configurations.items.properties.browse.properties.databaseFilename": "所生成的符号数据库的路径。如果指定了相对路径,则它将相对于工作区的默认存储位置。",
|
||||
"c_cpp_properties.schema.json.definitions.configurations.items.properties.browse.properties.path": "用于索引和分析工作区符号的路径列表(供“转到定义”、“查找所有引用”等使用)。默认情况下,在这些路径上进行搜索为递归搜索。指定 `*` 以指示非递归搜索。例如,`${workspaceFolder}` 将搜索所有子目录,而 `${workspaceFolder}/*` 将不进行搜索。",
|
||||
"c_cpp_properties.schema.json.definitions.configurations.items.properties.recursiveIncludes.properties.reduce": "设置为 `always` 可始终将提供给 IntelliSense 的递归包含路径数减少到仅限当前由 #include 语句引用的路径。这需要首先分析文件以确定包含哪些标头。设置为 `never` 可将所有递归包含路径提供给 IntelliSense。当涉及到大量递归包含路径时,减少递归包含路径的数量可能会提高 IntelliSense 性能。如果不减少递归包含路径的数量,则可以通过避免需要分析文件以确定要提供的包含路径来提高 IntelliSense 性能。`default` 值目前会减少提供给 IntelliSense 的递归包含路径数。",
|
||||
"c_cpp_properties.schema.json.definitions.configurations.items.properties.recursiveIncludes.properties.priority": "递归包含路径的优先级。如果设置为 `beforeSystemIncludes`,则会在系统包含路径之前搜索递归包含路径。如果设置为 `afterSystemIncludes` ,则会在系统包含路径后搜索递归包含路径。`beforeSystemIncludes` 将更密切地反映编译器的搜索顺序,而 `afterSystemIncludes` 则可能导致性能提升。",
|
||||
"c_cpp_properties.schema.json.definitions.configurations.items.properties.recursiveIncludes.properties.order": "搜索递归包含的子目录的顺序。",
|
||||
"c_cpp_properties.schema.json.definitions.configurations.items.properties.customConfigurationVariables": "可通过命令`${cpptools:activeConfigCustomVariable}` 查询的自定义变量,用于 `launch.json` 或 `tasks.json`. 中的输入变量。",
|
||||
"c_cpp_properties.schema.json.definitions.env": "可以使用 `${变量}` 或 `${env:变量}` 语法在此文件中的任何位置重复使用的自定义变量。",
|
||||
"c_cpp_properties.schema.json.definitions.version": "配置文件的版本。此属性由扩展托管。请勿更改它。",
|
||||
"c_cpp_properties.schema.json.definitions.enableConfigurationSquiggles": "控制扩展是否将报告在 `c_cpp_properties.json` 中检测到的错误。"
|
||||
}
|
||||
}
|
||||
@@ -85,7 +85,7 @@
|
||||
"c_cpp.configuration.codeAnalysis.clangTidy.headerFilter.markdownDescription": "与要从中输出诊断的标头名称匹配的 POSIX 扩展正则表达式 (ERE)。始终显示来自每个翻译单元的主文件的诊断。支持 `${workspaceFolder}` 变量(如果不存在 `.clang-tidy` 文件,则该变量将用作默认回退值)。如果此选项不是 `null` (空),则将替代 `.clang-tidy` 文件中的 `HeaderFilterRegex` 选项(如果有)。",
|
||||
"c_cpp.configuration.codeAnalysis.clangTidy.args.markdownDescription": "要传递给 `clang-tidy` 的其他命令行参数。这些优先于等效的 `C_Cpp.codeAnalysis.clangTidy.*` 设置。",
|
||||
"c_cpp.configuration.codeAnalysis.clangTidy.useBuildPath.markdownDescription": "如果设置了 `true` 和 `compileCommands`,则 `-p=<build-path>` 参数将传递给 `clang-tidy`,而不是在 `--` 之后传递生成参数。如果未设置环境变量以便可以找到系统包含项,则此操作可能不起作用。",
|
||||
"c_cpp.configuration.codeAnalysis.clangTidy.checks.enabled.markdownDescription": "已启用的 `clang-tidy` 检查列表。这些值将追加到 `.clang-tidy` 文件中的 `Checks` 或 `#C_Cpp.codeAnalysis.clangTidy.config#` (如果有)。除非显式禁用,否则将始终启用默认检查 `clang-analyzer-core.*`。",
|
||||
"c_cpp.configuration.codeAnalysis.clangTidy.checks.enabled.markdownDescription": "已启用的 `clang-tidy` 检查列表。这些值将追加到 `.clang-tidy` 文件中的 `Checks` 或 `#C_Cpp.codeAnalysis.clangTidy.config#` (如果有)。除非显式禁用,否则始终使用默认检查 `clang-analyzer-*`。",
|
||||
"c_cpp.configuration.codeAnalysis.clangTidy.checks.disabled.markdownDescription": "已禁用的 `clang-tidy` 检查列表。该值将追加到 `.clang-tidy` 文件中的 `Checks` 或 `#C_Cpp.codeAnalysis.clangTidy.config#` (如果有)。",
|
||||
"c_cpp.configuration.formatting.description": "配置格式设置引擎。",
|
||||
"c_cpp.configuration.formatting.clangFormat.markdownDescription": "`clang-format` 将用于格式代码。",
|
||||
@@ -210,7 +210,6 @@
|
||||
"c_cpp.configuration.preferredPathSeparator.markdownDescription": "用作生成的用户路径的路径分隔符的字符。",
|
||||
"c_cpp.configuration.simplifyStructuredComments.markdownDescription": "如果为 `true`,则悬停和自动完成的工具提示将仅显示结构化注释的某些标签。否则,将显示所有注释。",
|
||||
"c_cpp.configuration.doxygen.generateOnType.description": "控制在键入所选注释样式后是否自动插入 Doxygen 注释。",
|
||||
"c_cpp.configuration.doxygen.generateOnCodeAction.description": "控制是否启用生成 Doxygen 注释的代码操作。",
|
||||
"c_cpp.configuration.doxygen.generatedStyle.description": "用作 Doxygen 注释起始行的字符串。",
|
||||
"c_cpp.configuration.doxygen.sectionTags.description": "启用“简化结构化注释”设置后,选择希望在工具提示区域中悬停时显示的 Doxygen 节标记。 ",
|
||||
"c_cpp.configuration.commentContinuationPatterns.items.anyof.string.markdownDescription": "开始多行或单行注释块的模式。多行注释块的延续模式默认为 ` * `,或单行注释块默认为此字符串。",
|
||||
@@ -385,16 +384,12 @@
|
||||
"c_cpp.taskDefinitions.args.quoting.weak.description": "使用 Shell 的弱引用字符来引用参数(例如在 bash 下的 \")。",
|
||||
"c_cpp.taskDefinitions.options.description": "其他命令选项。",
|
||||
"c_cpp.taskDefinitions.options.cwd.description": "已执行程序或脚本的当前工作目录。如果省略,则使用代码的当前工作区根。",
|
||||
"c_cpp.taskDefinitions.problemMatcher.description": "用于检测任务输出中编译程序错误和警告的一个或多个问题匹配器。",
|
||||
"c_cpp.taskDefinitions.detail.description": "任务的其他详细信息。",
|
||||
"c_cpp.debuggers.sourceFileMap.sourceFileMapEntry.description": "相同源树的当前路径和编译时路径。EditorPath 下的文件会映射到 CompileTimePath 路径以进行断点匹配,并在显示 stacktrace 位置时,从 CompileTimePath 映射到 EditorPath。",
|
||||
"c_cpp.debuggers.sourceFileMap.sourceFileMapEntry.editorPath.description": "编辑器将使用的源树的路径。",
|
||||
"c_cpp.debuggers.sourceFileMap.sourceFileMapEntry.useForBreakpoints.description": "如果此条目仅用于堆栈帧位置映射,则为 False。如果在指定断点位置时也需要使用此条目,则为 True。",
|
||||
"c_cpp.debuggers.symbolOptions.description": "用于控制如何找到和加载符号(.pdb 文件)的选项。",
|
||||
"c_cpp.debuggers.unknownBreakpointHandling.description": "控制在命中时如何处理(通常通过原始 GDB 命令)外部设置的断点。\n允许的值为 \"throw\" (好像应用程序抛出了异常)和 \"stop\" (只会暂停调试会话)。默认值为 \"throw\"。",
|
||||
"c_cpp.debuggers.debuginfod.description": "控制 GDB 的 debuginfod 行为,以从 debuginfod 服务器下载调试符号。",
|
||||
"c_cpp.debuggers.debuginfod.enabled.description": "如果为 false (默认值),GDB 将不会连接 debuginfod 服务器。设置为 true 以启用 debuginfod 支持。",
|
||||
"c_cpp.debuggers.debuginfod.timeout.description": "debuginfod 服务器请求的超时(以秒为单位)。默认值为 30。设置为 0 可使用 GDB/libdebuginfod 默认值(无替代)。",
|
||||
"c_cpp.debuggers.VSSymbolOptions.description": "提供用于找到符号并将其加载到调试适配器的配置。",
|
||||
"c_cpp.debuggers.VSSymbolOptions.searchPaths.description": "在其中搜索 .pdb 文件的符号服务器 URL (例如 http://MyExampleSymbolServer)或目录(例如 /build/symbols)的数组。除了默认位置,还将搜索这些目录 - 在模块以及 pdb 最初放置到的路径的旁边。",
|
||||
"c_cpp.debuggers.VSSymbolOptions.searchMicrosoftSymbolServer.description": "如果为 \"true\",则 Microsoft 符号服务器(https://msdl.microsoft.com/download/symbols)会添加到符号搜索路径。如果未指定,此选项会默认为 \"false\"。",
|
||||
@@ -407,7 +402,6 @@
|
||||
"c_cpp.debuggers.VSSymbolOptionsModuleFilter.excludedModules.description": "调试程序不得为其加载符号的模块数组。支持通配符(例如: MyCompany.*.dll)。\n\n会忽略此属性,除非“模式”设置为 \"loadAllButExcluded\"。",
|
||||
"c_cpp.debuggers.VSSymbolOptionsModuleFilter.includedModules.description": "调试程序应为其加载符号的模块数组。支持通配符(例如: MyCompany.*.dll)。\n\n会忽略此属性,除非“模式”设置为 \"loadOnlyIncluded\"。",
|
||||
"c_cpp.debuggers.VSSymbolOptionsModuleFilter.includeSymbolsNextToModules.description": "如果为 true,则对于未在 \"includedModules\" 数组中的任何模块,调试程序将在模块本身和启动可执行文件旁边进行检查,但它将不检查符号搜索列表上的路径。此选项默认为 \"true\"\n\n会忽略此属性,除非“模式”设置为 \"loadOnlyIncluded\"。",
|
||||
"c_cpp.debuggers.ignoreRunWithoutDebuggingWarnings.description": "如果为 true,那么在运行但不调试的情况下,当未能在终端中启动程序时不会记录任何警告。",
|
||||
"c_cpp.semanticTokenTypes.referenceType.description": "C++/CLI 引用类型的样式。",
|
||||
"c_cpp.semanticTokenTypes.cliProperty.description": "C++/CLI 属性的样式。",
|
||||
"c_cpp.semanticTokenTypes.genericType.description": "C++/CLI 泛型类型的样式。",
|
||||
@@ -460,4 +454,4 @@
|
||||
"c_cpp.configuration.refactoring.includeHeader.never.description": "从不包含头文件。",
|
||||
"c_cpp.languageModelTools.configuration.displayName": "C/C++ 配置",
|
||||
"c_cpp.languageModelTools.configuration.userDescription": "活动 C 或 C++ 文件的配置,例如语言标准版本和目标平台。"
|
||||
}
|
||||
}
|
||||
@@ -5,4 +5,4 @@
|
||||
// Do not edit this file. It is machine generated.
|
||||
{
|
||||
"ignoring.lines.in.envfile": "忽略 {0} {1} 中不可分析的行: "
|
||||
}
|
||||
}
|
||||
@@ -8,4 +8,4 @@
|
||||
"attach.to.process": "附加到进程",
|
||||
"select.process.attach": "选择要附加到的进程",
|
||||
"process.not.selected": "未选择进程。"
|
||||
}
|
||||
}
|
||||
@@ -12,4 +12,4 @@
|
||||
"no.process.list": "传输附加无法获取进程列表。",
|
||||
"failed.to.make.gdb.connection": "无法建立 GDB 连接:“{0}”。",
|
||||
"failed.to.parse.processes": "无法分析进程:“{0}”。"
|
||||
}
|
||||
}
|
||||
@@ -48,4 +48,4 @@
|
||||
"path.to.pipe.program": "管道程序的完整路径,如 {0}",
|
||||
"enable.pretty.printing": "为 {0} 启用整齐打印",
|
||||
"enable.intel.disassembly.flavor": "将反汇编风格设置为 {0}"
|
||||
}
|
||||
}
|
||||
@@ -19,4 +19,4 @@
|
||||
"launch.bash.windows": "使用 {0} 在 Windows 上的 Bash 中启动。",
|
||||
"bash.on.windows.attach": "Windows 上的 Bash 附加",
|
||||
"remote.attach.bash.windows": "使用 {0} 附加到在 Windows 上的 Bash 中运行的远程进程。"
|
||||
}
|
||||
}
|
||||
@@ -4,9 +4,5 @@
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
// Do not edit this file. It is machine generated.
|
||||
{
|
||||
"debugger.not.available": "调试程序类型“{0}”不适用于非 Windows 计算机。",
|
||||
"debugger.noDebug.requestType.not.supported": "仅启动配置支持“运行但不调试”。",
|
||||
"debugger.unsupported.properties": "具有以下属性的启动配置无法直接在终端中运行: {0}",
|
||||
"debugger.fallback.message": "程序输出将改为显示在调试控制台中。",
|
||||
"debugger.fallback.message2": "若要取消显示此警告,请在启动配置中将 'ignoreRunWithoutDebuggingWarnings' 属性设置为 true。"
|
||||
}
|
||||
"debugger.not.available": "调试程序类型“{0}”不适用于非 Windows 计算机。"
|
||||
}
|
||||
@@ -15,4 +15,4 @@
|
||||
"yes": "是",
|
||||
"no": "否",
|
||||
"ssh.target.delete.confirmation": "是否确定要永久删除“{0}”?"
|
||||
}
|
||||
}
|
||||
@@ -9,4 +9,4 @@
|
||||
"cancel.processList.spawn": "已取消“{0}”。",
|
||||
"error.processList.spawn": "“{0}”已退出,代码为“{1}”。",
|
||||
"failed.processList.spawn": "未能生成“{0}”。"
|
||||
}
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
// Do not edit this file. It is machine generated.
|
||||
{
|
||||
"no.terminal.emulator": "找不到终端仿真器。请将 $TERMINAL 环境变量设置为你选择的终端仿真器,或安装以下程序之一: x-terminal-emulator、gnome-terminal、konsole、xterm。"
|
||||
}
|
||||
@@ -6,4 +6,4 @@
|
||||
{
|
||||
"generate.copilot.description": "生成 Copilot 摘要",
|
||||
"copilot.disclaimer": "AI 生成的内容可能不正确。"
|
||||
}
|
||||
}
|
||||
@@ -7,4 +7,4 @@
|
||||
"expands.to": "扩展到:",
|
||||
"inline.macro": "内联宏",
|
||||
"inline.macro.not.available": "内联宏在此位置不可用。"
|
||||
}
|
||||
}
|
||||
@@ -6,4 +6,4 @@
|
||||
{
|
||||
"invalid.identifier.for.rename": "为“重命名符号”操作提供的标识符无效。",
|
||||
"unable.to.locate.selected.symbol": "找不到所选符号的定义。"
|
||||
}
|
||||
}
|
||||
@@ -41,4 +41,4 @@
|
||||
"handle.extract.new.function": "NewFunction",
|
||||
"handle.extract.error": "未能提取到函数: {0}",
|
||||
"invalid.edit": "未能提取到函数。生成了无效的编辑:“{0}”"
|
||||
}
|
||||
}
|
||||
@@ -12,4 +12,4 @@
|
||||
"clear.this.problem": "清除此 {0} 问题",
|
||||
"fix.this.problem": "修复此 {0} 问题",
|
||||
"show.documentation.for": "显示 {0} 文档"
|
||||
}
|
||||
}
|
||||
@@ -24,4 +24,4 @@
|
||||
"multiple.paths.not.allowed": "不允许使用多个路径。",
|
||||
"multiple.paths.should.be.separate.entries": "多个路径应是数组中的单独条目。",
|
||||
"paths.are.not.directories": "路径不是目录: {0}"
|
||||
}
|
||||
}
|
||||
@@ -5,4 +5,4 @@
|
||||
// Do not edit this file. It is machine generated.
|
||||
{
|
||||
"copilot.relatedfilesprovider.error": "检索结果时出错。原因: {0}"
|
||||
}
|
||||
}
|
||||
@@ -13,4 +13,4 @@
|
||||
"build.finished.with.error": "生成已完成,但出现错误。",
|
||||
"build.finished.with.warnings": "生成已完成,但收到警告。",
|
||||
"build.finished.successfully": "生成已成功完成。"
|
||||
}
|
||||
}
|
||||
@@ -19,4 +19,4 @@
|
||||
"dev.env.for": "{1} 的 {0} 开发人员环境",
|
||||
"default.env": "{0} 的默认环境",
|
||||
"host.target": "主机 = {0},目标 = {1}"
|
||||
}
|
||||
}
|
||||
@@ -7,7 +7,6 @@
|
||||
"learn.how.to.install.a.library": "了解如何使用 vcpkg 为此标头安装库",
|
||||
"copy.vcpkg.command": "将用于安装“{0}”的 vcpkg 命令复制到剪贴板",
|
||||
"on.disabled.command": "当 `C_Cpp.intelliSenseEngine` 设置为 `disabled` 时,无法执行与 IntelliSense 相关的命令。",
|
||||
"switch.header.source": "正在切换标头/源...",
|
||||
"client.not.found": "未找到客户端",
|
||||
"ok": "确定",
|
||||
"install.compiler.mac.title": "现在将安装 clang 编译器",
|
||||
@@ -25,4 +24,4 @@
|
||||
"copilot.hover.excluded": "包含此符号的定义或声明的文件已排除在 Copilot 的使用范围之外。",
|
||||
"copilot.hover.unavailable.symbol": "Copilot 摘要不可用于此符号。",
|
||||
"copilot.hover.error": "生成 Copilot 摘要时出错。"
|
||||
}
|
||||
}
|
||||
@@ -5,4 +5,4 @@
|
||||
// Do not edit this file. It is machine generated.
|
||||
{
|
||||
"duplicate.multiline.patterns": "检测到重复的多行注释模式。"
|
||||
}
|
||||
}
|
||||
@@ -6,4 +6,4 @@
|
||||
{
|
||||
"copilot.projectcontext.error": "检索项目上下文时出错。原因: {0}",
|
||||
"copilot.cppcontext.error": "检索 #cpp 上下文时出错。"
|
||||
}
|
||||
}
|
||||
@@ -5,4 +5,4 @@
|
||||
// Do not edit this file. It is machine generated.
|
||||
{
|
||||
"c.cpp.symbolscope.separator": "{0},{1}"
|
||||
}
|
||||
}
|
||||
@@ -32,4 +32,4 @@
|
||||
"files.confirmed": "已确认 {0} 个文件,共 {1} 个文件。{2}",
|
||||
"c.cpp.peek.references": "C/C++ 速览引用",
|
||||
"some.references.may.be.missing": "[警告] 某些引用可能丢失,因为在 {0} 启动时,工作区分析不完整。"
|
||||
}
|
||||
}
|
||||
@@ -5,4 +5,4 @@
|
||||
// Do not edit this file. It is machine generated.
|
||||
{
|
||||
"goto.reference": "转到引用"
|
||||
}
|
||||
}
|
||||
@@ -5,4 +5,4 @@
|
||||
// Do not edit this file. It is machine generated.
|
||||
{
|
||||
"editorconfig.default.behavior": "代码格式设置使用 .editorconfig 中的设置,而不是 .clang-format 中的设置。有关详细信息,请参阅文档以了解 'C_Cpp.formatting' 设置的 'default' 值。"
|
||||
}
|
||||
}
|
||||
@@ -5,4 +5,4 @@
|
||||
// Do not edit this file. It is machine generated.
|
||||
{
|
||||
"c.cpp.configurations": "C/C++ 配置"
|
||||
}
|
||||
}
|
||||
@@ -53,4 +53,4 @@
|
||||
"none": "无",
|
||||
"disable.configuration.provider": "禁用活动配置提供程序(如果适用)。",
|
||||
"select.workspace": "选择工作区文件夹…"
|
||||
}
|
||||
}
|
||||
@@ -8,4 +8,4 @@
|
||||
"active.ssh.target.selection.cancelled": "已取消活动 SSH 目标选择。",
|
||||
"add.new.ssh.target": "{0} 添加新的 SSH 目标...",
|
||||
"select.ssh.target": "选择 SSH 目标"
|
||||
}
|
||||
}
|
||||
@@ -5,4 +5,4 @@
|
||||
// Do not edit this file. It is machine generated.
|
||||
{
|
||||
"ssh.target.active.description": "[活动]"
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user