Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
43aad3f65c | ||
|
|
62a03c2b21 | ||
|
|
bedcacb0a1 | ||
|
|
7273d6112b | ||
|
|
74bddb82e5 | ||
|
|
4af6ca9db0 | ||
|
|
7e4ee25c48 | ||
|
|
6da9a49652 | ||
|
|
51d88dbb24 | ||
|
|
cd8ecf9060 | ||
|
|
847ea0b73c | ||
|
|
68c7be9d9e | ||
|
|
1bde544458 | ||
|
|
f62cad6a2f | ||
|
|
eec372a186 | ||
|
|
b98bb40a89 | ||
|
|
4d1a2a0e90 | ||
|
|
dec50598bc | ||
|
|
c5c64ad831 | ||
|
|
27153190e2 | ||
|
|
2cc55ea6eb | ||
|
|
121a657acb | ||
|
|
6a54986b3f | ||
|
|
b4a70dfc0a | ||
|
|
efa5c2244b | ||
|
|
4199155228 | ||
|
|
d949d93924 | ||
|
|
44e2a0ec4c | ||
|
|
0cd369c603 | ||
|
|
76fce67276 | ||
|
|
f3e0f0bb05 | ||
|
|
628301be37 | ||
|
|
6efaafef60 | ||
|
|
f387815749 | ||
|
|
c873aa18bd | ||
|
|
78a8ff3bb3 | ||
|
|
3033657a19 | ||
|
|
ac118f453b | ||
|
|
9e10a71ffb | ||
|
|
4525bd0ed5 | ||
|
|
89d0a7a01f | ||
|
|
27cd52a1b9 | ||
|
|
e020a75bb7 | ||
|
|
c8a7776222 | ||
|
|
3934ef89ea | ||
|
|
d60499f793 | ||
|
|
9b359ff73b | ||
|
|
fc9c45c34f | ||
|
|
212fff2828 | ||
|
|
a5f8f84b43 | ||
|
|
44e3bbe773 | ||
|
|
90f922d651 | ||
|
|
408051429d | ||
|
|
ae904ec330 | ||
|
|
3bde088a06 | ||
|
|
9d28ba1e06 | ||
|
|
514e60863d | ||
|
|
98af6a4888 | ||
|
|
b740f603ec | ||
|
|
6b2099471d | ||
|
|
c76105e28e | ||
|
|
70ff2a296a | ||
|
|
c3e3bd306f | ||
|
|
93cc277311 | ||
|
|
9d84cad54b | ||
|
|
82671ea293 | ||
|
|
605015c8af | ||
|
|
e5f74bc638 | ||
|
|
67565fe0a7 | ||
|
|
0c9d89787c | ||
|
|
dc7651af75 | ||
|
|
9215fbe9b0 | ||
|
|
a395b8492a | ||
|
|
17e337c874 | ||
|
|
6f4403cf05 | ||
|
|
ec47886d72 |
Generated
+3257
-95
File diff suppressed because it is too large
Load Diff
@@ -32,7 +32,7 @@
|
||||
"eslint-plugin-prettier": "^4.2.1",
|
||||
"husky": "^8.0.1",
|
||||
"mocha": "^10.0.0",
|
||||
"mongodb": "^4.8.1",
|
||||
"mongodb": "^4.17.0",
|
||||
"nock": "^13.2.9",
|
||||
"prettier": "2.7.1",
|
||||
"ts-node": "^10.9.1",
|
||||
|
||||
@@ -1,47 +1,14 @@
|
||||
name: CI (Linux)
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Use Node.js 16
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
|
||||
- name: Install Dependencies
|
||||
run: yarn install
|
||||
working-directory: Extension
|
||||
|
||||
- name: Compile Sources
|
||||
run: yarn run compile
|
||||
working-directory: Extension
|
||||
|
||||
- name: Run Linter
|
||||
run: yarn run lint
|
||||
working-directory: Extension
|
||||
|
||||
- name: Compile Test Sources
|
||||
run: yarn run pretest
|
||||
working-directory: Extension
|
||||
|
||||
- name: Run unit tests
|
||||
uses: GabrielBB/[email protected]
|
||||
with:
|
||||
run: yarn run unitTests
|
||||
working-directory: Extension
|
||||
|
||||
# - name: Run languageServer integration tests
|
||||
# uses: GabrielBB/[email protected]
|
||||
# with:
|
||||
# run: yarn run integrationTests
|
||||
# working-directory: Extension
|
||||
name: CI (Linux)
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
job:
|
||||
uses: ./.github/workflows/job-compile-and-test.yml
|
||||
with:
|
||||
runner-env: ubuntu-22.04
|
||||
platform: linux
|
||||
@@ -1,47 +1,15 @@
|
||||
name: CI (Mac)
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: macos-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Use Node.js 16
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
|
||||
- name: Install Dependencies
|
||||
run: yarn install --network-timeout 100000
|
||||
working-directory: Extension
|
||||
|
||||
- name: Compile Sources
|
||||
run: yarn run compile
|
||||
working-directory: Extension
|
||||
|
||||
- name: Run Linter
|
||||
run: yarn run lint
|
||||
working-directory: Extension
|
||||
|
||||
- name: Compile Test Sources
|
||||
run: yarn run pretest
|
||||
working-directory: Extension
|
||||
|
||||
- name: Run unit tests
|
||||
uses: GabrielBB/[email protected]
|
||||
with:
|
||||
run: yarn run unitTests
|
||||
working-directory: Extension
|
||||
|
||||
# - name: Run languageServer integration tests
|
||||
# uses: GabrielBB/[email protected]
|
||||
# with:
|
||||
# run: yarn run integrationTests
|
||||
# working-directory: Extension
|
||||
name: CI (Mac)
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
job:
|
||||
uses: ./.github/workflows/job-compile-and-test.yml
|
||||
with:
|
||||
runner-env: macos-12
|
||||
platform: mac
|
||||
yarn-args: --network-timeout 100000
|
||||
@@ -1,43 +1,14 @@
|
||||
name: CI (Windows)
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: windows-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Use Node.js 16
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
|
||||
- name: Install Dependencies
|
||||
run: yarn install
|
||||
working-directory: Extension
|
||||
|
||||
- name: Compile Sources
|
||||
run: yarn run compile
|
||||
working-directory: Extension
|
||||
|
||||
- name: Run Linter
|
||||
run: yarn run lint
|
||||
working-directory: Extension
|
||||
|
||||
- name: Compile Test Sources
|
||||
run: yarn run pretest
|
||||
working-directory: Extension
|
||||
|
||||
- name: Run unit tests
|
||||
run: yarn run unitTests
|
||||
working-directory: Extension
|
||||
|
||||
# - name: Run languageServer integration tests
|
||||
# run: yarn run integrationTests
|
||||
# working-directory: Extension
|
||||
name: CI (Windows)
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
job:
|
||||
uses: ./.github/workflows/job-compile-and-test.yml
|
||||
with:
|
||||
runner-env: windows-2022
|
||||
platform: windows
|
||||
|
||||
@@ -0,0 +1,73 @@
|
||||
# Reuable workflow for compiling and testing extension.
|
||||
name: Compile and test extension
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
inputs:
|
||||
runner-env:
|
||||
required: true
|
||||
type: string
|
||||
platform:
|
||||
# Expects 'mac', 'linux', or 'windows'
|
||||
required: true
|
||||
type: string
|
||||
yarn-args:
|
||||
type: string
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ${{ inputs.runner-env }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Use Node.js 16
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
|
||||
- name: Install Dependencies
|
||||
run: yarn install ${{ inputs.yarn-args }}
|
||||
working-directory: Extension
|
||||
|
||||
- name: Compile Sources
|
||||
run: yarn run compile
|
||||
working-directory: Extension
|
||||
|
||||
- name: Run Linter
|
||||
run: yarn run lint
|
||||
working-directory: Extension
|
||||
|
||||
- name: Run unit tests
|
||||
run: yarn test
|
||||
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
|
||||
# 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 (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 (xvfb)
|
||||
# if: ${{ inputs.platform == 'mac' || inputs.platform == 'linux' }}
|
||||
# uses: coactions/setup-xvfb@v1
|
||||
# with:
|
||||
# run: yarn test --scenario=MultirootDeadlockTest
|
||||
# working-directory: Extension
|
||||
@@ -1,4 +1,4 @@
|
||||
*.js
|
||||
test/**/index.ts
|
||||
test/**/runTest.ts
|
||||
tools/prepublish.js
|
||||
|
||||
dist/
|
||||
vscode*.d.ts
|
||||
|
||||
+13
-3
@@ -1,8 +1,8 @@
|
||||
module.exports = {
|
||||
"extends": [
|
||||
"eslint:recommended",
|
||||
"plugin:@typescript-eslint/eslint-recommended"
|
||||
//"plugin:@typescript-eslint/strict", // I want to enable this. Lots of little changes will happen.
|
||||
"plugin:@typescript-eslint/eslint-recommended",
|
||||
"plugin:@typescript-eslint/strict",
|
||||
],
|
||||
"env": {
|
||||
"browser": true,
|
||||
@@ -11,7 +11,7 @@ module.exports = {
|
||||
},
|
||||
"parser": "@typescript-eslint/parser",
|
||||
"parserOptions": {
|
||||
"project": "tsconfig.json",
|
||||
"project": ["tsconfig.json", ".scripts/tsconfig.json"],
|
||||
"ecmaVersion": 2022,
|
||||
"sourceType": "module",
|
||||
"warnOnUnsupportedTypeScriptVersion": false,
|
||||
@@ -59,11 +59,17 @@ module.exports = {
|
||||
}
|
||||
}
|
||||
],
|
||||
"@typescript-eslint/no-explicit-any": "off",
|
||||
"@typescript-eslint/no-extraneous-class": "off",
|
||||
"no-case-declarations": "off",
|
||||
"no-useless-escape": "off",
|
||||
"no-floating-decimal": "error",
|
||||
"keyword-spacing": ["error", { "before": true, "overrides": { "this": { "before": false } } }],
|
||||
"arrow-spacing": ["error", { "before": true, "after": true }],
|
||||
"semi-spacing": ["error", { "before": false, "after": true }],
|
||||
"no-extra-parens": ["error", "all", { "nestedBinaryExpressions": false, "ternaryOperandBinaryExpressions": false }],
|
||||
"@typescript-eslint/no-array-constructor": "error",
|
||||
"@typescript-eslint/no-useless-constructor": "error",
|
||||
"@typescript-eslint/no-for-in-array": "error",
|
||||
"@typescript-eslint/no-misused-new": "error",
|
||||
"@typescript-eslint/no-misused-promises": "error",
|
||||
@@ -82,6 +88,7 @@ module.exports = {
|
||||
"@typescript-eslint/unified-signatures": "error",
|
||||
"@typescript-eslint/no-floating-promises": "error",
|
||||
"@typescript-eslint/method-signature-style": ["error", "method"],
|
||||
"@typescript-eslint/space-infix-ops": "error",
|
||||
"no-unused-vars": "off",
|
||||
"@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
|
||||
"@typescript-eslint/no-unnecessary-boolean-literal-compare": "error",
|
||||
@@ -110,16 +117,19 @@ module.exports = {
|
||||
"no-fallthrough": "error",
|
||||
"no-invalid-this": "error",
|
||||
"no-irregular-whitespace": "error",
|
||||
"rest-spread-spacing": ["error", "never"],
|
||||
"no-multiple-empty-lines": ["error", { "max": 1, "maxEOF": 1, "maxBOF": 0 }],
|
||||
"no-new-wrappers": "error",
|
||||
"no-return-await": "error",
|
||||
"no-sequences": "error",
|
||||
"no-sparse-arrays": "error",
|
||||
"no-trailing-spaces": "error",
|
||||
"no-multi-spaces": "error",
|
||||
"no-undef-init": "error",
|
||||
"no-unsafe-finally": "error",
|
||||
"no-unused-expressions": "error",
|
||||
"no-unused-labels": "error",
|
||||
"space-before-blocks": "error",
|
||||
"no-var": "error",
|
||||
"one-var": [
|
||||
"error",
|
||||
|
||||
@@ -34,3 +34,4 @@ localized_string_ids.h
|
||||
src/nativeStrings.ts
|
||||
|
||||
vscode*.d.ts
|
||||
.scripts/_*
|
||||
|
||||
@@ -0,0 +1,64 @@
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All Rights Reserved.
|
||||
* See 'LICENSE' in the project root for license information.
|
||||
* ------------------------------------------------------------------------------------------ */
|
||||
|
||||
import { error } from 'node:console';
|
||||
import { resolve, sep } from 'node:path';
|
||||
import { filepath } from '../src/Utility/Filesystem/filepath';
|
||||
import { verbose } from '../src/Utility/Text/streams';
|
||||
import { $root, Git, brightGreen, cyan, getModifiedIgnoredFiles, rimraf } from './common';
|
||||
|
||||
// notes:
|
||||
// list all gitignore'd files that are modified: `git clean -Xd -n`
|
||||
// list all untracked and ignored files that are modified/created: `git clean -Xd -n`
|
||||
|
||||
export async function main() {
|
||||
await rimraf(resolve($root, 'dist'));
|
||||
}
|
||||
|
||||
export async function all() {
|
||||
await rimraf(...(await getModifiedIgnoredFiles()).filter(each => !each.includes('node_modules')));
|
||||
}
|
||||
|
||||
export async function reset() {
|
||||
verbose(`Resetting all .gitignored files in extension`);
|
||||
await rimraf(...await getModifiedIgnoredFiles());
|
||||
}
|
||||
|
||||
async function details(files: string[]) {
|
||||
let all = await Promise.all(files.filter(each => each).map(async (each) => {
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
const [filename, stats ] = await filepath.stats(each);
|
||||
return {
|
||||
filename: stats.isDirectory() ? cyan(`${each}${sep}**`) : brightGreen(`${each}`),
|
||||
date: stats.mtime.toLocaleDateString().replace(/\b(\d)\//g, '0$1\/'),
|
||||
time: stats.mtime.toLocaleTimeString().replace(/^(\d)\:/g, '0$1:'),
|
||||
modified: stats.mtime
|
||||
};
|
||||
}));
|
||||
all = all.sort((a, b) => a.modified.getTime() - b.modified.getTime());
|
||||
// print a formatted table so the date and time are aligned
|
||||
const max = all.reduce((max, each) => Math.max(max, each.filename.length), 0);
|
||||
all.forEach(each => console.log(` ${each.filename.padEnd(max)} [${each.date} ${each.time}]`));
|
||||
console.log('');
|
||||
}
|
||||
|
||||
export async function show(opt?: string) {
|
||||
switch (opt?.toLowerCase()) {
|
||||
case 'new':
|
||||
console.log(cyan('\n\nNew files:'));
|
||||
const r = await Git('ls-files', '--others', '--exclude-standard', '-z');
|
||||
return details(r.stdio.all().map(each => resolve(each.trim().replace(/\0/g, ''))));
|
||||
|
||||
case undefined:
|
||||
case '':
|
||||
case 'ignored':
|
||||
case 'untracked':
|
||||
console.log(cyan('\n\nUntracked+Ignored files:'));
|
||||
return details(await getModifiedIgnoredFiles());
|
||||
|
||||
default:
|
||||
return error(`Unknown option '${opt}'`);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All Rights Reserved.
|
||||
* See 'LICENSE' in the project root for license information.
|
||||
* ------------------------------------------------------------------------------------------ */
|
||||
|
||||
import { spawnSync } from 'child_process';
|
||||
import { verbose } from '../src/Utility/Text/streams';
|
||||
import { $args, $root, $scenario, assertAnyFile, brightGreen, gray, green, pwd } from './common';
|
||||
|
||||
import { resolve } from 'path';
|
||||
import { getTestInfo } from '../test/common/selectTests';
|
||||
import { install, options } from "./vscode";
|
||||
|
||||
export { install, reset } from './vscode';
|
||||
|
||||
export async function main() {
|
||||
let ti = await getTestInfo($scenario);
|
||||
if (!ti) {
|
||||
// try using the first arg as a scenario name or location
|
||||
ti = await getTestInfo($args[0], $args[0] ? resolve(pwd, $args[0]) : undefined);
|
||||
if (ti) {
|
||||
$args[0] = ti.workspace;
|
||||
}
|
||||
} else {
|
||||
// we found it
|
||||
$args.unshift(ti.workspace);
|
||||
}
|
||||
await assertAnyFile('dist/src/main.js', `The extension entry point '${$root}/dist/src/main.js is missing. You should run ${brightGreen("yarn compile")}\n\n`);
|
||||
|
||||
const { cli, args } = await install();
|
||||
|
||||
// example of installing an extension into code
|
||||
//verbose(`Installing release version of 'ms-vscode.cpptools'`);
|
||||
//spawnSync(cli, [...args, '--install-extension', 'ms-vscode.cpptools'], { encoding: 'utf-8', stdio: 'ignore' })
|
||||
verbose(green('Launch VSCode'));
|
||||
const ARGS = [...args, ...options.launchArgs.filter(each => !each.startsWith('--extensions-dir=') && !each.startsWith('--user-data-dir=')), `--extensionDevelopmentPath=${$root}`, ...$args ];
|
||||
verbose(gray(`${cli}\n ${ [...ARGS ].join('\n ')}`));
|
||||
|
||||
spawnSync(cli, ARGS, { encoding: 'utf-8', stdio: 'ignore', env: { ...process.env, DONT_PROMPT_WSL_INSTALL:"1" } });
|
||||
}
|
||||
@@ -0,0 +1,343 @@
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All Rights Reserved.
|
||||
* See 'LICENSE' in the project root for license information.
|
||||
* ------------------------------------------------------------------------------------------ */
|
||||
|
||||
import { Command, CommandFunction } from '../src/Utility/Process/program';
|
||||
|
||||
import { ok } from 'assert';
|
||||
import { CommentJSONValue, parse, stringify } from 'comment-json';
|
||||
import { mkdir as md, readFile, rm, writeFile } from 'fs/promises';
|
||||
import { IOptions, glob as globSync } from 'glob';
|
||||
import { dirname, resolve } from 'path';
|
||||
import { chdir, cwd, env } from 'process';
|
||||
import { setImmediate } from 'timers/promises';
|
||||
import { promisify } from 'util';
|
||||
import { filepath } from '../src/Utility/Filesystem/filepath';
|
||||
import { is } from '../src/Utility/System/guards';
|
||||
import { verbose } from '../src/Utility/Text/streams';
|
||||
|
||||
export const $root = resolve(`${__dirname}/..`);
|
||||
export let $cmd = 'main';
|
||||
export let $scenario = '';
|
||||
|
||||
// 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))));
|
||||
export const $args = process.argv.slice(2).filter(each => !each.startsWith('--'));
|
||||
export const $switches = process.argv.slice(2).filter(each => each.startsWith('--'));
|
||||
|
||||
/** enqueue the call to the callback function to happen on the next available tick, and return a promise to the result */
|
||||
export function then<T>(callback: () => Promise<T> | T): Promise<T> {
|
||||
return setImmediate().then(callback);
|
||||
}
|
||||
|
||||
export const pwd = env.INIT_CWD ?? cwd();
|
||||
verbose(yellow(`pwd: ${pwd}`));
|
||||
|
||||
// ensure we're in the extension folder.
|
||||
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 => !l.includes('node:internal') && !l.includes('node_modules')).join('\n')}`);
|
||||
process.exit(1);
|
||||
});
|
||||
|
||||
const git = new Command('git');
|
||||
export const Git = async (...args: Parameters<Awaited<CommandFunction>>) => (await git)(...args);
|
||||
export const GitClean = async (...args: Parameters<Awaited<CommandFunction>>) => (await new Command(await git, 'clean'))(...args);
|
||||
|
||||
export async function getModifiedIgnoredFiles() {
|
||||
const {code, error, stdio } = await GitClean('-Xd', '-n');
|
||||
if (code) {
|
||||
throw new Error(`\n${error.all().join('\n')}`);
|
||||
}
|
||||
|
||||
// return the full path of files that would be removed.
|
||||
return Promise.all(stdio.filter("Would remove").map((s) => filepath.exists(s.replace(/^Would remove /, ''), $root)).filter(p => p));
|
||||
}
|
||||
|
||||
export async function rimraf(...paths: string[]) {
|
||||
const all = [];
|
||||
for (const each of paths) {
|
||||
if (!each) {
|
||||
continue;
|
||||
}
|
||||
if (await filepath.isFolder(each)) {
|
||||
verbose(`Removing folder ${red(each)}`);
|
||||
all.push(rm(each, {recursive: true, force: true}));
|
||||
continue;
|
||||
}
|
||||
verbose(`Removing file ${red(each)}`);
|
||||
all.push(rm(each, {force: true}));
|
||||
}
|
||||
await Promise.all(all);
|
||||
}
|
||||
|
||||
export async function mkdir(filePath: string) {
|
||||
const [fullPath, info] = await filepath.stats(filePath, $root);
|
||||
if (info) {
|
||||
if (info.isDirectory()) {
|
||||
return fullPath;
|
||||
}
|
||||
throw new Error(`Cannot create directory '${filePath}' because there is a file there.`);
|
||||
}
|
||||
|
||||
await md(fullPath, { recursive: true });
|
||||
return fullPath;
|
||||
}
|
||||
|
||||
export const glob: (pattern: string, options?: IOptions) => Promise<string[]> = promisify(globSync);
|
||||
|
||||
export async function write(filePath: string, data: Buffer | string) {
|
||||
await mkdir(dirname(filePath));
|
||||
|
||||
if (await filepath.isFile(filePath)) {
|
||||
const content = await readFile(filePath);
|
||||
if (is.string(data)) {
|
||||
// if we're passed a text file, we should match the line endings of the existing file.
|
||||
const textContent = content.toString();
|
||||
|
||||
// normalize the line endings to the same as the current file.
|
||||
data = textContent.indexOf('\r\n') > -1 ? data.replace(/\r\n|\n/g, '\r\n') : data.replace(/\r\n|\n/g, '\n');
|
||||
|
||||
// if the text content is a match, we don't have to change anything
|
||||
if (textContent === data) {
|
||||
verbose(`Text file at '${filePath}' is up to date.`);
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
// if the binary content is a match, we don't have to change anything
|
||||
if (content.equals(data)) {
|
||||
verbose(`File at '${filePath}' is up to date.`);
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
verbose(`Writing file '${filePath}'`);
|
||||
await writeFile(filePath, data);
|
||||
}
|
||||
|
||||
export async function updateFiles(files: string[], dest: string | Promise<string>) {
|
||||
const target = is.promise(dest) ? await dest : dest;
|
||||
await Promise.all(files.map(async (each) => {
|
||||
const sourceFile = await filepath.isFile(each, $root);
|
||||
if (sourceFile) {
|
||||
const targetFile = resolve(target, each);
|
||||
await write(targetFile, await readFile(sourceFile));
|
||||
}
|
||||
}));
|
||||
}
|
||||
|
||||
export async function go() {
|
||||
if (require.main) {
|
||||
// loop through the args and pick out the first non --arg and remove it from the $args and set $cmd
|
||||
for (let i = 0; i < $args.length; i++) {
|
||||
const each = $args[i];
|
||||
if (!each.startsWith('--') && require.main.exports[each]) {
|
||||
$cmd = each;
|
||||
$args.splice(i, 1);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
verbose(`${yellow("Running task:")} ${green($cmd)} ${green($args.join(' '))}`);
|
||||
require.main.exports[$cmd](...$args);
|
||||
}
|
||||
}
|
||||
void then(go);
|
||||
|
||||
export async function read(filename: string) {
|
||||
const content = await readFile(filename);
|
||||
ok(content, `File '${filename}' has no content`);
|
||||
return content.toString();
|
||||
}
|
||||
|
||||
export async function readJson(filename: string, fallback = {}): Promise<CommentJSONValue> {
|
||||
try {
|
||||
return parse(await read(filename));
|
||||
} catch {
|
||||
return fallback as CommentJSONValue;
|
||||
}
|
||||
}
|
||||
|
||||
export async function writeJson(filename: string, object: CommentJSONValue) {
|
||||
await write(filename, stringify(object, null, 4));
|
||||
}
|
||||
|
||||
export function error(text: string) {
|
||||
console.error(`\n${red('ERROR')}: ${text}`);
|
||||
return true;
|
||||
}
|
||||
|
||||
export function warn(text: string) {
|
||||
console.error(`\n${yellow('WARNING')}: ${text}`);
|
||||
return true;
|
||||
}
|
||||
|
||||
export function note(text: string) {
|
||||
console.error(`\n${cyan('NOTE')}: ${text}`);
|
||||
}
|
||||
|
||||
export function underline(text: string) {
|
||||
return `\u001b[4m${text}\u001b[0m`;
|
||||
}
|
||||
|
||||
export function bold(text: string) {
|
||||
return `\u001b[1m${text}\u001b[0m`;
|
||||
}
|
||||
|
||||
export function dim(text: string) {
|
||||
return `\u001b[2m${text}\u001b[0m`;
|
||||
}
|
||||
|
||||
export function brightGreen(text: string) {
|
||||
return `\u001b[38;2;19;161;14m${text}\u001b[0m`;
|
||||
}
|
||||
|
||||
export function green(text: string) {
|
||||
return `\u001b[38;2;78;154;6m${text}\u001b[0m`;
|
||||
}
|
||||
|
||||
export function brightWhite(text: string) {
|
||||
return `\u001b[38;2;238;238;236m${text}\u001b[0m`;
|
||||
}
|
||||
|
||||
export function gray(text: string) {
|
||||
return `\u001b[38;2;117;113;94m${text}\u001b[0m`;
|
||||
}
|
||||
|
||||
export function yellow(text: string) {
|
||||
return `\u001b[38;2;252;233;79m${text}\u001b[0m`;
|
||||
}
|
||||
|
||||
export function red(text: string) {
|
||||
return `\u001b[38;2;197;15;31m${text}\u001b[0m`;
|
||||
}
|
||||
|
||||
export function cyan(text: string) {
|
||||
return `\u001b[38;2;0;174;239m${text}\u001b[0m`;
|
||||
}
|
||||
|
||||
export const hr = "===============================================================================";
|
||||
|
||||
export function heading(text: string, level = 1) {
|
||||
switch (level) {
|
||||
case 1:
|
||||
return `${underline(bold(text))}`;
|
||||
case 2:
|
||||
return `${brightGreen(text)}`;
|
||||
case 3:
|
||||
return `${green(text)}`;
|
||||
}
|
||||
return `${bold(text)}\n`;
|
||||
}
|
||||
|
||||
export function optional(text: string) {
|
||||
return gray(text);
|
||||
}
|
||||
|
||||
export function cmdSwitch(text: string) {
|
||||
return optional(`--${text}`);
|
||||
}
|
||||
|
||||
export function command(text: string) {
|
||||
return brightWhite(bold(text));
|
||||
}
|
||||
|
||||
export function hint(text: string) {
|
||||
return green(dim(text));
|
||||
}
|
||||
|
||||
export function count(num: number) {
|
||||
return gray(`${num}`);
|
||||
}
|
||||
|
||||
export function position(text: string) {
|
||||
return gray(`${text}`);
|
||||
}
|
||||
|
||||
export async function assertAnyFolder(oneOrMoreFolders: string | string[], errorMessage?: string): Promise<string> {
|
||||
oneOrMoreFolders = is.array(oneOrMoreFolders) ? oneOrMoreFolders : [oneOrMoreFolders];
|
||||
for (const each of oneOrMoreFolders) {
|
||||
const result = await filepath.isFolder(each, $root);
|
||||
if (result) {
|
||||
verbose(`Folder ${brightGreen(each)} exists.`);
|
||||
return result;
|
||||
}
|
||||
}
|
||||
if (errorMessage) {
|
||||
if (!$switches.includes('--quiet')) {
|
||||
error(errorMessage);
|
||||
}
|
||||
process.exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
export async function assertAnyFile(oneOrMoreFiles: string | string[], errorMessage?: string): Promise<string> {
|
||||
oneOrMoreFiles = is.array(oneOrMoreFiles) ? oneOrMoreFiles : [oneOrMoreFiles];
|
||||
for (const each of oneOrMoreFiles) {
|
||||
const result = await filepath.isFile(each, $root);
|
||||
if (result) {
|
||||
verbose(`Folder ${brightGreen(each)} exists.`);
|
||||
return result;
|
||||
}
|
||||
}
|
||||
if (errorMessage) {
|
||||
if (!$switches.includes('--quiet')) {
|
||||
error(errorMessage);
|
||||
}
|
||||
process.exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
const quiet = process.argv.includes('--quiet');
|
||||
|
||||
export async function checkPrep() {
|
||||
let failing = false;
|
||||
|
||||
failing = !await assertAnyFolder('dist/test') && (quiet || warn(`The compiled test files are not in place.`)) || failing;
|
||||
failing = !await assertAnyFolder('dist/walkthrough') && (quiet || warn(`The walkthrough files are not in place.`)) || failing;
|
||||
failing = !await assertAnyFolder('dist/html') && (quiet || warn(`The html files are not in place.`)) || failing;
|
||||
failing = !await assertAnyFolder('dist/schema') && (quiet || warn(`The schema files are not in place.`)) || failing;
|
||||
failing = !await assertAnyFile('dist/nls.metadata.json') && (quiet || warn(`The extension translation file '${$root}/dist/nls.metadata.json is missing.`)) || failing;
|
||||
failing = await checkDTS() || failing;
|
||||
|
||||
if (!failing) {
|
||||
verbose('Prep files appear to be in place.');
|
||||
}
|
||||
return failing;
|
||||
}
|
||||
|
||||
export async function checkCompiled() {
|
||||
let failing = false;
|
||||
failing = await checkDTS() || failing;
|
||||
failing = !await assertAnyFile('dist/src/main.js') && (quiet || warn(`The extension entry point '${$root}/dist/src/main.js is missing.`)) || failing;
|
||||
|
||||
if (!failing) {
|
||||
verbose('Compiled files appear to be in place.');
|
||||
}
|
||||
return failing;
|
||||
}
|
||||
|
||||
export async function checkDTS() {
|
||||
let failing = false;
|
||||
failing = !await assertAnyFile('vscode.d.ts') && (quiet || warn(`The VSCode import file '${$root}/dist/src/vscode.d.ts is missing.`)) || failing;
|
||||
failing = !await assertAnyFile('vscode.proposed.terminalDataWriteEvent.d.ts') && (quiet || warn(`The VSCode import file '${$root}/dist/src/vscode.proposed.terminalDataWriteEvent.d.ts is missing.`)) || failing;
|
||||
|
||||
if (!failing) {
|
||||
verbose('VSCode d.ts files appear to be in place.');
|
||||
}
|
||||
return failing;
|
||||
}
|
||||
|
||||
export async function checkBinaries() {
|
||||
let failing = false;
|
||||
failing = !await assertAnyFile(['bin/cpptools.exe', 'bin/cpptools']) && (quiet || warn(`The native binary files are not present. You should either build or install the native binaries\n\n.`)) || failing;
|
||||
|
||||
if (!failing) {
|
||||
verbose('Native binary files appear to be in place.');
|
||||
}
|
||||
return failing;
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All Rights Reserved.
|
||||
* See 'LICENSE' in the project root for license information.
|
||||
* ------------------------------------------------------------------------------------------ */
|
||||
|
||||
import { watch as watchFiles } from 'fs/promises';
|
||||
import { filepath } from '../src/Utility/Filesystem/filepath';
|
||||
import { verbose } from '../src/Utility/Text/streams';
|
||||
import { $root, glob, mkdir, updateFiles } from './common';
|
||||
|
||||
export async function main() {
|
||||
verbose(`Copying walkthrough media to extension/dist folder`);
|
||||
await updateFiles(await glob('walkthrough/images/**/*'), mkdir('dist'));
|
||||
}
|
||||
|
||||
export async function watch() {
|
||||
const source = await filepath.isFolder('walkthrough/images', $root);
|
||||
if (source) {
|
||||
verbose(`Watching ${source} folder for changes.`);
|
||||
console.log('Press Ctrl+C to exit.');
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
for await (const event of watchFiles(source, {recursive: true })) {
|
||||
await main();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,134 @@
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All Rights Reserved.
|
||||
* See 'LICENSE' in the project root for license information.
|
||||
* ------------------------------------------------------------------------------------------ */
|
||||
|
||||
import { parse } from 'comment-json';
|
||||
import { resolve } from 'path';
|
||||
import { read, write } from './common';
|
||||
|
||||
// ****************************
|
||||
// Command: generate-native-strings
|
||||
// The following is used to generate nativeStrings.ts and localized_string_ids.h from ./src/nativeStrings.json
|
||||
// If adding localized strings to the native side, start by adding it to nativeStrings.json and use this to generate the others.
|
||||
// ****************************
|
||||
export async function main() {
|
||||
const $root = resolve(`${__dirname}/..`);
|
||||
const stringTable = parse(await read(`${$root}/src/nativeStrings.json`)) as any;
|
||||
|
||||
let nativeEnumContent = "";
|
||||
let nativeStringTableContent = "";
|
||||
let typeScriptSwitchContent = "";
|
||||
|
||||
let stringIndex = 1;
|
||||
for (const property in stringTable) {
|
||||
let stringValue = stringTable[property];
|
||||
let hintValue;
|
||||
if (typeof stringValue !== "string") {
|
||||
hintValue = stringValue.hint;
|
||||
stringValue = stringValue.text;
|
||||
}
|
||||
|
||||
// Add to native enum
|
||||
nativeEnumContent += ` ${property} = ${stringIndex},\n`;
|
||||
|
||||
// Add to native string table
|
||||
nativeStringTableContent += ` ${JSON.stringify(stringValue)},\n`;
|
||||
|
||||
// Add to TypeScript switch
|
||||
// Skip empty strings, which can be used to prevent enum/index reordering
|
||||
if (stringValue !== "") {
|
||||
// It's possible that a translation may skip "{#}" entries, so check for up to 50 of them.
|
||||
let numArgs = 0;
|
||||
for (let i = 0; i < 50; i++) {
|
||||
if (stringValue.includes(`{${i}}`)) {
|
||||
numArgs = i + 1;
|
||||
}
|
||||
}
|
||||
typeScriptSwitchContent += ` case ${stringIndex}:\n`;
|
||||
if (numArgs !== 0) {
|
||||
typeScriptSwitchContent += ` if (stringArgs) {\n`;
|
||||
if (hintValue) {
|
||||
typeScriptSwitchContent += ` message = localize({ key: ${JSON.stringify(property)}, comment: [${JSON.stringify(hintValue)}] }, ${JSON.stringify(stringValue)}`;
|
||||
} else {
|
||||
typeScriptSwitchContent += ` message = localize(${JSON.stringify(property)}, ${JSON.stringify(stringValue)}`;
|
||||
}
|
||||
for (let i = 0; i < numArgs; i++) {
|
||||
typeScriptSwitchContent += `, stringArgs[${i}]`;
|
||||
}
|
||||
typeScriptSwitchContent += `);\n break;\n }\n`;
|
||||
}
|
||||
if (hintValue) {
|
||||
typeScriptSwitchContent += ` message = localize({ key: ${JSON.stringify(property)}, comment: [${JSON.stringify(hintValue)}] }, ${JSON.stringify(stringValue)}`;
|
||||
} else {
|
||||
typeScriptSwitchContent += ` message = localize(${JSON.stringify(property)}, ${JSON.stringify(stringValue)}`;
|
||||
}
|
||||
typeScriptSwitchContent += `);\n break;\n`;
|
||||
}
|
||||
++stringIndex;
|
||||
}
|
||||
|
||||
// --------------------------------------------------------------------------------------------
|
||||
// Generate the TypeScript file
|
||||
// --------------------------------------------------------------------------------------------
|
||||
|
||||
const typeScriptContent = `/* --------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All Rights Reserved.
|
||||
* See 'LICENSE' in the project root for license information.
|
||||
* ------------------------------------------------------------------------------------------ */
|
||||
|
||||
// ****** This file is generated from nativeStrings.json. Do not edit this file directly. ******
|
||||
|
||||
'use strict';
|
||||
|
||||
import * as nls from 'vscode-nls';
|
||||
|
||||
nls.config({ messageFormat: nls.MessageFormat.bundle, bundleFormat: nls.BundleFormat.standalone })();
|
||||
const localize: nls.LocalizeFunc = nls.loadMessageBundle();
|
||||
|
||||
export const localizedStringCount: number = ${stringIndex};
|
||||
|
||||
export function lookupString(stringId: number, stringArgs?: string[]): string {
|
||||
let message: string = "";
|
||||
switch (stringId) {
|
||||
case 0:
|
||||
// Special case for blank string
|
||||
break;
|
||||
${typeScriptSwitchContent}
|
||||
default:
|
||||
console.assert(\"Unrecognized string ID\");
|
||||
break;
|
||||
}
|
||||
return message;
|
||||
}
|
||||
`;
|
||||
|
||||
// If the file isn't there, or the contents are different, write it out
|
||||
await write(`${$root}/src/nativeStrings.ts`, typeScriptContent);
|
||||
|
||||
// --------------------------------------------------------------------------------------------
|
||||
// Generate the native string header file
|
||||
// --------------------------------------------------------------------------------------------
|
||||
const nativeContents = `/* --------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All Rights Reserved.
|
||||
* See 'LICENSE' in the project root for license information.
|
||||
* ------------------------------------------------------------------------------------------ */
|
||||
|
||||
// ****** This file is generated from nativeStrings.json. Do not edit this file directly. ******
|
||||
|
||||
#pragma once
|
||||
// NOLINTBEGIN(modernize-raw-string-literal)
|
||||
enum class localized_string_id : unsigned int
|
||||
{
|
||||
blank = 0,
|
||||
${nativeEnumContent}};
|
||||
|
||||
inline static const char *localizable_strings[] = {
|
||||
"",
|
||||
${nativeStringTableContent}};
|
||||
// NOLINTEND(modernize-raw-string-literal)
|
||||
`;
|
||||
|
||||
// If the file isn't there, or the contents are different, write it out
|
||||
await write(`${$root}/localized_string_ids.h`, nativeContents);
|
||||
}
|
||||
+10
-15
@@ -5,8 +5,8 @@
|
||||
|
||||
/* eslint-disable no-prototype-builtins */
|
||||
|
||||
import * as fs from 'fs';
|
||||
import * as os from 'os';
|
||||
import { resolve } from 'path';
|
||||
import { $root, read, write } from './common';
|
||||
|
||||
function appendFieldsToObject(reference: any, obj: any): any {
|
||||
// Make sure it is an object type
|
||||
@@ -56,7 +56,7 @@ function updateDefaults(object: any, defaults: any): any {
|
||||
|
||||
function refReplace(definitions: any, ref: any): any {
|
||||
// $ref is formatted as "#/definitions/ObjectName"
|
||||
const referenceStringArray: string[] = ref['$ref'].split('/');
|
||||
const referenceStringArray: string[] = ref.$ref.split('/');
|
||||
|
||||
// Getting "ObjectName"
|
||||
const referenceName: string = referenceStringArray[referenceStringArray.length - 1];
|
||||
@@ -71,7 +71,7 @@ function refReplace(definitions: any, ref: any): any {
|
||||
ref = appendFieldsToObject(reference, ref);
|
||||
|
||||
// Remove $ref field
|
||||
delete ref['$ref'];
|
||||
delete ref.$ref;
|
||||
|
||||
return ref;
|
||||
}
|
||||
@@ -116,10 +116,10 @@ function mergeReferences(baseDefinitions: any, additionalDefinitions: any): void
|
||||
}
|
||||
}
|
||||
|
||||
function generateOptionsSchema(): void {
|
||||
const packageJSON: any = JSON.parse(fs.readFileSync('package.json').toString());
|
||||
const schemaJSON: any = JSON.parse(fs.readFileSync('tools/OptionsSchema.json').toString());
|
||||
const symbolSettingsJSON: any = JSON.parse(fs.readFileSync('tools/VSSymbolSettings.json').toString());
|
||||
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 symbolSettingsJSON: any = JSON.parse(await read(resolve($root, 'tools/VSSymbolSettings.json')));
|
||||
|
||||
mergeReferences(schemaJSON.definitions, symbolSettingsJSON.definitions);
|
||||
|
||||
@@ -135,15 +135,10 @@ function generateOptionsSchema(): void {
|
||||
packageJSON.contributes.debuggers[1].configurationAttributes.attach = schemaJSON.definitions.CppvsdbgAttachOptions;
|
||||
|
||||
let content: string = JSON.stringify(packageJSON, null, 4);
|
||||
if (os.platform() === 'win32') {
|
||||
content = content.replace(/\n/gm, "\r\n");
|
||||
}
|
||||
|
||||
// We use '\u200b' (unicode zero-length space character) to break VS Code's URL detection regex for URLs that are examples. This process will
|
||||
// convert that from the readable espace sequence, to just an invisible character. Convert it back to the visible espace sequence.
|
||||
content = content.replace(/\u200b/gm, "\\u200b");
|
||||
content = content.replace(/\u200b/gm, "\\u200b") + "\n";
|
||||
|
||||
fs.writeFileSync('package.json', content);
|
||||
await write('package.json', content);
|
||||
}
|
||||
|
||||
generateOptionsSchema();
|
||||
@@ -0,0 +1,95 @@
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All Rights Reserved.
|
||||
* See 'LICENSE' in the project root for license information.
|
||||
* ------------------------------------------------------------------------------------------ */
|
||||
import * as fs from "fs";
|
||||
import * as path from 'path';
|
||||
import { parseString } from 'xml2js';
|
||||
import { mkdir, write } from './common';
|
||||
|
||||
export async function main() {
|
||||
|
||||
const localizeRepoPath = process.argv[2];
|
||||
const cpptoolsRepoPath = process.argv[3];
|
||||
|
||||
if (!localizeRepoPath || !cpptoolsRepoPath) {
|
||||
console.error(`ERROR: Usage: ${path.parse(process.argv[0]).base} ${path.parse(process.argv[1]).base} <Localize repo path> <vscode-cpptools repo path>`);
|
||||
return;
|
||||
}
|
||||
|
||||
console.log("Importing EDGE strings from Localize repo: " + localizeRepoPath);
|
||||
console.log("Writing to cpptools repo: " + cpptoolsRepoPath);
|
||||
|
||||
if (!fs.existsSync(path.join(localizeRepoPath, ".git"))) {
|
||||
console.error("ERROR: Localize repo submodule is not initialized in Localize repo");
|
||||
return;
|
||||
}
|
||||
|
||||
const languages = [
|
||||
{ id: "zh-tw", folderName: "cht", transifexId: "zh-hant" },
|
||||
{ id: "zh-cn", folderName: "chs", transifexId: "zh-hans" },
|
||||
{ id: "fr", folderName: "fra" },
|
||||
{ id: "de", folderName: "deu" },
|
||||
{ id: "it", folderName: "ita" },
|
||||
{ id: "es", folderName: "esn" },
|
||||
{ id: "ja", folderName: "jpn" },
|
||||
{ id: "ko", folderName: "kor" },
|
||||
{ id: "ru", folderName: "rus" },
|
||||
{ id: "bg", folderName: "bul" }, // VS Code supports Bulgarian, but VS is not currently localized for those languages.
|
||||
{ id: "hu", folderName: "hun" }, // VS Code supports Hungarian, but VS is not currently localized for those languages.
|
||||
{ id: "pt-br", folderName: "ptb", transifexId: "pt-BR" },
|
||||
{ id: "tr", folderName: "trk" },
|
||||
{ id: "cs", folderName: "csy" },
|
||||
{ id: "pl", folderName: "plk" }
|
||||
];
|
||||
|
||||
const locFolderNames = fs.readdirSync(localizeRepoPath).filter(f => fs.lstatSync(path.join(localizeRepoPath, f)).isDirectory());
|
||||
for (const locFolderName of locFolderNames) {
|
||||
const lclPath = path.join(localizeRepoPath, locFolderName, "vc/vc/cpfeui.dll.lcl");
|
||||
const languageInfo = languages.find(l => l.folderName === locFolderName);
|
||||
if (!languageInfo) {
|
||||
return;
|
||||
}
|
||||
const languageId = languageInfo.id;
|
||||
const outputLanguageFolder = path.join(cpptoolsRepoPath, "Extension/bin/messages", languageId);
|
||||
const outputPath = path.join(outputLanguageFolder, "messages.json");
|
||||
const sourceContent = fs.readFileSync(lclPath, 'utf-8');
|
||||
|
||||
// Scan once, just to determine how many there are the size of the array we need
|
||||
let highestValue = 0;
|
||||
parseString(sourceContent, function (err, result) {
|
||||
result.LCX.Item.forEach((item) => {
|
||||
if (item.$.ItemId === ";String Table") {
|
||||
item.Item.forEach((subItem) => {
|
||||
const itemId = parseInt(subItem.$.ItemId, 10);
|
||||
if (subItem.Str[0].Tgt) {
|
||||
if (highestValue < itemId) {
|
||||
highestValue = itemId;
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
const resultArray = new Array(highestValue);
|
||||
parseString(sourceContent, function (err, result) {
|
||||
result.LCX.Item.forEach((item) => {
|
||||
if (item.$.ItemId === ";String Table") {
|
||||
item.Item.forEach((subItem) => {
|
||||
const itemId = parseInt(subItem.$.ItemId, 10);
|
||||
if (subItem.Str[0].Tgt) {
|
||||
resultArray[itemId] = subItem.Str[0].Tgt[0].Val[0].replace(/\]5D;/g, "]");
|
||||
if (highestValue < itemId) {
|
||||
highestValue = itemId;
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
await mkdir(outputLanguageFolder);
|
||||
await write(outputPath, JSON.stringify(resultArray, null, 4) + "\n");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All Rights Reserved.
|
||||
* See 'LICENSE' in the project root for license information.
|
||||
* ------------------------------------------------------------------------------------------ */
|
||||
|
||||
import { gray, green, readJson } from './common';
|
||||
|
||||
export async function main() {
|
||||
const pkg = await readJson('package.json') as Record<string, any>;
|
||||
if (pkg.scripts) {
|
||||
console.log(green('\n\nAvailable script commands:\n'));
|
||||
for (const key of Object.keys(pkg.scripts)) {
|
||||
console.log(green(`yarn ${key} - ${gray(pkg.scripts[key])}`));
|
||||
}
|
||||
console.log('');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,236 @@
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All Rights Reserved.
|
||||
* See 'LICENSE' in the project root for license information.
|
||||
* ------------------------------------------------------------------------------------------ */
|
||||
|
||||
import { runTests } from '@vscode/test-electron';
|
||||
import { spawnSync } from 'child_process';
|
||||
import { CommentArray, CommentObject } from 'comment-json';
|
||||
import { readdir } from 'fs/promises';
|
||||
import { resolve } from 'path';
|
||||
import { env } from 'process';
|
||||
import { returns } from '../src/Utility/Async/returns';
|
||||
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, 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';
|
||||
|
||||
const sowrite = process.stdout.write.bind(process.stdout) as (...args: unknown[]) => boolean;
|
||||
const sewrite = process.stderr.write.bind(process.stderr) as (...args: unknown[]) => boolean;
|
||||
|
||||
const filters = [
|
||||
/^\[(.*)\].*/,
|
||||
/^Unexpected token A/,
|
||||
/Cannot register 'cmake.cmakePath'/,
|
||||
/\[DEP0005\] DeprecationWarning/,
|
||||
/--trace-deprecation/,
|
||||
/Iconv-lite warning/,
|
||||
/^Extension '/,
|
||||
/^Found existing install/
|
||||
];
|
||||
|
||||
// remove unwanted messages from stdio
|
||||
function filterStdio() {
|
||||
process.stdout.write = function (...args: unknown[]) {
|
||||
if (typeof args[0] === 'string') {
|
||||
const text = args[0];
|
||||
|
||||
if (filters.some(each => text.match(each))) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
if (args[0] instanceof Buffer) {
|
||||
const text = args[0].toString();
|
||||
if (filters.some(each => text.match(each))) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return sowrite(...args);
|
||||
};
|
||||
|
||||
process.stderr.write = function (...args: unknown[]) {
|
||||
if (typeof args[0] === 'string') {
|
||||
const text = args[0];
|
||||
|
||||
if (filters.some(each => text.match(each))) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
if (args[0] instanceof Buffer) {
|
||||
const text = args[0].toString();
|
||||
if (filters.some(each => text.match(each))) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return sewrite(...args);
|
||||
};
|
||||
}
|
||||
|
||||
filterStdio();
|
||||
|
||||
async function unitTests() {
|
||||
await assertAnyFolder('dist/test/unit', `The folder '${$root}/dist/test/unit is missing. You should run ${brightGreen("yarn compile")}\n\n`);
|
||||
const mocha = await assertAnyFile(["node_modules/.bin/mocha.cmd", "node_modules/.bin/mocha"], `Can't find the mocha testrunner. You might need to run ${brightGreen("yarn install")}\n\n`);
|
||||
const result = spawnSync(mocha, [`${$root}/dist/test/unit/**/*.test.js`, '--timeout', '30000'], { stdio:'inherit'});
|
||||
verbose(`\n${green("NOTE:")} If you want to run a scenario test (end-to-end) use ${cmdSwitch('scenario=<NAME>')} \n\n`);
|
||||
return result.status;
|
||||
}
|
||||
|
||||
async function scenarioTests(assets: string, name: string, workspace: string) {
|
||||
if (await checkBinaries()) {
|
||||
process.exit(1);
|
||||
}
|
||||
return runTests({
|
||||
...options,
|
||||
extensionDevelopmentPath: $root,
|
||||
extensionTestsPath: resolve($root, 'dist/test/common/selectTests'),
|
||||
launchArgs: workspace ? [...options.launchArgs, workspace] : options.launchArgs,
|
||||
extensionTestsEnv: {
|
||||
SCENARIO: assets
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
export async function main() {
|
||||
await assertAnyFolder('dist/test/', `The folder '${$root}/dist/test is missing. You should run ${brightGreen("yarn compile")}\n\n`);
|
||||
const arg = $args.find(each => !each.startsWith("--"));
|
||||
const specifiedScenario = $scenario || env.SCENARIO || await getScenarioFolder(arg);
|
||||
const testInfo = await getTestInfo(specifiedScenario);
|
||||
|
||||
if (!testInfo) {
|
||||
if (arg) {
|
||||
return error(`Could not find scenario ${arg}`);
|
||||
}
|
||||
// lets just run the unit tests
|
||||
process.exit(await unitTests());
|
||||
}
|
||||
|
||||
// at this point, we're going to run some vscode tests
|
||||
if (!await filepath.isFolder(isolated)) {
|
||||
await install();
|
||||
}
|
||||
process.exit(await scenarioTests(testInfo.assets, testInfo.name, testInfo.workspace));
|
||||
}
|
||||
|
||||
export async function all() {
|
||||
if (await checkBinaries()) {
|
||||
process.exit(1);
|
||||
}
|
||||
const finished: string[] = [];
|
||||
|
||||
if (await unitTests() !== 0) {
|
||||
console.log(`${cyan(" UNIT TESTS: ")}${red("failed")}`);
|
||||
process.exit(1);
|
||||
}
|
||||
finished.push(`${cyan(" UNIT TESTS: ")}${green("success")}`);
|
||||
|
||||
// at this point, we're going to run some vscode tests
|
||||
if (!await filepath.isFolder(isolated)) {
|
||||
await install();
|
||||
}
|
||||
try {
|
||||
const scenarios = await getScenarioNames();
|
||||
for (const each of scenarios) {
|
||||
if (await filepath.isFolder(`${$root}/test/scenarios/${each}/tests`)) {
|
||||
const ti = await getTestInfo(each);
|
||||
|
||||
if (ti) {
|
||||
console.log(`\n\nRunning scenario ${each}`);
|
||||
const result = await scenarioTests(ti.assets, ti.name, ti.workspace);
|
||||
if (result) {
|
||||
console.log(finished.join('\n'));
|
||||
console.log(` ${cyan(`${ti.name} Tests:`)}${red("failed")}`);
|
||||
process.exit(result);
|
||||
}
|
||||
finished.push(` ${cyan(`${ti.name} Tests:`)}${green("success")}`);
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (e) {
|
||||
error(e);
|
||||
} finally {
|
||||
console.log(finished.join('\n'));
|
||||
}
|
||||
}
|
||||
|
||||
interface Input {
|
||||
id: string;
|
||||
type: string;
|
||||
description: string;
|
||||
options: CommentArray<{label: string; value: string}>;
|
||||
}
|
||||
|
||||
export async function getScenarioNames() {
|
||||
return (await readdir(`${$root}/test/scenarios`).catch(returns.none)).filter(each => each !== 'Debugger');
|
||||
}
|
||||
|
||||
export async function getScenarioFolder(scenarioName: string) {
|
||||
return scenarioName ? resolve(`${$root}/test/scenarios/${(await getScenarioNames()).find(each => each.toLowerCase() === scenarioName.toLowerCase())}`) : undefined;
|
||||
}
|
||||
|
||||
export async function list() {
|
||||
console.log(`\n${cyan("Scenarios: ")}\n`);
|
||||
const names = await getScenarioNames();
|
||||
const max = names.reduce((max, each) => Math.max(max, each), 0);
|
||||
for (const each of names) {
|
||||
console.log(` ${green(each.padEnd(max))}: ${gray(await getScenarioFolder(each))}`);
|
||||
}
|
||||
}
|
||||
|
||||
export async function regen() {
|
||||
// update the .vscode/launch.json file with the scenarios
|
||||
const scenarios = await getScenarioNames();
|
||||
const launch = await readJson(`${$root}/.vscode/launch.json`) as CommentObject;
|
||||
if (!is.object(launch)) {
|
||||
return error(`The file ${$root}/.vscode/launch.json is not valid json`);
|
||||
}
|
||||
if (!is.array(launch.inputs)) {
|
||||
return error(`The file ${$root}/.vscode/launch.json is missing the 'inputs' array`);
|
||||
}
|
||||
|
||||
const inputs = launch.inputs as unknown as CommentArray<Input>;
|
||||
const pickScenario = inputs.find(each => each.id === 'pickScenario');
|
||||
if (!pickScenario) {
|
||||
return error(`The file ${$root}/.vscode/launch.json is missing the 'pickScenario' input`);
|
||||
}
|
||||
const pickWorkspace = inputs.find(each => each.id === 'pickWorkspace');
|
||||
if (!pickWorkspace) {
|
||||
return error(`The file ${$root}/.vscode/launch.json is missing the 'pickWorkspace' input`);
|
||||
}
|
||||
|
||||
for (const scenarioFolder of scenarios) {
|
||||
|
||||
const prefix = $root.replace(/\\/g, '/');
|
||||
|
||||
if (await filepath.isFolder(`${$root}/test/scenarios/${scenarioFolder}/tests`)) {
|
||||
const testInfo = await getTestInfo(scenarioFolder);
|
||||
if (testInfo) {
|
||||
const label = `${scenarioFolder} `;
|
||||
const value = testInfo.workspace.replace(/\\/g, '/').replace(prefix, '${workspaceFolder}');
|
||||
|
||||
const scenario = pickScenario.options.find(s => s.label === label);
|
||||
if (!scenario) {
|
||||
console.log(`Adding scenario ${green(scenarioFolder)} to pickScenario`);
|
||||
pickScenario.options.push({ label, value });
|
||||
} else {
|
||||
verbose(`Skipping scenario ${scenarioFolder} because it already exists`);
|
||||
}
|
||||
|
||||
const wrkspace = pickWorkspace.options.find(s => s.label === label);
|
||||
if (!wrkspace) {
|
||||
console.log(`Adding workspace ${green(scenarioFolder)} to pickWorkspace`);
|
||||
pickWorkspace.options.push({ label, value });
|
||||
} else {
|
||||
verbose(`Skipping workspace ${scenarioFolder} because it already exists`);
|
||||
}
|
||||
} else {
|
||||
verbose(`Skipping scenario ${scenarioFolder} because it doesn't look like there are any tests. (maybe try and run ${brightGreen("yarn compile")})`);
|
||||
}
|
||||
}
|
||||
}
|
||||
await writeJson(`${$root}/.vscode/launch.json`, launch);
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "ES2022",
|
||||
"module": "node16",
|
||||
"moduleResolution": "node16",
|
||||
"emitDecoratorMetadata": true,
|
||||
"experimentalDecorators": true,
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"sourceMap": true,
|
||||
"esModuleInterop": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All Rights Reserved.
|
||||
* See 'LICENSE' in the project root for license information.
|
||||
* ------------------------------------------------------------------------------------------ */
|
||||
|
||||
import { checkBinaries, checkCompiled, checkDTS, checkPrep, error, green } from './common';
|
||||
const quiet = process.argv.includes('--quiet');
|
||||
|
||||
export async function main() {
|
||||
let failing = await checkPrep() && (quiet || error(`Files are not up to date. Run ${green('yarn prep')} to fix it.`));
|
||||
failing = (await checkCompiled() && (quiet || error(`Compiled files are not present. Run ${green('yarn compile')} to fix it.`))) || failing;
|
||||
failing = (await checkBinaries() && (quiet || error(`The native binary files are not present. You should either build or install the native binaries\n\n.`))) || failing;
|
||||
if (failing) {
|
||||
process.exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
export async function compiled() {
|
||||
let failing = false;
|
||||
failing = (await checkCompiled() && (quiet || error(`Compiled files are not present. Run ${green('yarn compile')} to fix it.`))) || failing;
|
||||
|
||||
if (failing) {
|
||||
process.exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
export async function binaries() {
|
||||
let failing = false;
|
||||
failing = (await checkBinaries() && (quiet || error(`The native binary files are not present. You should either build or install the native binaries\n\n.`))) || failing;
|
||||
|
||||
if (failing) {
|
||||
process.exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
export async function prep() {
|
||||
let failing = false;
|
||||
failing = (await checkPrep() && (quiet || error(`Files are not up to date. Run ${green('yarn prep')} to fix it.`))) || failing;
|
||||
|
||||
if (failing) {
|
||||
process.exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
export async function dts() {
|
||||
let failing = false;
|
||||
failing = (await checkDTS() && (quiet || error(`VSCode import files are not present. Run ${green('yarn prep')} to fix it.`))) || failing;
|
||||
|
||||
if (failing) {
|
||||
process.exit(1);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All Rights Reserved.
|
||||
* See 'LICENSE' in the project root for license information.
|
||||
* ------------------------------------------------------------------------------------------ */
|
||||
|
||||
import { downloadAndUnzipVSCode, resolveCliArgsFromVSCodeExecutablePath } from '@vscode/test-electron';
|
||||
import { createHash } from 'crypto';
|
||||
import { tmpdir } from 'os';
|
||||
import { resolve } from 'path';
|
||||
import { verbose } from '../src/Utility/Text/streams';
|
||||
import { mkdir, readJson, rimraf, write } from './common';
|
||||
|
||||
export const isolated = resolve(tmpdir(), '.vscode-test', createHash('sha256').update(__dirname).digest('hex').substring(0, 6));
|
||||
export const extensionsDir = resolve(isolated, 'extensions');
|
||||
export const userDir = resolve(isolated, 'user-data');
|
||||
export const settings = resolve(userDir, "User", 'settings.json');
|
||||
|
||||
export const options = {
|
||||
cachePath: `${isolated}/cache`,
|
||||
launchArgs: ['--no-sandbox', '--disable-updates', '--skip-welcome', '--skip-release-notes', `--extensions-dir=${extensionsDir}`, `--user-data-dir=${userDir}`, '--disable-workspace-trust']
|
||||
};
|
||||
|
||||
export async function install() {
|
||||
try {
|
||||
// Create a new isolated directory for VS Code instance in the test folder, and make it specific to the extension folder so we can avoid collisions.
|
||||
// keeping this out of the Extension folder means we're not worried about VS Code getting weird with locking files and such.
|
||||
|
||||
verbose(`Isolated VSCode test folder: ${isolated}`);
|
||||
await mkdir(isolated);
|
||||
|
||||
const vscodeExecutablePath = await downloadAndUnzipVSCode(options);
|
||||
const [cli, ...args] = resolveCliArgsFromVSCodeExecutablePath(vscodeExecutablePath).filter(each => !each.startsWith('--extensions-dir=') && !each.startsWith('--user-data-dir='));
|
||||
|
||||
args.push(`--extensions-dir=${extensionsDir}`, `--user-data-dir=${userDir}`);
|
||||
|
||||
// install the appropriate extensions
|
||||
// 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";
|
||||
}
|
||||
|
||||
settingsJson["git.openRepositoryInParentFolders"] = "never";
|
||||
await write(settings, JSON.stringify(settingsJson, null, 4));
|
||||
|
||||
return {
|
||||
cli, args
|
||||
};
|
||||
|
||||
} catch (err: unknown) {
|
||||
console.log(err);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
export async function reset() {
|
||||
verbose(`Removing VSCode test folder: ${isolated}`);
|
||||
await rimraf(isolated);
|
||||
}
|
||||
Vendored
+102
-102
@@ -3,128 +3,75 @@
|
||||
"version": "0.1.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Launch Extension (development)",
|
||||
// debugs the extension
|
||||
"name": "Run Extension",
|
||||
"type": "extensionHost",
|
||||
"request": "launch",
|
||||
"runtimeExecutable": "${execPath}",
|
||||
"args": [
|
||||
"--extensionDevelopmentPath=${workspaceFolder}"
|
||||
],
|
||||
"sourceMaps": true,
|
||||
"outFiles": [
|
||||
"${workspaceFolder}/dist/**/*.js"
|
||||
],
|
||||
"preLaunchTask": "Compile Dev",
|
||||
},
|
||||
{
|
||||
"name": "Launch Extension (production)",
|
||||
"type": "extensionHost",
|
||||
"request": "launch",
|
||||
"runtimeExecutable": "${execPath}",
|
||||
"args": [
|
||||
"--extensionDevelopmentPath=${workspaceFolder}"
|
||||
],
|
||||
"sourceMaps": true,
|
||||
"outFiles": [
|
||||
"${workspaceFolder}/dist/**/*.js"
|
||||
],
|
||||
"preLaunchTask": "TypeScript Compile",
|
||||
},
|
||||
{
|
||||
"name": "Launch Extension (do not build)",
|
||||
"type": "extensionHost",
|
||||
"request": "launch",
|
||||
"runtimeExecutable": "${execPath}",
|
||||
"args": [
|
||||
"--extensionDevelopmentPath=${workspaceFolder}"
|
||||
],
|
||||
"sourceMaps": true,
|
||||
"outFiles": [
|
||||
"${workspaceFolder}/dist/**/*.js"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Launch Extension (watch, development)",
|
||||
"type": "extensionHost",
|
||||
"request": "launch",
|
||||
"runtimeExecutable": "${execPath}",
|
||||
"args": [
|
||||
"--extensionDevelopmentPath=${workspaceFolder}"
|
||||
],
|
||||
"sourceMaps": true,
|
||||
"outFiles": [
|
||||
"${workspaceFolder}/dist/**/*.js"
|
||||
],
|
||||
"preLaunchTask": "Compile Dev Watch",
|
||||
},
|
||||
{
|
||||
"name": "Launch Extension (watch, production)",
|
||||
"type": "extensionHost",
|
||||
"request": "launch",
|
||||
"runtimeExecutable": "${execPath}",
|
||||
"args": [
|
||||
"--extensionDevelopmentPath=${workspaceFolder}"
|
||||
],
|
||||
"sourceMaps": true,
|
||||
"outFiles": [
|
||||
"${workspaceFolder}/dist/**/*.js"
|
||||
],
|
||||
"preLaunchTask": "TypeScript Compile Watch",
|
||||
},
|
||||
{
|
||||
"name": "Launch Unit Tests",
|
||||
"type": "extensionHost",
|
||||
"request": "launch",
|
||||
"runtimeExecutable": "${execPath}",
|
||||
"args": [
|
||||
"--no-sandbox",
|
||||
"--disable-updates",
|
||||
"--skip-welcome",
|
||||
"--skip-release-notes",
|
||||
"--disable-workspace-trust",
|
||||
"--extensionDevelopmentPath=${workspaceFolder}",
|
||||
"--extensionTestsPath=${workspaceFolder}/out/test/unitTests/index"
|
||||
],
|
||||
"sourceMaps": true,
|
||||
"outFiles": [
|
||||
"${workspaceFolder}/out/test/**/*.js"
|
||||
"${workspaceFolder}/dist/**"
|
||||
],
|
||||
"preLaunchTask": "Pretest"
|
||||
// you can use a watch task as a prelaunch task and it works like you'd want it to.
|
||||
"preLaunchTask": "watch"
|
||||
},
|
||||
{
|
||||
"name": "Launch Integration Tests",
|
||||
// debugs the extension (selecting the workspace)
|
||||
"name": "Run Extension-Select Workspace",
|
||||
"type": "extensionHost",
|
||||
"request": "launch",
|
||||
"args": [
|
||||
"--no-sandbox",
|
||||
"--disable-updates",
|
||||
"--skip-welcome",
|
||||
"--skip-release-notes",
|
||||
"--disable-workspace-trust",
|
||||
"--extensionDevelopmentPath=${workspaceFolder}",
|
||||
"${input:pickWorkspace}"
|
||||
],
|
||||
"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"
|
||||
},
|
||||
{
|
||||
// debug scenario tests (selecting the workspace)
|
||||
"name": "VSCode Tests",
|
||||
"type": "extensionHost",
|
||||
"request": "launch",
|
||||
"runtimeExecutable": "${execPath}",
|
||||
"env": {
|
||||
"SCENARIO": "${input:pickScenario}"
|
||||
},
|
||||
"args": [
|
||||
"${workspaceFolder}/test/integrationTests/testAssets/SimpleCppProject/simpleCppProject.code-workspace",
|
||||
"--no-sandbox",
|
||||
"--disable-updates",
|
||||
"--skip-welcome",
|
||||
"--skip-release-notes",
|
||||
"--disable-extensions",
|
||||
"--extensionDevelopmentPath=${workspaceFolder}",
|
||||
"--extensionTestsPath=${workspaceFolder}/out/test/integrationTests/languageServer/index"
|
||||
"--extensionTestsPath=${workspaceFolder}/dist/test/common/selectTests",
|
||||
"--scenario=${input:pickScenario}",
|
||||
"${input:pickScenario}"
|
||||
],
|
||||
"sourceMaps": true,
|
||||
"outFiles": [
|
||||
"${workspaceFolder}/out/test/**/*.js"
|
||||
"${workspaceFolder}/dist/**"
|
||||
],
|
||||
"preLaunchTask": "Pretest",
|
||||
},
|
||||
{
|
||||
"name": "Launch E2E IntelliSense features tests",
|
||||
"type": "extensionHost",
|
||||
"request": "launch",
|
||||
"runtimeExecutable": "${execPath}",
|
||||
"args": [
|
||||
"${workspaceFolder}/../../Vcls-vscode-test/MultirootDeadlockTest/test.code-workspace",
|
||||
"--extensionDevelopmentPath=${workspaceFolder}",
|
||||
"--extensionTestsPath=${workspaceFolder}/out/test/integrationTests/IntelliSenseFeatures/index"
|
||||
],
|
||||
"sourceMaps": true,
|
||||
"outFiles": [
|
||||
"${workspaceFolder}/out/test/**/*.js"
|
||||
],
|
||||
"preLaunchTask": "Pretest"
|
||||
},
|
||||
{
|
||||
"name": "Node Attach",
|
||||
"type": "node",
|
||||
"request": "attach",
|
||||
"port": 5858
|
||||
// you can use a watch task as a prelaunch task and it works like you'd want it to.
|
||||
"preLaunchTask": "watch"
|
||||
},
|
||||
{
|
||||
// used for debugging unit tests
|
||||
"name": "MochaTest",
|
||||
"type": "node",
|
||||
"request": "attach",
|
||||
@@ -135,9 +82,62 @@
|
||||
"<node_internals>/**"
|
||||
],
|
||||
"outFiles": [
|
||||
"${workspaceFolder}/**/out/**/*.js",
|
||||
"${workspaceFolder}/dist/**",
|
||||
"!**/node_modules/**"
|
||||
]
|
||||
}
|
||||
],
|
||||
"inputs": [
|
||||
{
|
||||
"type": "pickString",
|
||||
"id": "pickScenario",
|
||||
"description": "Select which scenario to debug VSCode tests.",
|
||||
"options": [
|
||||
{
|
||||
"label": "MultirootDeadlockTest ",
|
||||
"value": "${workspaceFolder}/test/scenarios/MultirootDeadlockTest/assets/test.code-workspace"
|
||||
},
|
||||
{
|
||||
"label": "SimpleCppProject ",
|
||||
"value": "${workspaceFolder}/test/scenarios/SimpleCppProject/assets/simpleCppProject.code-workspace"
|
||||
},
|
||||
{
|
||||
"label": "SingleRootProject ",
|
||||
"value": "${workspaceFolder}/test/scenarios/SingleRootProject/assets/"
|
||||
},
|
||||
{
|
||||
"label": "CompilerDetection ",
|
||||
"value": "${workspaceFolder}/test/scenarios/CompilerDetection/assets"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "pickString",
|
||||
"id": "pickWorkspace",
|
||||
"description": "Select which workspace scenario to debug VSCode.",
|
||||
"default": "-n",
|
||||
"options": [
|
||||
{
|
||||
"label": "(Debug with new window) ",
|
||||
"value": "-n"
|
||||
},
|
||||
{
|
||||
"label": "MultirootDeadlockTest ",
|
||||
"value": "${workspaceFolder}/test/scenarios/MultirootDeadlockTest/assets/test.code-workspace"
|
||||
},
|
||||
{
|
||||
"label": "SimpleCppProject ",
|
||||
"value": "${workspaceFolder}/test/scenarios/SimpleCppProject/assets/simpleCppProject.code-workspace"
|
||||
},
|
||||
{
|
||||
"label": "SingleRootProject ",
|
||||
"value": "${workspaceFolder}/test/scenarios/SingleRootProject/assets/"
|
||||
},
|
||||
{
|
||||
"label": "CompilerDetection ",
|
||||
"value": "${workspaceFolder}/test/scenarios/CompilerDetection/assets"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Vendored
+18
-3
@@ -9,8 +9,8 @@
|
||||
"typescript.tsdk": "./node_modules/typescript/lib", // we want to use the TS server from our node_modules folder to control its version
|
||||
// if you install the mocha test explorer extension, you can run the unit tests from the test explorer UI
|
||||
"testExplorer.useNativeTesting": true,
|
||||
"mochaExplorer.files": "./**/internalUnitTests/**/*.test.js",
|
||||
"mochaExplorer.watch": "./**/internalUnitTests/**/*.test.js",
|
||||
"mochaExplorer.files": "./**/unit/**/*.test.js",
|
||||
"mochaExplorer.watch": "./**/unit/**/*.test.js",
|
||||
"mochaExplorer.ignore": [
|
||||
"**/*skip*",
|
||||
"**/dist/test/**/*.d.ts",
|
||||
@@ -48,5 +48,20 @@
|
||||
"eslint.format.enable": true,
|
||||
"[javascript]": {
|
||||
"editor.tabSize": 4,
|
||||
}
|
||||
},
|
||||
"markdown.extension.list.indentationSize": "inherit",
|
||||
"markdown.extension.toc.levels": "2..6",
|
||||
"[markdown]": {
|
||||
"editor.tabSize": 4,
|
||||
},
|
||||
"eslint.workingDirectories": [
|
||||
{
|
||||
"changeProcessCWD": true,
|
||||
"directory": "./",
|
||||
},
|
||||
{
|
||||
"changeProcessCWD": true,
|
||||
"directory": "./.scripts",
|
||||
}
|
||||
],
|
||||
}
|
||||
|
||||
Vendored
+15
-193
@@ -4,203 +4,25 @@
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "TypeScript Compile",
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
},
|
||||
"isBackground": false,
|
||||
"type": "shell",
|
||||
"presentation": {
|
||||
"echo": true,
|
||||
"reveal": "silent",
|
||||
"focus": false,
|
||||
"panel": "shared"
|
||||
},
|
||||
"command": "yarn",
|
||||
"args": [
|
||||
"run",
|
||||
"compile"
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "TypeScript Lint",
|
||||
"group": "build",
|
||||
"isBackground": false,
|
||||
"type": "shell",
|
||||
"command": "yarn",
|
||||
"args": [
|
||||
"run",
|
||||
"lint"
|
||||
],
|
||||
"problemMatcher": {
|
||||
"fileLocation": "absolute",
|
||||
"source": "lint",
|
||||
"pattern": [
|
||||
{
|
||||
"regexp": "(ERROR:) ([a-zA-Z/:\\-\\.]*)\\[(\\d+), (\\d+)\\]: (.*)",
|
||||
"severity": 1,
|
||||
"file": 2,
|
||||
"line": 3,
|
||||
"column": 4,
|
||||
"message": 5
|
||||
}
|
||||
]
|
||||
},
|
||||
"dependsOn": [
|
||||
"Compile Dev"
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "Compile Dev",
|
||||
"group": "build",
|
||||
"isBackground": false,
|
||||
"type": "shell",
|
||||
"command": "yarn",
|
||||
"args": [
|
||||
"run",
|
||||
"compile-dev"
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "Pretest",
|
||||
"group": "build",
|
||||
"isBackground": false,
|
||||
"type": "shell",
|
||||
"command": "yarn",
|
||||
"args": [
|
||||
"run",
|
||||
"pretest"
|
||||
],
|
||||
"dependsOn": [
|
||||
"Compile Dev"
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "TypeScript Compile Watch",
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
},
|
||||
"isBackground": true,
|
||||
"type": "shell",
|
||||
"presentation": {
|
||||
"echo": true,
|
||||
"reveal": "silent",
|
||||
"focus": false,
|
||||
"panel": "shared"
|
||||
},
|
||||
"command": "yarn",
|
||||
"args": [
|
||||
"run",
|
||||
"compile-watch"
|
||||
],
|
||||
"problemMatcher": [
|
||||
{
|
||||
"owner": "typescript",
|
||||
"source": "ts",
|
||||
"applyTo": "closedDocuments",
|
||||
"fileLocation": "absolute",
|
||||
"severity": "error",
|
||||
"pattern": [
|
||||
{
|
||||
"regexp": "\\[tsl\\] ERROR in (.*)?\\((\\d+),(\\d+)\\)",
|
||||
"file": 1,
|
||||
"line": 2,
|
||||
"column": 3
|
||||
},
|
||||
{
|
||||
"regexp": "\\s*TS\\d+:\\s*(.*)",
|
||||
"message": 1
|
||||
}
|
||||
],
|
||||
"background": {
|
||||
"activeOnStart": true,
|
||||
"beginsPattern": {
|
||||
"regexp": "asset"
|
||||
},
|
||||
"endsPattern": {
|
||||
"regexp": "webpack (.*?) compiled (.*?) ms"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "Compile Dev Watch",
|
||||
"group": "build",
|
||||
"isBackground": true,
|
||||
"type": "shell",
|
||||
"command": "yarn",
|
||||
"args": [
|
||||
"run",
|
||||
"compile-dev-watch"
|
||||
],
|
||||
"problemMatcher": [
|
||||
{
|
||||
"owner": "typescript",
|
||||
"source": "ts",
|
||||
"applyTo": "closedDocuments",
|
||||
"fileLocation": "absolute",
|
||||
"severity": "error",
|
||||
"pattern": [
|
||||
{
|
||||
"regexp": "\\[tsl\\] ERROR in (.*)?\\((\\d+),(\\d+)\\)",
|
||||
"file": 1,
|
||||
"line": 2,
|
||||
"column": 3
|
||||
},
|
||||
{
|
||||
"regexp": "\\s*TS\\d+:\\s*(.*)",
|
||||
"message": 1
|
||||
}
|
||||
],
|
||||
"background": {
|
||||
"activeOnStart": true,
|
||||
"beginsPattern": {
|
||||
"regexp": "asset"
|
||||
},
|
||||
"endsPattern": {
|
||||
"regexp": "webpack (.*?) compiled (.*?) ms"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"label": "Compile:Watch (unit-tests)",
|
||||
"type": "shell",
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}"
|
||||
},
|
||||
"command": "yarn",
|
||||
"args": [
|
||||
"run",
|
||||
"compile-watch-unit-tests"
|
||||
],
|
||||
"isBackground": true,
|
||||
"problemMatcher": "$tsc-watch",
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "Compile (unit-tests)",
|
||||
"type": "shell",
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}"
|
||||
},
|
||||
"command": "yarn",
|
||||
"args": [
|
||||
"run",
|
||||
"compile-unit-tests"
|
||||
],
|
||||
"label": "compile",
|
||||
"type": "npm",
|
||||
"script": "compile",
|
||||
"problemMatcher": "$tsc",
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": false
|
||||
"isDefault": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "watch",
|
||||
"type": "npm",
|
||||
"script": "watch",
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
},
|
||||
"isBackground": true,
|
||||
"problemMatcher": "$tsc-watch",
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
+54
-47
@@ -1,47 +1,54 @@
|
||||
|
||||
# ignore vscode settings for extension development
|
||||
.vscode/**
|
||||
|
||||
# ignore binaries
|
||||
obj/**
|
||||
|
||||
# ignore source files
|
||||
tools/**
|
||||
notices/**
|
||||
test/**
|
||||
src/**
|
||||
|
||||
# ignore .js files that are webpacked or only used for development
|
||||
out/src/**
|
||||
out/tools/**
|
||||
|
||||
# ignore ts files in ui
|
||||
ui/*.ts
|
||||
|
||||
# ignore Azure-Pipelines files
|
||||
jobs/**
|
||||
cgmanifest.json
|
||||
|
||||
# ignore development files
|
||||
tsconfig.json
|
||||
test.tsconfig.json
|
||||
tslint.json
|
||||
.eslintrc.js
|
||||
webpack.config.js
|
||||
tscCompileList.txt
|
||||
gulpfile.js
|
||||
.gitattributes
|
||||
.gitignore
|
||||
CMakeLists.txt
|
||||
debugAdapters/install.lock*
|
||||
typings/**
|
||||
**/*.map
|
||||
import_edge_strings.js
|
||||
localized_string_ids.h
|
||||
translations_auto_pr.js
|
||||
|
||||
# ignore i18n language files
|
||||
i18n/**
|
||||
|
||||
# ignore node_modules
|
||||
node_modules/
|
||||
|
||||
# ignore vscode settings for extension development
|
||||
.vscode/**
|
||||
|
||||
# ignore binaries
|
||||
obj/**
|
||||
|
||||
# ignore source files
|
||||
tools/**
|
||||
notices/**
|
||||
test/**
|
||||
src/**
|
||||
|
||||
# ignore .js files that are webpacked or only used for development
|
||||
out/src/**
|
||||
out/tools/**
|
||||
|
||||
# don't include the local code and tests compiled files
|
||||
dist/test/**
|
||||
|
||||
# no project scripts
|
||||
.scripts/**
|
||||
|
||||
# ignore ts files in ui
|
||||
ui/*.ts
|
||||
|
||||
# ignore Azure-Pipelines files
|
||||
jobs/**
|
||||
cgmanifest.json
|
||||
|
||||
# ignore development files
|
||||
tsconfig.json
|
||||
test.tsconfig.json
|
||||
ui.tsconfig.json
|
||||
tslint.json
|
||||
.eslintrc.js
|
||||
webpack.config.js
|
||||
tscCompileList.txt
|
||||
gulpfile.js
|
||||
.gitattributes
|
||||
.gitignore
|
||||
CMakeLists.txt
|
||||
debugAdapters/install.lock*
|
||||
typings/**
|
||||
**/*.map
|
||||
import_edge_strings.js
|
||||
localized_string_ids.h
|
||||
translations_auto_pr.js
|
||||
|
||||
# ignore i18n language files
|
||||
i18n/**
|
||||
|
||||
# ignore node_modules
|
||||
node_modules/
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
||||
# yarn lockfile v1
|
||||
|
||||
|
||||
ignore-engines true
|
||||
disable-self-update-check true
|
||||
--run.silent true
|
||||
+58
-7
@@ -1,21 +1,72 @@
|
||||
# C/C++ for Visual Studio Code Changelog
|
||||
|
||||
## Version 1.17.0: July 26, 2023
|
||||
## Version 1.18.0: October 12, 2023
|
||||
### New Features
|
||||
* Add an 'Extract to Function' (or Member Function) code action after selecting code. [#1162](https://github.com/microsoft/vscode-cpptools/issues/1162)
|
||||
* Currently, it's only enabled when `C_Cpp.experimentFeatures` is `true`. Also, 'Extract to Free Function' is disabled.
|
||||
* Add the option to install a compiler, accessible through the walkthrough. [PR #11286](https://github.com/microsoft/vscode-cpptools/pull/11286)
|
||||
|
||||
### Enhancements
|
||||
* Add setting `C_Cpp.refactoring.includeHeader` to customize whether or not to add an include header when doing a refactoring code action. [#11271](https://github.com/microsoft/vscode-cpptools/issues/11271)
|
||||
* Update clang-format and clang-tidy to 17.0.2. [PR #11491](https://github.com/microsoft/vscode-cpptools/pull/11491)
|
||||
|
||||
### Bug Fixes
|
||||
* Fix the debugger truncating long strings when inspecting values. [#1786](https://github.com/microsoft/vscode-cpptools/issues/1786)
|
||||
* Switch to using `XDG_CACHE_HOME` on Linux for the default database path. [#10191](https://github.com/microsoft/vscode-cpptools/issues/10191)
|
||||
* Fix incorrect status and commands with the tag parsing language status UI. [#10749](https://github.com/microsoft/vscode-cpptools/issues/10749)
|
||||
* Fix an empty (`""`) `compilerPath` in a base configuration overriding the compiler specified by a custom configuration provider or a `compile_commands.json`. [#11373](https://github.com/microsoft/vscode-cpptools/issues/11373)
|
||||
* Fix a startup crash when reading values from JSON (settings) that are not the type expected. [#11375](https://github.com/microsoft/vscode-cpptools/issues/11375)
|
||||
* Fix a crash detected by crash telemetry. [#11401](https://github.com/microsoft/vscode-cpptools/issues/11401)
|
||||
* Fix handling of an undefined `env` variable on Linux and macOS. [#11447](https://github.com/microsoft/vscode-cpptools/issues/11447)
|
||||
* Fix multiple issues with querying `nvcc` (CUDA) as a compiler. [#11454](https://github.com/microsoft/vscode-cpptools/issues/11454)
|
||||
* Fix an issue that could cause a C language standard to be applied to a C++ file, or vice versa.
|
||||
* Remove `cpp` and `clang-cpp` preprocessors from the list of detectable compilers.
|
||||
|
||||
## Version 1.17.5: August 28, 2023
|
||||
### Bug Fixes
|
||||
* Fix a language server crash for platforms that don't support the IntelliSense cache (AutoPCH). [#10789](https://github.com/microsoft/vscode-cpptools/issues/10789)
|
||||
* Fix markdown in comments when inline/block code is used. [#11322](https://github.com/microsoft/vscode-cpptools/issues/11322)
|
||||
* Fix Find All References and Call Hierarchy for C files when the cursor is at the end of a symbol. [#11338](https://github.com/microsoft/vscode-cpptools/issues/11338)
|
||||
* Fix usage of the `/Zc:alignedNew-` MSVC compiler option. [#11350](https://github.com/microsoft/vscode-cpptools/issues/11350)
|
||||
|
||||
## Version 1.17.4: August 21, 2023
|
||||
### Bug Fixes
|
||||
* Fix crash recovery for the main extension process. [#11335](https://github.com/microsoft/vscode-cpptools/issues/11335)
|
||||
* Fix an IntelliSense process crash when certain error messages occur with a language pack enabled. [#11336](https://github.com/microsoft/vscode-cpptools/issues/11336)
|
||||
|
||||
## Version 1.17.3: August 16, 2023
|
||||
### Bug Fix
|
||||
* Fix a regression with attaching the debugger to processes on Linux and macOS. [#11328](https://github.com/microsoft/vscode-cpptools/issues/11328)
|
||||
|
||||
## Version 1.17.2: August 14, 2023
|
||||
### Enhancements
|
||||
* Enable a subset of markdown to render in hover by default and a `C_Cpp.markdownInComments` setting. [#6020](https://github.com/microsoft/vscode-cpptools/issues/6020), [#10461](https://github.com/microsoft/vscode-cpptools/issues/10461)
|
||||
* Add support for gcc 13 features. [#11038](https://github.com/microsoft/vscode-cpptools/issues/11038)
|
||||
* Add default compiler detection of additional compilers in MSYS environments. [#11211](https://github.com/microsoft/vscode-cpptools/issues/11211)
|
||||
* Use musl for building Linux binaries of the extension.
|
||||
* Add support for additional compiler wrappers: gomacc, distcc, buildcache, and icecc.
|
||||
|
||||
### Bug Fixes
|
||||
* Fix a couple bugs with documentation comments. [#5241](https://github.com/microsoft/vscode-cpptools/issues/5241)
|
||||
* Added `__float128` support in gcc IntelliSense mode. [#9558](https://github.com/microsoft/vscode-cpptools/issues/9558)
|
||||
* Address various issues with support for gcc 13. [#11038](https://github.com/microsoft/vscode-cpptools/issues/11038)
|
||||
* Fix an issue where the debugger would get stuck while using cl.exe options. [#10231](https://github.com/microsoft/vscode-cpptools/issues/10231)
|
||||
* Fix C/C++ commands showing in the Command Palette with non-C/C++ files. [#10421](https://github.com/microsoft/vscode-cpptools/issues/10421)
|
||||
* Fix the 'Select IntelliSense Configuration' command to also update an existing `compilerPath` in c_cpp_properties.json. [#10808](https://github.com/microsoft/vscode-cpptools/issues/10808)
|
||||
* Update clang-format (and clang-tidy) to 16.0.6 to fix a bug. [#11027](https://github.com/microsoft/vscode-cpptools/issues/11027)
|
||||
* Fix `#include` completion leaving an extra `>`. [#11042](https://github.com/microsoft/vscode-cpptools/issues/11042)
|
||||
* Fix an issue with matching of glob patterns containing path delimiters. [#11132](https://github.com/microsoft/vscode-cpptools/issues/11132)
|
||||
* Fix Create Declaration/Definition via `Quick Fix…` from hover tooltip. [#11157](https://github.com/microsoft/vscode-cpptools/issues/11157)
|
||||
* Fix issues with compiler querying of clang-cl. [#11207](https://github.com/microsoft/vscode-cpptools/issues/11207)
|
||||
* Fix `files.encoding` setting on startup. [#11210](https://github.com/microsoft/vscode-cpptools/issues/11210)
|
||||
* Fix a crash related to directories with a very large number of files. [#11226](https://github.com/microsoft/vscode-cpptools/issues/11226)
|
||||
* Fix the parameter format of call hierarchy items. [#11247](https://github.com/microsoft/vscode-cpptools/issues/11247)
|
||||
* Remove the vcpkg code action from the missing includes code action list. [#11252](https://github.com/microsoft/vscode-cpptools/issues/11252)
|
||||
* Fix the file path info of call hierarchy items to display the relative path to a workspace folder. [#11254](https://github.com/microsoft/vscode-cpptools/issues/11254)
|
||||
* Fix colorization for macro expansions in macro arguments. [#11256](https://github.com/microsoft/vscode-cpptools/issues/11256)
|
||||
* Fix a crash for CUDA projects with '>' in the command line. [#11289](https://github.com/microsoft/vscode-cpptools/issues/11289)
|
||||
* Increase the default standard for the 'Build and Debug Active File' feature to c++14 on macOS. [#11292](https://github.com/microsoft/vscode-cpptools/issues/11292)
|
||||
* Fix an issue with the compiler currently configured for use with IntelliSense being listed last in the task creation popup. [PR #11299](https://github.com/microsoft/vscode-cpptools/pull/11299)
|
||||
* Fix an IPCH issue on Linux due to the Position Independent Executable (PIE) option not being set since 1.17.0.
|
||||
* Fix Rank > 1 Display Strings for Natvis. [PR MIEngine#1406](https://github.com/microsoft/MIEngine/pull/1406)
|
||||
* Fix some crashes identified by crash telemetry.
|
||||
* Fix an issue that could cause zombie processes on Linux/Mac.
|
||||
@@ -635,7 +686,7 @@
|
||||
* Add auto-detection of clang compilers on Windows (and different versions of cl.exe). [#6718](https://github.com/microsoft/vscode-cpptools/issues/6718)
|
||||
* Stop adding .cu files to `files.associations` (switch to using setTextDocumentLanguage). [#7359](https://github.com/microsoft/vscode-cpptools/issues/7359)
|
||||
* Add "Symbol Options" for CppVsdbg to configure symbol settings [PR #7680](https://github.com/microsoft/vscode-cpptools/pull/7680)
|
||||
* Update CppVsdbg to use newer CppEE and msdia.
|
||||
* Update CppVsdbg to use newer CppEE and msdia.
|
||||
|
||||
### Bug Fixes
|
||||
* Fix switch header/source not checking `files.exclude`. [#4429](https://github.com/microsoft/vscode-cpptools/issues/4429)
|
||||
@@ -681,7 +732,7 @@
|
||||
* Add `private` or `protected` scope labels to class symbols. [#7120](https://github.com/microsoft/vscode-cpptools/issues/7120)
|
||||
* Fix file:line path for $FILEPOS [#7193](https://github.com/microsoft/vscode-cpptools/issues/7193)
|
||||
* [PR MIEngine#1124](https://github.com/microsoft/MIEngine/pull/1124)
|
||||
* Add `stopAtConnect` and `hardwareBreakpoints` launch options [PR #7449](https://github.com/microsoft/vscode-cpptools/pull/7449)
|
||||
* Add `stopAtConnect` and `hardwareBreakpoints` launch options [PR #7449](https://github.com/microsoft/vscode-cpptools/pull/7449)
|
||||
* `stopAtConnect` stops the debugger on connection to a remote target [PR MIEngine#1109](https://github.com/microsoft/MIEngine/pull/1109)
|
||||
* `hardwareBreakpoints` controls usage and number of remote hardware breakpoints [PR MIEngine#1128](https://github.com/microsoft/MIEngine/pull/1128)
|
||||
* Add support for loading Concord extensions to the cppvsdbg debug adapter (see [documentation](https://github.com/microsoft/ConcordExtensibilitySamples/wiki/Support-for-VS-Code-cppvsdbg-Scenarios) for more information)
|
||||
@@ -914,7 +965,7 @@
|
||||
* YuTengjing (@tjx666) [PR #6344](https://github.com/microsoft/vscode-cpptools/pull/6344)
|
||||
* Enable support for specifying a compiler by only the filename if it's in the environment path. [#6179](https://github.com/microsoft/vscode-cpptools/issues/6179)
|
||||
* Restart the IntelliSense process if its memory usage exceeds the `C_Cpp.intelliSenseMemoryLimit` setting. [#6230](https://github.com/microsoft/vscode-cpptools/issues/6230)
|
||||
* [cppdbg] Stepping out of a function will display '$ReturnValue'.
|
||||
* [cppdbg] Stepping out of a function will display '$ReturnValue'.
|
||||
* @Trass3r [PR MIEngine#1036](https://github.com/microsoft/MIEngine/pull/1036)
|
||||
* [cppdbg] Support composite expressions in natvis ArrayItems
|
||||
* @Trass3r [PR MIEngine#1044](https://github.com/microsoft/MIEngine/pull/1044)
|
||||
@@ -1295,7 +1346,7 @@
|
||||
* Add a code action for resolving missing includes via the `vcpkg` dependency manager. [PR #3791](https://github.com/microsoft/vscode-cpptools/pull/3791)
|
||||
|
||||
### Enhancements
|
||||
* Added support for compile commands:
|
||||
* Added support for compile commands:
|
||||
* `-iquote`. [#2088](https://github.com/microsoft/vscode-cpptools/issues/2088)
|
||||
* `-imacros`. [#2417](https://github.com/microsoft/vscode-cpptools/issues/2417)
|
||||
* `-idirafter`(`--include-directory-after` & `--include-directory-after=`). [#3713](https://github.com/microsoft/vscode-cpptools/issues/3713)
|
||||
@@ -2072,4 +2123,4 @@
|
||||
## Version 0.5.0: April 14, 2016
|
||||
* Usability and correctness bug fixes.
|
||||
* Simplify installation experience.
|
||||
* Usability and correctness bug fixes.
|
||||
* Usability and correctness bug fixes.
|
||||
+123
-128
@@ -1419,36 +1419,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
|
||||
|
||||
---------------------------------------------------------
|
||||
|
||||
---------------------------------------------------------
|
||||
|
||||
buffer-crc32 0.2.13 - MIT
|
||||
https://github.com/brianloveswords/buffer-crc32
|
||||
|
||||
Copyright (c) 2013 Brian J. Brennan
|
||||
|
||||
The MIT License
|
||||
|
||||
Copyright (c) 2013 Brian J. Brennan
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal in
|
||||
the Software without restriction, including without limitation the rights to use,
|
||||
copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the
|
||||
Software, and to permit persons to whom the Software is furnished to do so,
|
||||
subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
|
||||
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
|
||||
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
|
||||
FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
|
||||
---------------------------------------------------------
|
||||
|
||||
---------------------------------------------------------
|
||||
@@ -1677,38 +1647,6 @@ The above copyright notice and this permission notice shall be included in all c
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
|
||||
---------------------------------------------------------
|
||||
|
||||
---------------------------------------------------------
|
||||
|
||||
fd-slicer 1.1.0 - MIT
|
||||
https://github.com/andrewrk/node-fd-slicer#readme
|
||||
|
||||
Copyright (c) 2014 Andrew Kelley
|
||||
|
||||
Copyright (c) 2014 Andrew Kelley
|
||||
|
||||
Permission is hereby granted, free of charge, to any person
|
||||
obtaining a copy of this software and associated documentation files
|
||||
(the "Software"), to deal in the Software without restriction,
|
||||
including without limitation the rights to use, copy, modify, merge,
|
||||
publish, distribute, sublicense, and/or sell copies of the Software,
|
||||
and to permit persons to whom the Software is furnished to do so,
|
||||
subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
|
||||
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
||||
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
||||
|
||||
---------------------------------------------------------
|
||||
|
||||
---------------------------------------------------------
|
||||
@@ -2072,6 +2010,37 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
|
||||
|
||||
---------------------------------------------------------
|
||||
|
||||
---------------------------------------------------------
|
||||
|
||||
nanoid 3.3.6 - MIT
|
||||
https://github.com/ai/nanoid#readme
|
||||
|
||||
Copyright 2017 Andrey Sitnik <[email protected]>
|
||||
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright 2017 Andrey Sitnik <[email protected]>
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal in
|
||||
the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||
the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
|
||||
---------------------------------------------------------
|
||||
|
||||
---------------------------------------------------------
|
||||
@@ -2102,6 +2071,63 @@ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
|
||||
---------------------------------------------------------
|
||||
|
||||
---------------------------------------------------------
|
||||
|
||||
node-stream-zip 1.15.0 - MIT
|
||||
https://github.com/antelle/node-stream-zip
|
||||
|
||||
Copyright (c) 2021 Antelle https://github.com/antelle
|
||||
(c) 2020 Antelle https://github.com/antelle/node-stream-zip/blob/master/LICENSE
|
||||
Copyright (c) 2012 Another-D-Mention Software and other contributors, http://www.another-d-mention.ro
|
||||
Portions copyright https://github.com/cthackers/adm-zip https://raw.githubusercontent.com/cthackers/adm-zip/master/LICENSE
|
||||
|
||||
Copyright (c) 2021 Antelle https://github.com/antelle
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of this software and associated documentation files (the
|
||||
"Software"), to deal in the Software without restriction, including
|
||||
without limitation the rights to use, copy, modify, merge, publish,
|
||||
distribute, sublicense, and/or sell copies of the Software, and to
|
||||
permit persons to whom the Software is furnished to do so, subject to
|
||||
the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
== dependency license: adm-zip ==
|
||||
|
||||
Copyright (c) 2012 Another-D-Mention Software and other contributors,
|
||||
http://www.another-d-mention.ro/
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of this software and associated documentation files (the
|
||||
"Software"), to deal in the Software without restriction, including
|
||||
without limitation the rights to use, copy, modify, merge, publish,
|
||||
distribute, sublicense, and/or sell copies of the Software, and to
|
||||
permit persons to whom the Software is furnished to do so, subject to
|
||||
the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
---------------------------------------------------------
|
||||
|
||||
---------------------------------------------------------
|
||||
@@ -2168,40 +2194,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
|
||||
|
||||
---------------------------------------------------------
|
||||
|
||||
---------------------------------------------------------
|
||||
|
||||
pend 1.2.0 - MIT
|
||||
|
||||
|
||||
Copyright (c) 2014 Andrew Kelley
|
||||
|
||||
The MIT License (Expat)
|
||||
|
||||
Copyright (c) 2014 Andrew Kelley
|
||||
|
||||
Permission is hereby granted, free of charge, to any person
|
||||
obtaining a copy of this software and associated documentation files
|
||||
(the "Software"), to deal in the Software without restriction,
|
||||
including without limitation the rights to use, copy, modify, merge,
|
||||
publish, distribute, sublicense, and/or sell copies of the Software,
|
||||
and to permit persons to whom the Software is furnished to do so,
|
||||
subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
|
||||
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
||||
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
||||
|
||||
---------------------------------------------------------
|
||||
|
||||
---------------------------------------------------------
|
||||
@@ -2235,6 +2227,41 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
|
||||
|
||||
---------------------------------------------------------
|
||||
|
||||
---------------------------------------------------------
|
||||
|
||||
plist 3.1.0 - MIT
|
||||
https://github.com/TooTallNate/node-plist#readme
|
||||
|
||||
Copyright (c) 2010-2017 Nathan Rajlich <[email protected]>
|
||||
|
||||
(The MIT License)
|
||||
|
||||
Copyright (c) 2010-2017 Nathan Rajlich <[email protected]>
|
||||
|
||||
Permission is hereby granted, free of charge, to any person
|
||||
obtaining a copy of this software and associated documentation
|
||||
files (the "Software"), to deal in the Software without
|
||||
restriction, including without limitation the rights to use,
|
||||
copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the
|
||||
Software is furnished to do so, subject to the following
|
||||
conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
||||
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
||||
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
|
||||
---------------------------------------------------------
|
||||
|
||||
---------------------------------------------------------
|
||||
@@ -2636,38 +2663,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
|
||||
|
||||
---------------------------------------------------------
|
||||
|
||||
---------------------------------------------------------
|
||||
|
||||
yauzl 2.10.0 - MIT
|
||||
https://github.com/thejoshwolfe/yauzl
|
||||
|
||||
Copyright (c) 2014 Josh Wolfe
|
||||
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2014 Josh Wolfe
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
||||
|
||||
---------------------------------------------------------
|
||||
|
||||
-------------------------------------------------------------------
|
||||
|
||||
+3559
-3519
File diff suppressed because it is too large
Load Diff
+3558
-3518
File diff suppressed because it is too large
Load Diff
+3558
-3518
File diff suppressed because it is too large
Load Diff
+3559
-3519
File diff suppressed because it is too large
Load Diff
+3559
-3519
File diff suppressed because it is too large
Load Diff
+3559
-3519
File diff suppressed because it is too large
Load Diff
+3559
-3519
File diff suppressed because it is too large
Load Diff
+3559
-3519
File diff suppressed because it is too large
Load Diff
+3559
-3519
File diff suppressed because it is too large
Load Diff
+3559
-3519
File diff suppressed because it is too large
Load Diff
+3559
-3519
File diff suppressed because it is too large
Load Diff
+3559
-3519
File diff suppressed because it is too large
Load Diff
+3559
-3519
File diff suppressed because it is too large
Load Diff
+1
-138
@@ -6,7 +6,7 @@
|
||||
'use strict';
|
||||
|
||||
const gulp = require('gulp');
|
||||
const eslint = require('gulp-eslint-new');
|
||||
|
||||
const fs = require('fs');
|
||||
const nls = require('vscode-nls-dev');
|
||||
const path = require('path');
|
||||
@@ -58,24 +58,6 @@ const languages = [
|
||||
{ id: "pl", folderName: "plk" }
|
||||
];
|
||||
|
||||
/// Misc Tasks
|
||||
const allTypeScript = [
|
||||
'src/**/*.ts',
|
||||
'!**/*.d.ts',
|
||||
'!**/typings**'
|
||||
];
|
||||
|
||||
gulp.task('lint', function () {
|
||||
return gulp.src(allTypeScript)
|
||||
.pipe(eslint({ overrideConfigFile: ".eslintrc.js" }))
|
||||
.pipe(eslint.format())
|
||||
.pipe(eslint.failAfterError());
|
||||
});
|
||||
|
||||
gulp.task('copy-walkthrough-media', function () {
|
||||
return gulp.src('walkthrough/images/**/*')
|
||||
.pipe(gulp.dest('dist/walkthrough/images'));
|
||||
});
|
||||
|
||||
// ****************************
|
||||
// Command: translations-export
|
||||
@@ -462,122 +444,3 @@ const generateJsonSchemaLoc = () => {
|
||||
|
||||
gulp.task('translations-generate', gulp.series(generateSrcLocBundle, generateAdditionalLocFiles, generateHtmlLoc, generateWalkthroughHtmlLoc, generateJsonSchemaLoc));
|
||||
|
||||
// ****************************
|
||||
// Command: generate-native-strings
|
||||
// The following is used to generate nativeStrings.ts and localized_string_ids.h from ./src/nativeStrings.json
|
||||
// If adding localized strings to the native side, start by adding it to nativeStrings.json and use this to generate the others.
|
||||
// ****************************
|
||||
|
||||
// A gulp task to parse ./src/nativeStrings.json and generate nativeStrings.ts, and localized_string_ids.h
|
||||
gulp.task("generate-native-strings", (done) => {
|
||||
const stringTable = jsonc.parse(fs.readFileSync('./src/nativeStrings.json').toString());
|
||||
|
||||
let nativeEnumContent = ""
|
||||
let nativeStringTableContent = "";
|
||||
let typeScriptSwitchContent = "";
|
||||
|
||||
let stringIndex = 1;
|
||||
for (let property in stringTable) {
|
||||
let stringValue = stringTable[property];
|
||||
let hintValue;
|
||||
if (typeof stringValue !== "string") {
|
||||
hintValue = stringValue.hint;
|
||||
stringValue = stringValue.text;
|
||||
}
|
||||
|
||||
// Add to native enum
|
||||
nativeEnumContent += ` ${property} = ${stringIndex},\n`;
|
||||
|
||||
// Add to native string table
|
||||
nativeStringTableContent += ` ${JSON.stringify(stringValue)},\n`;
|
||||
|
||||
// Add to TypeScript switch
|
||||
// Skip empty strings, which can be used to prevent enum/index reordering
|
||||
if (stringValue != "") {
|
||||
// It's possible that a translation may skip "{#}" entries, so check for up to 50 of them.
|
||||
let numArgs = 0;
|
||||
for (let i = 0; i < 50; i++) {
|
||||
if (stringValue.includes(`{${i}}`)) {
|
||||
numArgs = i + 1;
|
||||
}
|
||||
}
|
||||
typeScriptSwitchContent += ` case ${stringIndex}:\n`;
|
||||
if (numArgs != 0) {
|
||||
typeScriptSwitchContent += ` if (stringArgs) {\n`;
|
||||
if (hintValue) {
|
||||
typeScriptSwitchContent += ` message = localize({ key: ${JSON.stringify(property)}, comment: [${JSON.stringify(hintValue)}] }, ${JSON.stringify(stringValue)}`;
|
||||
} else {
|
||||
typeScriptSwitchContent += ` message = localize(${JSON.stringify(property)}, ${JSON.stringify(stringValue)}`;
|
||||
}
|
||||
for (let i = 0; i < numArgs; i++) {
|
||||
typeScriptSwitchContent += `, stringArgs[${i}]`;
|
||||
}
|
||||
typeScriptSwitchContent += `);\n break;\n }\n`;
|
||||
}
|
||||
if (hintValue) {
|
||||
typeScriptSwitchContent += ` message = localize({ key: ${JSON.stringify(property)}, comment: [${JSON.stringify(hintValue)}] }, ${JSON.stringify(stringValue)}`;
|
||||
} else {
|
||||
typeScriptSwitchContent += ` message = localize(${JSON.stringify(property)}, ${JSON.stringify(stringValue)}`;
|
||||
}
|
||||
typeScriptSwitchContent += `);\n break;\n`;
|
||||
}
|
||||
++stringIndex;
|
||||
};
|
||||
|
||||
let typeScriptContent = `/* --------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All Rights Reserved.
|
||||
* See 'LICENSE' in the project root for license information.
|
||||
* ------------------------------------------------------------------------------------------ */
|
||||
|
||||
// ****** This file is generated from nativeStrings.json. Do not edit this file directly. ******
|
||||
|
||||
'use strict';
|
||||
|
||||
import * as nls from 'vscode-nls';
|
||||
|
||||
nls.config({ messageFormat: nls.MessageFormat.bundle, bundleFormat: nls.BundleFormat.standalone })();
|
||||
const localize: nls.LocalizeFunc = nls.loadMessageBundle();
|
||||
|
||||
export const localizedStringCount: number = ${stringIndex};
|
||||
|
||||
export function lookupString(stringId: number, stringArgs?: string[]): string {
|
||||
let message: string = "";
|
||||
switch (stringId) {
|
||||
case 0:
|
||||
// Special case for blank string
|
||||
break;
|
||||
${typeScriptSwitchContent}
|
||||
default:
|
||||
console.assert(\"Unrecognized string ID\");
|
||||
break;
|
||||
}
|
||||
return message;
|
||||
}
|
||||
`;
|
||||
console.log("Writing file: ./src/nativeStrings.ts");
|
||||
fs.writeFileSync("./src/nativeStrings.ts", typeScriptContent, 'utf8');
|
||||
|
||||
let nativeContents = `/* --------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All Rights Reserved.
|
||||
* See 'LICENSE' in the project root for license information.
|
||||
* ------------------------------------------------------------------------------------------ */
|
||||
|
||||
// ****** This file is generated from nativeStrings.json. Do not edit this file directly. ******
|
||||
|
||||
#pragma once
|
||||
// NOLINTBEGIN(modernize-raw-string-literal)
|
||||
enum class localized_string_id : unsigned int
|
||||
{
|
||||
blank = 0,
|
||||
${nativeEnumContent}};
|
||||
|
||||
inline static const char *localizable_strings[] = {
|
||||
"",
|
||||
${nativeStringTableContent}};
|
||||
// NOLINTEND(modernize-raw-string-literal)
|
||||
`;
|
||||
|
||||
console.log("Writing file: localized_string_ids.h -- If changed, copy to VS repo: src/vc/designtime/vscode/Common/generated/");
|
||||
fs.writeFileSync("localized_string_ids.h", nativeContents, 'utf8');
|
||||
done();
|
||||
});
|
||||
|
||||
@@ -247,6 +247,10 @@
|
||||
"c_cpp.configuration.caseSensitiveFileSupport.markdownDescription": "如果设置为 `default`,则假定工作区的文件系统在 Windows 上不区分大小写,在 macOS 或 Linux 上区分大小写。如果设置为 `enabled`,则假定工作区的文件系统在 Windows 上区分大小写。",
|
||||
"c_cpp.configuration.enhancedColorization.markdownDescription": "如果启用,则根据 IntelliSense 对代码进行着色。仅当 `#C_Cpp.intelliSenseEngine#` 设置为 `default` 时,此设置才适用。",
|
||||
"c_cpp.configuration.codeFolding.description": "如果启用,则由语言服务器提供代码折叠范围。",
|
||||
"c_cpp.configuration.markdownInComments.description": "选择 Markdown 是否在悬停工具提示中可用。默认情况下,仅一部分 markdown 将应用于悬停工具提示中的注释。",
|
||||
"c_cpp.configuration.markdownInComments.subsetEnabled.description": "启用悬停工具提示中的所有 Markdown 功能,但包含“_”和“*”字符的功能除外。",
|
||||
"c_cpp.configuration.markdownInComments.enabled.description": "在悬停工具提示中启用所有 Markdown 功能。",
|
||||
"c_cpp.configuration.markdownInComments.disabled.description": "禁用悬停工具提示中的所有 Markdown 功能。",
|
||||
"c_cpp.configuration.hover.description": "如果禁用,则语言服务器不再提供悬停详细信息。",
|
||||
"c_cpp.configuration.vcpkg.enabled.markdownDescription": "为 [vcpkg 依存关系管理器](https://aka.ms/vcpkg/) 启用集成服务。",
|
||||
"c_cpp.configuration.addNodeAddonIncludePaths.markdownDescription": "当来自 `nan` 和 `node-addon-api` 的包含路径为依赖项时,请将其添加。",
|
||||
|
||||
@@ -4,8 +4,6 @@
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
// Do not edit this file. It is machine generated.
|
||||
{
|
||||
"unable.to.start": "无法启动 C/C++ 语言服务器。IntelliSense 功能将被禁用。错误: {0}",
|
||||
"check.permissions": "EPERM: 检查“{0}”的权限",
|
||||
"select.compiler": "选择要为 IntelliSense 配置的编译器",
|
||||
"configure.intelliSense.forFolder": "你希望如何为“{0}”文件夹配置 IntelliSense?",
|
||||
"configure.intelliSense.thisFolder": "你希望如何为此文件夹配置 IntelliSense?",
|
||||
@@ -23,6 +21,8 @@
|
||||
"selectCompiler.string": "选择编译器",
|
||||
"confirmCompiler.string": "是",
|
||||
"selectCompiler.message": "已找到编译器 {0}。是否要使用此编译器配置 IntelliSense?",
|
||||
"check.permissions": "EPERM: 检查“{0}”的权限",
|
||||
"unable.to.start": "无法启动 C/C++ 语言服务器。IntelliSense 功能将被禁用。错误: {0}",
|
||||
"server.crashed.restart": "语言服务器崩溃。正在重新启动...",
|
||||
"server.crashed2": "在过去 3 分钟内,语言服务器崩溃了 5 次。它不会重新启动。",
|
||||
"loggingLevel.changed": "{0} 已更改为: {1}",
|
||||
|
||||
@@ -11,6 +11,5 @@
|
||||
"configuration.select.first": "首先打开一个文件夹以选择配置。",
|
||||
"configuration.provider.select.first": "首先打开一个文件夹以选择配置提供程序。",
|
||||
"edit.configurations.open.first": "首先打开一个文件夹以编辑配置",
|
||||
"code.action.aborted": "无法应用代码分析修复程序,因为文档已更改。",
|
||||
"add.includepath.open.first": "首先打开一个要添加到 {0} 的文件夹"
|
||||
"code.action.aborted": "无法应用代码分析修复程序,因为文档已更改。"
|
||||
}
|
||||
@@ -20,8 +20,6 @@
|
||||
"mode.analysis.prefix": "Code Analysis 模式:",
|
||||
"c.cpp.configureIntelliSenseStatus.text": "配置 IntelliSense",
|
||||
"c.cpp.configureIntelliSenseStatus.cppText": "C/C++ 配置 IntelliSense",
|
||||
"select.command": "选择命令...",
|
||||
"select.code.analysis.command": "选择代码分析命令...",
|
||||
"c.cpp.configuration.tooltip": "C/C++ 配置",
|
||||
"c.cpp.references.statusbar": "C/C++ 引用状态",
|
||||
"cpptools.status.intellisense": "C/C++ IntelliSense 状态",
|
||||
@@ -49,6 +47,8 @@
|
||||
"disable.configuration.provider": "禁用活动配置提供程序(如果适用)。",
|
||||
"select.compile.commands": "选择 compile_commands.json...",
|
||||
"select.workspace": "选择工作区文件夹…",
|
||||
"select.command": "选择命令...",
|
||||
"select.code.analysis.command": "选择代码分析命令...",
|
||||
"resume.parsing": "恢复工作区分析",
|
||||
"pause.parsing": "暂停工作区分析",
|
||||
"cancel.analysis": "取消",
|
||||
|
||||
@@ -247,6 +247,10 @@
|
||||
"c_cpp.configuration.caseSensitiveFileSupport.markdownDescription": "如果設定為 `default`,則工作區的檔案系統會在 Windows 上假設為不區分大小寫,而在 macOS 或 Linux 上區分大小寫。如果設為 `enabled`,則工作區的檔案系統在 Windows 上會假設為區分大小寫。",
|
||||
"c_cpp.configuration.enhancedColorization.markdownDescription": "若啟用,將會依據 IntelliSense 顯示彩色的程式碼。僅當 `#C_Cpp.intelliSenseEngine#` 設為 `default` 時,才適用此設定。",
|
||||
"c_cpp.configuration.codeFolding.description": "若啟用,則由語言伺服器提供程式碼摺疊功能範圍。",
|
||||
"c_cpp.configuration.markdownInComments.description": "選取是否可在暫留工具提示中使用 Markdown。根據預設,只會將 Markdown 子集套用至暫留工具提示中的註解。",
|
||||
"c_cpp.configuration.markdownInComments.subsetEnabled.description": "啟用暫留工具提示中的所有 Markdown 功能,但包含 '_' 和 '*' 字元的功能除外。",
|
||||
"c_cpp.configuration.markdownInComments.enabled.description": "啟用暫留工具提示中的所有 Markdown 功能。",
|
||||
"c_cpp.configuration.markdownInComments.disabled.description": "停用暫留工具提示中的所有 Markdown 功能。",
|
||||
"c_cpp.configuration.hover.description": "如果停用,語言伺服器將不再提供暫留詳細資料。",
|
||||
"c_cpp.configuration.vcpkg.enabled.markdownDescription": "啟用 [vcpkg 相依性管理員](https://aka.ms/vcpkg/) 的整合服務。",
|
||||
"c_cpp.configuration.addNodeAddonIncludePaths.markdownDescription": "當 `nan` 和 `node-addon-api` 為相依性時,從中新增 include 路徑。",
|
||||
|
||||
@@ -4,11 +4,9 @@
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
// Do not edit this file. It is machine generated.
|
||||
{
|
||||
"unable.to.start": "無法啟動 C/C + + 語言伺服器。將停用 IntelliSense 功能。錯誤: {0}",
|
||||
"check.permissions": "EPERM: 檢查 '{0}' 的權限",
|
||||
"select.compiler": "選取要設定 IntelliSense 的編譯器",
|
||||
"configure.intelliSense.forFolder": "想如何為 '{0}' 資料夾設定 IntelliSense。",
|
||||
"configure.intelliSense.thisFolder": "想如何為此資料夾設定 IntelliSense。",
|
||||
"configure.intelliSense.thisFolder": "要如何為此資料夾設定 IntelliSense?",
|
||||
"found.string": "在 {0} 找到",
|
||||
"use.compiler": "使用 {0}",
|
||||
"configuration.providers": "設定提供者",
|
||||
@@ -23,6 +21,8 @@
|
||||
"selectCompiler.string": "選取編譯器",
|
||||
"confirmCompiler.string": "是",
|
||||
"selectCompiler.message": "找到編譯器 {0}。您要使用此編譯器來設定 IntelliSense 嗎?",
|
||||
"check.permissions": "EPERM: 檢查 '{0}' 的權限",
|
||||
"unable.to.start": "無法啟動 C/C + + 語言伺服器。將停用 IntelliSense 功能。錯誤: {0}",
|
||||
"server.crashed.restart": "語言伺服器當機。正在重新啟動...",
|
||||
"server.crashed2": "語言伺服器在過去 3 分鐘內發生 5 次故障。將不會重新啟動。",
|
||||
"loggingLevel.changed": "{0} 已變更為: {1}",
|
||||
|
||||
@@ -11,6 +11,5 @@
|
||||
"configuration.select.first": "先開啟資料夾以選取設定。",
|
||||
"configuration.provider.select.first": "先開啟資料夾以選取設定提供者。",
|
||||
"edit.configurations.open.first": "先開啟資料夾以編輯組態",
|
||||
"code.action.aborted": "無法套用程式碼分析修正,因為文件已變更。",
|
||||
"add.includepath.open.first": "先開啟資料夾以新增至 {0}"
|
||||
"code.action.aborted": "無法套用程式碼分析修正,因為文件已變更。"
|
||||
}
|
||||
@@ -20,8 +20,6 @@
|
||||
"mode.analysis.prefix": "Code Analysis 模式: ",
|
||||
"c.cpp.configureIntelliSenseStatus.text": "設定 IntelliSense",
|
||||
"c.cpp.configureIntelliSenseStatus.cppText": "C/C++ 設定 IntelliSense",
|
||||
"select.command": "選取命令...",
|
||||
"select.code.analysis.command": "選取程式碼分析命令...",
|
||||
"c.cpp.configuration.tooltip": "C/C++ 組態",
|
||||
"c.cpp.references.statusbar": "C/C++ 參考狀態",
|
||||
"cpptools.status.intellisense": "C/C++ IntelliSense 狀態",
|
||||
@@ -49,6 +47,8 @@
|
||||
"disable.configuration.provider": "如果適用,停用現有組態提供者。",
|
||||
"select.compile.commands": "選取 compile_commands.json...",
|
||||
"select.workspace": "選取工作區資料夾...",
|
||||
"select.command": "選取命令...",
|
||||
"select.code.analysis.command": "選取程式碼分析命令...",
|
||||
"resume.parsing": "繼續工作區剖析",
|
||||
"pause.parsing": "暫停工作區剖析",
|
||||
"cancel.analysis": "取消",
|
||||
|
||||
@@ -65,4 +65,4 @@
|
||||
"limit.symbols.checkbox": "若為 {0} (或已選取),標籤剖析器只會剖析 {1} 中原始程式檔直接或間接包含的程式碼檔。若為 {2} (或未選取),標籤剖析器會剖析在 {3} 清單中的指定路徑找到的所有程式碼檔。",
|
||||
"database.filename": "瀏覽: 資料庫檔案名稱",
|
||||
"database.filename.description": "產生符號資料庫路徑。這會指示延伸模組將標籤剖析器的符號資料庫儲存在工作區預設儲存位置以外的某處。如果指定了相對路徑,就會是相對於工作區預設儲存位置 (非工作區資料夾本身) 的路徑。{0} 變數可用於指定相對於工作區資料夾的路徑 (例如 {1})。"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -247,6 +247,10 @@
|
||||
"c_cpp.configuration.caseSensitiveFileSupport.markdownDescription": "Když se nastaví na `default`, předpokládá se, že systém souborů pracovního prostoru ve Windows nerozlišuje velká a malá písmena a v macOS nebo Linuxu rozlišuje malá a velká písmena. Když se tato možnost nastaví na `enabled`, předpokládá se, že systém souborů pracovního prostoru ve Windows rozlišuje velká a malá písmena.",
|
||||
"c_cpp.configuration.enhancedColorization.markdownDescription": "Když se tato možnost povolí, kód se bude obarvovat podle IntelliSense. Toto nastavení se použije jen v případě, že možnost `#C_Cpp.intelliSenseEngine#` je nastavená na `default`.",
|
||||
"c_cpp.configuration.codeFolding.description": "Když se tato možnost povolí, rozsahy sbalování kódu bude poskytovat jazykový server.",
|
||||
"c_cpp.configuration.markdownInComments.description": "Vyberte, jestli bude markdown k dispozici v popisu při najetí myší. Ve výchozím nastavení se u komentářů v popisu přechodu použije jenom podmnožina markdownu.",
|
||||
"c_cpp.configuration.markdownInComments.subsetEnabled.description": "Povolte všechny funkce Markdownu v popisku s výjimkou těch, které obsahují znaky „_“ a „*“.",
|
||||
"c_cpp.configuration.markdownInComments.enabled.description": "Umožňuje povolit všechny funkce Markdownu v popisu při najetí myší.",
|
||||
"c_cpp.configuration.markdownInComments.disabled.description": "Umožňuje zakázat všechny funkce Markdownu v popisu při najetí myší.",
|
||||
"c_cpp.configuration.hover.description": "Pokud je tato možnost zakázaná, podrobnosti o najetí myší už nebude poskytovat jazykový server.",
|
||||
"c_cpp.configuration.vcpkg.enabled.markdownDescription": "Povolte integrační služby pro [správce závislostí vcpkg](https://aka.ms/vcpkg/).",
|
||||
"c_cpp.configuration.addNodeAddonIncludePaths.markdownDescription": "Pokud existují závislosti, přidejte cesty pro zahrnuté soubory z `nan` a `node-addon-api`.",
|
||||
@@ -430,4 +434,4 @@
|
||||
"c_cpp.walkthrough.customize.debugging.linux.description": "Konfiguraci ladění (např. za účelem předání argumentů do vašeho programu za běhu) můžete přizpůsobit výběrem možnosti Přidat konfiguraci ladění napravo od tlačítka Přehrát. Vlastní konfigurace ladění se uloží do souboru launch.json vašeho projektu. \n[Další informace](https://code.visualstudio.com/docs/cpp/config-msvc#_debug-helloworldcpp)",
|
||||
"c_cpp.walkthrough.customize.debugging.windows.description": "Konfiguraci ladění (např. za účelem předání argumentů do vašeho programu za běhu) můžete přizpůsobit výběrem možnosti Přidat konfiguraci ladění napravo od tlačítka Přehrát. Vlastní konfigurace ladění se uloží do souboru launch.json vašeho projektu. \n[Další informace](https://code.visualstudio.com/docs/cpp/config-clang-mac#_debug-helloworldcpp)",
|
||||
"c_cpp.walkthrough.customize.debugging.altText": "Obrázek znázorňující přidání konfigurace ladění v rozevíracím seznamu"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,11 +4,9 @@
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
// Do not edit this file. It is machine generated.
|
||||
{
|
||||
"unable.to.start": "Nepovedlo se spustit jazykový server C/C++. Funkce IntelliSense se zakážou. Chyba: {0}",
|
||||
"check.permissions": "EPERM: Zkontrolujte oprávnění pro {0}.",
|
||||
"select.compiler": "Vyberte kompilátor, který se má nakonfigurovat pro IntelliSense.",
|
||||
"configure.intelliSense.forFolder": "Jak chcete nakonfigurovat IntelliSense pro složku {0}?",
|
||||
"configure.intelliSense.thisFolder": "Jak chcete nakonfigurovat IntelliSense pro tuto složku?",
|
||||
"configure.intelliSense.thisFolder": "Jak chcete pro tuto složku nakonfigurovat IntelliSense?",
|
||||
"found.string": "Nalezeno v: {0}",
|
||||
"use.compiler": "Použít {0}",
|
||||
"configuration.providers": "poskytovatelé konfigurace",
|
||||
@@ -23,6 +21,8 @@
|
||||
"selectCompiler.string": "Vybrat kompilátor",
|
||||
"confirmCompiler.string": "Ano",
|
||||
"selectCompiler.message": "Byl nalezen {0} kompilátoru. Chcete nakonfigurovat IntelliSense s tímto kompilátorem?",
|
||||
"check.permissions": "EPERM: Zkontrolujte oprávnění pro {0}.",
|
||||
"unable.to.start": "Nepovedlo se spustit jazykový server C/C++. Funkce IntelliSense se zakážou. Chyba: {0}",
|
||||
"server.crashed.restart": "Došlo k chybovému ukončení jazykového serveru. Restartuje se…",
|
||||
"server.crashed2": "Jazykový server se 5krát za poslední 3 minuty chybově ukončil. Nebude se restartovat.",
|
||||
"loggingLevel.changed": "{0} se změnila na: {1}",
|
||||
|
||||
@@ -11,6 +11,5 @@
|
||||
"configuration.select.first": "Pokud chcete vybrat konfiguraci, otevřete nejdříve složku.",
|
||||
"configuration.provider.select.first": "Pokud chcete vybrat poskytovatele konfigurace, otevřete nejdříve složku.",
|
||||
"edit.configurations.open.first": "Pokud chcete upravit konfigurace, otevřete nejdříve složku.",
|
||||
"code.action.aborted": "Opravu analýzy kódu nelze použít, protože dokument byl změněn.",
|
||||
"add.includepath.open.first": "Nejdříve otevřete složku, která se má přidat do {0}."
|
||||
"code.action.aborted": "Opravu analýzy kódu nelze použít, protože dokument byl změněn."
|
||||
}
|
||||
@@ -20,8 +20,6 @@
|
||||
"mode.analysis.prefix": "Režim Code Analysis: ",
|
||||
"c.cpp.configureIntelliSenseStatus.text": "Konfigurovat IntelliSense",
|
||||
"c.cpp.configureIntelliSenseStatus.cppText": "Konfigurovat IntelliSense v C/C++",
|
||||
"select.command": "Vyberte příkaz…",
|
||||
"select.code.analysis.command": "Vyberte příkaz pro analýzu kódu…",
|
||||
"c.cpp.configuration.tooltip": "Konfigurace C/C++",
|
||||
"c.cpp.references.statusbar": "Stav odkazů jazyka C/C++",
|
||||
"cpptools.status.intellisense": "C/C++ IntelliSense Status",
|
||||
@@ -49,6 +47,8 @@
|
||||
"disable.configuration.provider": "Zakažte aktivního poskytovatele konfigurací, pokud je to možné.",
|
||||
"select.compile.commands": "Vyberte soubor compile_commands.json...",
|
||||
"select.workspace": "Vyberte složku pracovního prostoru...",
|
||||
"select.command": "Vyberte příkaz…",
|
||||
"select.code.analysis.command": "Vyberte příkaz pro analýzu kódu…",
|
||||
"resume.parsing": "Pokračovat v analýze pracovního prostoru",
|
||||
"pause.parsing": "Pozastavit analýzu pracovního prostoru",
|
||||
"cancel.analysis": "Zrušit",
|
||||
|
||||
@@ -247,6 +247,10 @@
|
||||
"c_cpp.configuration.caseSensitiveFileSupport.markdownDescription": "Wenn diese Einstellung auf `default` festgelegt ist, wird davon ausgegangen, dass für das Dateisystem des Arbeitsbereichs unter Windows die Groß-/Kleinschreibung nicht berücksichtigt und unter macOS oder Linux berücksichtigt wird. Wenn diese Einstellung auf `enabled` festgelegt ist, wird davon ausgegangen, dass für das Dateisystem des Arbeitsbereichs unter Windows die Groß-/Kleinschreibung beachtet wird.",
|
||||
"c_cpp.configuration.enhancedColorization.markdownDescription": "Wenn diese Option aktiviert ist, wird der Code basierend auf IntelliSense eingefärbt. Diese Einstellung gilt nur, wenn `#C_Cpp.intelliSenseEngine#` auf `default` festgelegt ist.",
|
||||
"c_cpp.configuration.codeFolding.description": "Wenn diese Option aktiviert ist, werden Codefaltbereiche vom Sprachserver bereitgestellt.",
|
||||
"c_cpp.configuration.markdownInComments.description": "Wählen Sie aus, ob Markdown in der QuickInfo zum Daraufzeigen verfügbar sein soll. Standardmäßig wird nur eine Teilmenge des Markdowns auf Kommentare in der QuickInfo zum Daraufzeigen angewendet.",
|
||||
"c_cpp.configuration.markdownInComments.subsetEnabled.description": "Aktivieren Sie alle Markdownfeatures in der QuickInfo, mit Ausnahme derjenigen, die die Zeichen \"_\" und \"*\" enthalten.",
|
||||
"c_cpp.configuration.markdownInComments.enabled.description": "Aktivieren Sie alle Markdownfeatures in der QuickInfo zum Daraufzeigen.",
|
||||
"c_cpp.configuration.markdownInComments.disabled.description": "Deaktivieren Sie alle Markdownfeatures in der QuickInfo zum Daraufzeigen.",
|
||||
"c_cpp.configuration.hover.description": "Wenn diese Option deaktiviert ist, werden die Hoverdetails nicht mehr vom Sprachserver bereitgestellt.",
|
||||
"c_cpp.configuration.vcpkg.enabled.markdownDescription": "Hiermit aktivieren Sie Integrationsdienste für den [vcpkg-Abhängigkeitsmanager](https://aka.ms/vcpkg/).",
|
||||
"c_cpp.configuration.addNodeAddonIncludePaths.markdownDescription": "Fügen Sie Includepfade aus `nan` und `node-addon-api` hinzu, wenn es sich um Abhängigkeiten handelt.",
|
||||
@@ -430,4 +434,4 @@
|
||||
"c_cpp.walkthrough.customize.debugging.linux.description": "Sie können Ihre Debugkonfiguration anpassen (z. B. um Argumente zur Laufzeit an Ihr Programm zu übergeben), indem Sie rechts neben der Wiedergabeschaltfläche \"Debugkonfiguration hinzufügen\" auswählen. Die benutzerdefinierte Debugkonfiguration wird in der Datei \"launch.json\" Ihres Projekts gespeichert. \n[Weitere Informationen](https://code.visualstudio.com/docs/cpp/config-msvc#_debug-helloworldcpp)",
|
||||
"c_cpp.walkthrough.customize.debugging.windows.description": "Sie können Ihre Debugkonfiguration anpassen (z. B. um Argumente zur Laufzeit an Ihr Programm zu übergeben), indem Sie rechts neben der Wiedergabeschaltfläche \"Debugkonfiguration hinzufügen\" auswählen. Die benutzerdefinierte Debugkonfiguration wird in der Datei \"launch.json\" Ihres Projekts gespeichert. \n[Weitere Informationen](https://code.visualstudio.com/docs/cpp/config-clang-mac#_debug-helloworldcpp)",
|
||||
"c_cpp.walkthrough.customize.debugging.altText": "Bild, das \"Debugkonfiguration hinzufügen\" in der Dropdownliste anzeigt"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,8 +4,6 @@
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
// Do not edit this file. It is machine generated.
|
||||
{
|
||||
"unable.to.start": "Der C/C++-Sprachserver kann nicht gestartet werden. IntelliSense-Features werden deaktiviert. Fehler: {0}",
|
||||
"check.permissions": "EPERM: Berechtigungen für \"{0}\" überprüfen",
|
||||
"select.compiler": "Wählen Sie einen Compiler aus, der für IntelliSense konfiguriert werden soll.",
|
||||
"configure.intelliSense.forFolder": "Wie möchten Sie IntelliSense für den Ordner \"{0}\" konfigurieren?",
|
||||
"configure.intelliSense.thisFolder": "Wie möchten Sie IntelliSense für diesen Ordner konfigurieren?",
|
||||
@@ -23,6 +21,8 @@
|
||||
"selectCompiler.string": "Compiler auswählen",
|
||||
"confirmCompiler.string": "Ja",
|
||||
"selectCompiler.message": "Der Compiler {0} wurde gefunden. Möchten Sie IntelliSense mit diesem Compiler konfigurieren?",
|
||||
"check.permissions": "EPERM: Berechtigungen für \"{0}\" überprüfen",
|
||||
"unable.to.start": "Der C/C++-Sprachserver kann nicht gestartet werden. IntelliSense-Features werden deaktiviert. Fehler: {0}",
|
||||
"server.crashed.restart": "Der Sprach-Server ist abgestürzt. Neustart wird ausgeführt ...",
|
||||
"server.crashed2": "Der Sprachserver ist in den letzten 3 Minuten 5-mal abgestürzt. Er wird nicht neu gestartet.",
|
||||
"loggingLevel.changed": "{0} wurde geändert in {1}",
|
||||
|
||||
@@ -11,6 +11,5 @@
|
||||
"configuration.select.first": "Öffnen Sie zum Auswählen einer Konfiguration zuerst einen Ordner.",
|
||||
"configuration.provider.select.first": "Öffnen Sie zum Auswählen eines Konfigurationsanbieters zuerst einen Ordner.",
|
||||
"edit.configurations.open.first": "Zum Bearbeiten von Konfigurationen zuerst einen Ordner öffnen",
|
||||
"code.action.aborted": "Der Codeanalysepatch konnte nicht angewendet werden, da sich das Dokument geändert hat.",
|
||||
"add.includepath.open.first": "Zuerst einen Ordner öffnen, der \"{0}\" hinzugefügt werden soll"
|
||||
"code.action.aborted": "Der Codeanalysepatch konnte nicht angewendet werden, da sich das Dokument geändert hat."
|
||||
}
|
||||
@@ -20,8 +20,6 @@
|
||||
"mode.analysis.prefix": "Code Analysis-Modus: ",
|
||||
"c.cpp.configureIntelliSenseStatus.text": "IntelliSense konfigurieren",
|
||||
"c.cpp.configureIntelliSenseStatus.cppText": "IntelliSense in C/C++ konfigurieren",
|
||||
"select.command": "Befehl auswählen...",
|
||||
"select.code.analysis.command": "Codeanalysebefehl auswählen...",
|
||||
"c.cpp.configuration.tooltip": "C/C++-Konfiguration",
|
||||
"c.cpp.references.statusbar": "C/C++-Verweisstatus",
|
||||
"cpptools.status.intellisense": "Status von C/C++-IntelliSense",
|
||||
@@ -49,6 +47,8 @@
|
||||
"disable.configuration.provider": "Deaktivieren Sie den aktiven Konfigurationsanbieter, falls zutreffend.",
|
||||
"select.compile.commands": "compile_commands.json-Datei auswählen...",
|
||||
"select.workspace": "Arbeitsbereichsordner auswählen...",
|
||||
"select.command": "Befehl auswählen...",
|
||||
"select.code.analysis.command": "Codeanalysebefehl auswählen...",
|
||||
"resume.parsing": "Arbeitsbereichsanalyse fortsetzen",
|
||||
"pause.parsing": "Arbeitsbereichsanalyse anhalten",
|
||||
"cancel.analysis": "Abbrechen",
|
||||
|
||||
@@ -18,4 +18,4 @@
|
||||
"reinstall.extension.text7": "A continuación, reinstale mediante la interfaz de usuario de Marketplace en VS Code.",
|
||||
"reinstall.extension.text8": "Si VS Code no puede implementar la versión correcta de la extensión, el VSIX correcto para el sistema se puede {0} e instalar mediante la opción 'Instalar desde VSIX...', en el menú '...' en la interfaz de usuario de Marketplace en VS Code.",
|
||||
"download.vsix.link.title": "descargado del sitio web del Marketplace VS Code"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -247,6 +247,10 @@
|
||||
"c_cpp.configuration.caseSensitiveFileSupport.markdownDescription": "Si se establece en `default`, el sistema de archivos del área de trabajo no distingue mayúsculas de minúsculas en Windows y distingue mayúsculas de minúsculas en macOS o Linux. Si se establece en `enabled`, el sistema de archivos del área de trabajo distingue mayúsculas de minúsculas en Windows.",
|
||||
"c_cpp.configuration.enhancedColorization.markdownDescription": "Si se habilita esta opción, el código se colorea de acuerdo con IntelliSense. Esta configuración solo se aplica si `#C_Cpp.intelliSenseEngine#` se establece en `default`.",
|
||||
"c_cpp.configuration.codeFolding.description": "Si está habilitada, el servidor de lenguaje proporciona intervalos de plegado de código.",
|
||||
"c_cpp.configuration.markdownInComments.description": "Seleccione si Markdown estará disponible en la información sobre herramientas que aparece al mantener el puntero. De manera predeterminada, solo se aplicará un subconjunto de Markdown a los comentarios de la información sobre herramientas que aparece al mantener el puntero.",
|
||||
"c_cpp.configuration.markdownInComments.subsetEnabled.description": "Habilita todas las características de Markdown en la información sobre herramientas que aparece al mantener el puntero, excepto las que incluyen los caracteres \"_\" y \"*\".",
|
||||
"c_cpp.configuration.markdownInComments.enabled.description": "Habilite todas las características de Markdown en la información sobre herramientas que aparece al mantener el puntero.",
|
||||
"c_cpp.configuration.markdownInComments.disabled.description": "Deshabilite todas las características de Markdown en la información sobre herramientas que aparece al mantener el puntero.",
|
||||
"c_cpp.configuration.hover.description": "Si se deshabilita, el servidor de lenguaje ya no proporciona detalles al mantener el puntero.",
|
||||
"c_cpp.configuration.vcpkg.enabled.markdownDescription": "Habilita los servicios de integración para el [administrador de dependencias de vcpkgs](https://aka.ms/vcpkg/).",
|
||||
"c_cpp.configuration.addNodeAddonIncludePaths.markdownDescription": "Agrega rutas de acceso de inclusión de `nan` y `node-addon-api` cuando sean dependencias.",
|
||||
|
||||
@@ -4,11 +4,9 @@
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
// Do not edit this file. It is machine generated.
|
||||
{
|
||||
"unable.to.start": "No se puede iniciar el servidor de lenguaje de C/C++. Las características de IntelliSense se deshabilitarán. Error: {0}",
|
||||
"check.permissions": "EPERM: Compruebe los permisos de \"{0}\"",
|
||||
"select.compiler": "Selecciona un compilador para configurarlo para IntelliSense",
|
||||
"configure.intelliSense.forFolder": "¿Cómo deseas configurar IntelliSense para la carpeta \"{0}\"?",
|
||||
"configure.intelliSense.thisFolder": "¿Cómo deseas configurar IntelliSense para esta carpeta?",
|
||||
"configure.intelliSense.thisFolder": "¿Cómo desea configurar IntelliSense para esta carpeta?",
|
||||
"found.string": "Encontrado en {0}",
|
||||
"use.compiler": "Uso {0}",
|
||||
"configuration.providers": "proveedores de configuración",
|
||||
@@ -23,6 +21,8 @@
|
||||
"selectCompiler.string": "Selecciona un compilador",
|
||||
"confirmCompiler.string": "Sí",
|
||||
"selectCompiler.message": "Se encontró el compilador {0}. ¿Desea configurar IntelliSense con este compilador?",
|
||||
"check.permissions": "EPERM: Compruebe los permisos de \"{0}\"",
|
||||
"unable.to.start": "No se puede iniciar el servidor de lenguaje de C/C++. Las características de IntelliSense se deshabilitarán. Error: {0}",
|
||||
"server.crashed.restart": "El servidor de lenguaje se bloqueó. Se está reiniciando...",
|
||||
"server.crashed2": "El servidor de lenguaje se ha bloqueado cinco veces en los tres últimos minutos. No se reiniciará.",
|
||||
"loggingLevel.changed": "{0} se cambió a: {1}",
|
||||
|
||||
@@ -11,6 +11,5 @@
|
||||
"configuration.select.first": "Abre primero una carpeta para seleccionar una configuración.",
|
||||
"configuration.provider.select.first": "Abre primero una carpeta para seleccionar un proveedor de configuración.",
|
||||
"edit.configurations.open.first": "Abra una carpeta primero para editar las configuraciones",
|
||||
"code.action.aborted": "No se pudo aplicar la corrección de análisis de código porque el documento ha cambiado.",
|
||||
"add.includepath.open.first": "Abra primero una carpeta para agregarla a {0}"
|
||||
"code.action.aborted": "No se pudo aplicar la corrección de análisis de código porque el documento ha cambiado."
|
||||
}
|
||||
@@ -20,8 +20,6 @@
|
||||
"mode.analysis.prefix": "Modo de Code Analysis: ",
|
||||
"c.cpp.configureIntelliSenseStatus.text": "Configurar IntelliSense",
|
||||
"c.cpp.configureIntelliSenseStatus.cppText": "Configuración de IntelliSense en C/C++",
|
||||
"select.command": "Seleccione un comando...",
|
||||
"select.code.analysis.command": "Seleccione un comando de análisis de código...",
|
||||
"c.cpp.configuration.tooltip": "Configuración de C/C++",
|
||||
"c.cpp.references.statusbar": "Estado de referencias de C/C++",
|
||||
"cpptools.status.intellisense": "Estado de IntelliSense de C/C++",
|
||||
@@ -49,6 +47,8 @@
|
||||
"disable.configuration.provider": "Deshabilite el proveedor de configuración activo, si procede.",
|
||||
"select.compile.commands": "Seleccione un archivo compile_commands.json...",
|
||||
"select.workspace": "Seleccione una carpeta del área de trabajo...",
|
||||
"select.command": "Seleccione un comando...",
|
||||
"select.code.analysis.command": "Seleccione un comando de análisis de código...",
|
||||
"resume.parsing": "Reanudar el análisis de área de trabajo",
|
||||
"pause.parsing": "Pausar el análisis de área de trabajo",
|
||||
"cancel.analysis": "Cancelar",
|
||||
|
||||
@@ -18,4 +18,4 @@
|
||||
"reinstall.extension.text7": "Réinstallez ensuite via l’interface utilisateur de la Place de marché dans VS Code.",
|
||||
"reinstall.extension.text8": "Si la version correcte de l’extension ne peut pas être déployée par VS Code, le VSIX approprié pour votre système peut être {0} et installé à l’aide de l’option 'Installer à partir de VSIX...' sous le menu '...' de l’interface utilisateur de la Place de marché dans VS Code.",
|
||||
"download.vsix.link.title": "téléchargé à partir du site web de la place de marché VS Code"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -247,6 +247,10 @@
|
||||
"c_cpp.configuration.caseSensitiveFileSupport.markdownDescription": "Si la valeur est définie sur `default`, le système de fichiers de l’espace de travail est supposé ne pas respecter la casse sur Windows et respecter la casse sur macOS ou Linux. Si la valeur est `enabled`, le système de fichiers de l’espace de travail est supposé respecter la casse sur Windows.",
|
||||
"c_cpp.configuration.enhancedColorization.markdownDescription": "Si cette option est activée, le code est colorisé en fonction d'IntelliSense. Ce paramètre s'applique uniquement si `#C_Cpp.intelliSenseEngine#` est défini sur `default`.",
|
||||
"c_cpp.configuration.codeFolding.description": "Si cette fonctionnalité est activée, les plages de pliage de code sont fournies par le serveur de langage.",
|
||||
"c_cpp.configuration.markdownInComments.description": "Indiquez si Markdown sera disponible dans l’info-bulle de pointage. Par défaut, seul un sous-ensemble de Markdown est appliqué aux commentaires dans l’info-bulle de pointage.",
|
||||
"c_cpp.configuration.markdownInComments.subsetEnabled.description": "Activez toutes les fonctionnalités Markdown dans l’info-bulle de pointage, à l’exception de celles qui incluent les caractères « _ » et « * ».",
|
||||
"c_cpp.configuration.markdownInComments.enabled.description": "Activez toutes les fonctionnalités Markdown dans l’info-bulle de pointage.",
|
||||
"c_cpp.configuration.markdownInComments.disabled.description": "Désactivez toutes les fonctionnalités Markdown dans l’info-bulle de pointage.",
|
||||
"c_cpp.configuration.hover.description": "Si cette option est désactivée, les détails du pointage ne sont plus fournis par le serveur de langage.",
|
||||
"c_cpp.configuration.vcpkg.enabled.markdownDescription": "Activez les services d'intégration pour le [gestionnaire de dépendances vcpkg](https://aka.ms/vcpkg/).",
|
||||
"c_cpp.configuration.addNodeAddonIncludePaths.markdownDescription": "Ajouter les chemins d'inclusion de `nan` et `node-addon-api` quand ils sont des dépendances.",
|
||||
@@ -430,4 +434,4 @@
|
||||
"c_cpp.walkthrough.customize.debugging.linux.description": "Vous pouvez personnaliser votre configuration de débogage (par exemple, pour passer des arguments à votre programme au moment de l’exécution) en sélectionnant « Ajouter une configuration de débogage » à droite du bouton de lecture. La configuration de débogage personnalisée est enregistrée dans le fichier launch.json de votre projet. \n[En savoir plus](https://code.visualstudio.com/docs/cpp/config-msvc#_debug-helloworldcpp)",
|
||||
"c_cpp.walkthrough.customize.debugging.windows.description": "Vous pouvez personnaliser votre configuration de débogage (par exemple, pour passer des arguments à votre programme au moment de l’exécution) en sélectionnant « Ajouter une configuration de débogage » à droite du bouton de lecture. La configuration de débogage personnalisée est enregistrée dans le fichier launch.json de votre projet. \n[En savoir plus](https://code.visualstudio.com/docs/cpp/config-clang-mac#_debug-helloworldcpp)",
|
||||
"c_cpp.walkthrough.customize.debugging.altText": "Image qui montre Ajouter une configuration de débogage dans la liste déroulante"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,11 +4,9 @@
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
// Do not edit this file. It is machine generated.
|
||||
{
|
||||
"unable.to.start": "Impossible de démarrer le serveur de langage C/C++. Les fonctionnalités IntelliSense sont désactivées. Erreur : {0}",
|
||||
"check.permissions": "EPERM : Vérifier les autorisations de '{0}'",
|
||||
"select.compiler": "Sélectionner un compilateur à configurer pour IntelliSense",
|
||||
"configure.intelliSense.forFolder": "Comment voulez-vous configurer IntelliSense pour le dossier «{0}» ?",
|
||||
"configure.intelliSense.thisFolder": "Comment voulez-vous configurer IntelliSense pour ce dossier ?",
|
||||
"configure.intelliSense.thisFolder": "Comment voulez-vous configurer IntelliSense pour ce dossier ?",
|
||||
"found.string": "Trouvé sur {0}",
|
||||
"use.compiler": "Utiliser {0}",
|
||||
"configuration.providers": "fournisseurs de configuration",
|
||||
@@ -23,6 +21,8 @@
|
||||
"selectCompiler.string": "Sélectionner un compilateur",
|
||||
"confirmCompiler.string": "Oui",
|
||||
"selectCompiler.message": "Le compilateur {0} a été trouvé. Voulez-vous configurer IntelliSense avec ce compilateur ?",
|
||||
"check.permissions": "EPERM : Vérifier les autorisations de '{0}'",
|
||||
"unable.to.start": "Impossible de démarrer le serveur de langage C/C++. Les fonctionnalités IntelliSense sont désactivées. Erreur : {0}",
|
||||
"server.crashed.restart": "Le serveur de langue s’est arrêté. Redémarrage...",
|
||||
"server.crashed2": "Le serveur de langage s'est bloqué 5 fois au cours des 3 dernières minutes. Il n'est pas redémarré.",
|
||||
"loggingLevel.changed": "{0} a été changé en : {1}",
|
||||
|
||||
@@ -11,6 +11,5 @@
|
||||
"configuration.select.first": "Commencer par ouvrir un dossier pour sélectionner une configuration",
|
||||
"configuration.provider.select.first": "Commencer par ouvrir un dossier pour sélectionner un fournisseur de configuration",
|
||||
"edit.configurations.open.first": "Commencer par ouvrir un dossier pour modifier des configurations",
|
||||
"code.action.aborted": "Impossible d’appliquer le correctif d’analyse du code, car le document a changé.",
|
||||
"add.includepath.open.first": "Commencer par ouvrir un dossier à ajouter à {0}"
|
||||
"code.action.aborted": "Impossible d’appliquer le correctif d’analyse du code, car le document a changé."
|
||||
}
|
||||
@@ -20,8 +20,6 @@
|
||||
"mode.analysis.prefix": "Mode Code Analysis : ",
|
||||
"c.cpp.configureIntelliSenseStatus.text": "Configurer IntelliSense",
|
||||
"c.cpp.configureIntelliSenseStatus.cppText": "Configuration d’IntelliSense en C/C++",
|
||||
"select.command": "Sélectionner une commande...",
|
||||
"select.code.analysis.command": "Sélectionner une commande d’analyse du code...",
|
||||
"c.cpp.configuration.tooltip": "Configuration C/C++",
|
||||
"c.cpp.references.statusbar": "État des références C/C++",
|
||||
"cpptools.status.intellisense": "État IntelliSense C/C++",
|
||||
@@ -49,6 +47,8 @@
|
||||
"disable.configuration.provider": "Désactivez le fournisseur de configuration actif, le cas échéant.",
|
||||
"select.compile.commands": "Sélectionner un fichier compile_commands.json...",
|
||||
"select.workspace": "Sélectionner un dossier d'espace de travail...",
|
||||
"select.command": "Sélectionner une commande...",
|
||||
"select.code.analysis.command": "Sélectionner une commande d’analyse du code...",
|
||||
"resume.parsing": "Reprendre l’analyse de l’espace de travail",
|
||||
"pause.parsing": "Suspendre l’analyse de l’espace de travail",
|
||||
"cancel.analysis": "Annuler",
|
||||
|
||||
@@ -247,6 +247,10 @@
|
||||
"c_cpp.configuration.caseSensitiveFileSupport.markdownDescription": "Se impostato su `default`, si presuppone che il file system dell'area di lavoro non faccia distinzione tra maiuscole e minuscole in Windows ma faccia distinzione tra maiuscole e minuscole in macOS o Linux. Se impostato su `enabled`, si presuppone che il file system dell'area di lavoro faccia distinzione tra maiuscole e minuscole in Windows.",
|
||||
"c_cpp.configuration.enhancedColorization.markdownDescription": "Se questa opzione è abilitata, il codice viene colorato in base a IntelliSense. Questa impostazione si applica solo se `#C_Cpp.intelliSenseEngine#` è impostato su `default`.",
|
||||
"c_cpp.configuration.codeFolding.description": "Se è abilitata, gli intervalli di riduzione del codice vengono fornite dal server di linguaggio.",
|
||||
"c_cpp.configuration.markdownInComments.description": "Seleziona se markdown sarà disponibile nella descrizione comando al passaggio del mouse. Per impostazione predefinita, solo un subset di markdown verrà applicato ai commenti nella descrizione comando al passaggio del mouse.",
|
||||
"c_cpp.configuration.markdownInComments.subsetEnabled.description": "Abilita tutte le funzionalità markdown nella descrizione comando al passaggio del mouse, ad eccezione di quelle che includono i caratteri '_' e '*'.",
|
||||
"c_cpp.configuration.markdownInComments.enabled.description": "Abilita tutte le funzionalità markdown nella descrizione comando al passaggio del mouse.",
|
||||
"c_cpp.configuration.markdownInComments.disabled.description": "Disabilita tutte le funzionalità markdown nella descrizione comando al passaggio del mouse.",
|
||||
"c_cpp.configuration.hover.description": "Se questa opzione è disabilitata, i dettagli al passaggio del mouse non vengono più forniti dal server di linguaggio.",
|
||||
"c_cpp.configuration.vcpkg.enabled.markdownDescription": "Abilita i servizi di integrazione per l'[utilità di gestione dipendenze di vcpkg](https://aka.ms/vcpkg/).",
|
||||
"c_cpp.configuration.addNodeAddonIncludePaths.markdownDescription": "Aggiungere percorsi di inclusione da `nan` e `node-addon-api` quando sono dipendenze.",
|
||||
@@ -430,4 +434,4 @@
|
||||
"c_cpp.walkthrough.customize.debugging.linux.description": "È possibile personalizzare la configurazione di debug, ad esempio per passare argomenti al programma in fase di esecuzione, selezionando \"Aggiungi configurazione di debug\" a destra del pulsante Riproduci. La configurazione di debug personalizzata viene salvata nel file launch.json del progetto. \n[Altre informazioni](https://code.visualstudio.com/docs/cpp/config-msvc#_debug-helloworldcpp)",
|
||||
"c_cpp.walkthrough.customize.debugging.windows.description": "È possibile personalizzare la configurazione di debug, ad esempio per passare argomenti al programma in fase di esecuzione, selezionando \"Aggiungi configurazione di debug\" a destra del pulsante Riproduci. La configurazione di debug personalizzata viene salvata nel file launch.json del progetto. \n[Altre informazioni](https://code.visualstudio.com/docs/cpp/config-clang-mac#_debug-helloworldcpp)",
|
||||
"c_cpp.walkthrough.customize.debugging.altText": "Immagine che mostra l'aggiunta della configurazione di debug nell'elenco a discesa"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,11 +4,9 @@
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
// Do not edit this file. It is machine generated.
|
||||
{
|
||||
"unable.to.start": "Non è possibile avviare il server di linguaggio C/C++. Le funzionalità IntelliSense verranno disabilitate. Errore: {0}",
|
||||
"check.permissions": "EPERM: verificare le autorizzazioni per '{0}'",
|
||||
"select.compiler": "Seleziona un compilatore da configurare per IntelliSense",
|
||||
"configure.intelliSense.forFolder": "Come si desidera configurare IntelliSense per la cartella '{0}'?",
|
||||
"configure.intelliSense.thisFolder": "Come si desidera configurare IntelliSense per questa cartella?",
|
||||
"configure.intelliSense.thisFolder": "Come desideri configurare IntelliSense per questa cartella?",
|
||||
"found.string": "Trovato in {0}",
|
||||
"use.compiler": "Usa {0}",
|
||||
"configuration.providers": "Provider di configurazione",
|
||||
@@ -23,6 +21,8 @@
|
||||
"selectCompiler.string": "Seleziona compilatore",
|
||||
"confirmCompiler.string": "Sì",
|
||||
"selectCompiler.message": "È stato trovato il {0} del compilatore. Configurare IntelliSense con questo compilatore?",
|
||||
"check.permissions": "EPERM: verificare le autorizzazioni per '{0}'",
|
||||
"unable.to.start": "Non è possibile avviare il server di linguaggio C/C++. Le funzionalità IntelliSense verranno disabilitate. Errore: {0}",
|
||||
"server.crashed.restart": "Si è verificato un arresto anomalo del server di linguaggio. Riavvio...",
|
||||
"server.crashed2": "Si sono verificati cinque arresti anomali del server di linguaggio negli ultimi tre minuti. Non verrà riavviato.",
|
||||
"loggingLevel.changed": "{0} è stato modificato in: {1}",
|
||||
|
||||
@@ -11,6 +11,5 @@
|
||||
"configuration.select.first": "Apri prima una cartella per selezionare una configurazione.",
|
||||
"configuration.provider.select.first": "Apri prima una cartella per selezionare un provider di configurazione.",
|
||||
"edit.configurations.open.first": "Aprire prima una cartella per modificare le configurazioni",
|
||||
"code.action.aborted": "Impossibile applicare la correzione di Code Analysis perché il documento è stato modificato.",
|
||||
"add.includepath.open.first": "Aprire prima una cartella da aggiungere a {0}"
|
||||
"code.action.aborted": "Impossibile applicare la correzione di Code Analysis perché il documento è stato modificato."
|
||||
}
|
||||
@@ -20,8 +20,6 @@
|
||||
"mode.analysis.prefix": "Modalità Code Analysis: ",
|
||||
"c.cpp.configureIntelliSenseStatus.text": "Configura IntelliSense",
|
||||
"c.cpp.configureIntelliSenseStatus.cppText": "C/C++ - Configura IntelliSense",
|
||||
"select.command": "Seleziona un comando...",
|
||||
"select.code.analysis.command": "Selezionare un comando di Code Analysis...",
|
||||
"c.cpp.configuration.tooltip": "Configurazione C/C++",
|
||||
"c.cpp.references.statusbar": "Stato riferimenti C/C++",
|
||||
"cpptools.status.intellisense": "Stato IntelliSense C/C++",
|
||||
@@ -49,6 +47,8 @@
|
||||
"disable.configuration.provider": "Disabilita il provider di configurazione attivo, se applicabile.",
|
||||
"select.compile.commands": "Seleziona un file compile_commands.json...",
|
||||
"select.workspace": "Seleziona una cartella dell'area di lavoro...",
|
||||
"select.command": "Seleziona un comando...",
|
||||
"select.code.analysis.command": "Selezionare un comando di Code Analysis...",
|
||||
"resume.parsing": "Riprendi analisi area di lavoro",
|
||||
"pause.parsing": "Sospendi analisi area di lavoro",
|
||||
"cancel.analysis": "Annulla",
|
||||
|
||||
@@ -247,6 +247,10 @@
|
||||
"c_cpp.configuration.caseSensitiveFileSupport.markdownDescription": "`default` に設定すると、ワークスペースのファイル システムは Windows では大文字と小文字を区別せず、macOS または Linux では大文字と小文字を区別すると見なされます。`enabled` に設定すると、ワークスペースのファイル システムは Windows で大文字と小文字を区別すると見なされます。",
|
||||
"c_cpp.configuration.enhancedColorization.markdownDescription": "有効にすると、IntelliSense に基づいてコードが色分けされます。この設定は、 `#C_Cpp.intelliSenseEngine#` が `default` に設定されている場合にのみ適用されます。",
|
||||
"c_cpp.configuration.codeFolding.description": "有効にした場合、コードの折りたたみの範囲は言語サーバーによって指定されます。",
|
||||
"c_cpp.configuration.markdownInComments.description": "ホバー ツールヒントでマークダウンを使用可能にするかどうかを選択します。既定では、ホバー ツールヒントのコメントにはマークダウン機能の一部のみが適用されます。",
|
||||
"c_cpp.configuration.markdownInComments.subsetEnabled.description": "ホバー ツールヒントのすべてのマークダウン機能を有効にします ('_' 文字と '*' 文字が含まれるものを除く)。",
|
||||
"c_cpp.configuration.markdownInComments.enabled.description": "ホバー ツールヒントですべてのマークダウン機能を有効にします。",
|
||||
"c_cpp.configuration.markdownInComments.disabled.description": "ホバー ツールヒントのすべてのマークダウン機能を無効にします。",
|
||||
"c_cpp.configuration.hover.description": "無効にすると、ホバーの詳細が言語サーバーから提供されなくなります。",
|
||||
"c_cpp.configuration.vcpkg.enabled.markdownDescription": "[vcpkg 依存関係マネージャー](https://aka.ms/vcpkg/) の統合サービスを有効にします。",
|
||||
"c_cpp.configuration.addNodeAddonIncludePaths.markdownDescription": "依存関係である場合は、`nan` および `node-addon-api` のインクルード パスを追加してください。",
|
||||
|
||||
@@ -4,8 +4,6 @@
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
// Do not edit this file. It is machine generated.
|
||||
{
|
||||
"unable.to.start": "C/C++ 言語サーバーを起動できません。IntelliSense 機能は無効になります。エラー: {0}",
|
||||
"check.permissions": "EPERM: '{0}' のアクセス許可を確認してください",
|
||||
"select.compiler": "IntelliSense 用に構成するコンパイラを選択する",
|
||||
"configure.intelliSense.forFolder": "'{0}' フォルダーの IntelliSense をどのように構成しますか?",
|
||||
"configure.intelliSense.thisFolder": "このフォルダーの IntelliSense をどのように構成しますか?",
|
||||
@@ -23,6 +21,8 @@
|
||||
"selectCompiler.string": "コンパイラを選択する",
|
||||
"confirmCompiler.string": "はい",
|
||||
"selectCompiler.message": "コンパイラ {0} が見つかりました。このコンパイラで IntelliSense を構成しますか?",
|
||||
"check.permissions": "EPERM: '{0}' のアクセス許可を確認してください",
|
||||
"unable.to.start": "C/C++ 言語サーバーを起動できません。IntelliSense 機能は無効になります。エラー: {0}",
|
||||
"server.crashed.restart": "言語サーバーがクラッシュしました。再起動しています...",
|
||||
"server.crashed2": "言語サーバーが過去 3 分間に 5 回クラッシュしました。再起動されません。",
|
||||
"loggingLevel.changed": "{0} が次に変更されました: {1}",
|
||||
|
||||
@@ -11,6 +11,5 @@
|
||||
"configuration.select.first": "構成を選択するには、まずフォルダーを開いてください。",
|
||||
"configuration.provider.select.first": "構成プロバイダーを選択するには、まずフォルダーを開いてください。",
|
||||
"edit.configurations.open.first": "構成を編集するには、まずフォルダーを開いてください",
|
||||
"code.action.aborted": "ドキュメントが変更されたため、コード分析修正プログラムを適用できませんでした。",
|
||||
"add.includepath.open.first": "{0} に追加するには、まずフォルダーを開いてください"
|
||||
"code.action.aborted": "ドキュメントが変更されたため、コード分析修正プログラムを適用できませんでした。"
|
||||
}
|
||||
@@ -20,8 +20,6 @@
|
||||
"mode.analysis.prefix": "Code Analysis モード: ",
|
||||
"c.cpp.configureIntelliSenseStatus.text": "IntelliSense の構成",
|
||||
"c.cpp.configureIntelliSenseStatus.cppText": "C/C++ IntelliSense の構成",
|
||||
"select.command": "コマンドを選択する...",
|
||||
"select.code.analysis.command": "コード分析コマンドを選択...",
|
||||
"c.cpp.configuration.tooltip": "C/C++ 構成",
|
||||
"c.cpp.references.statusbar": "C/C + + リファレンスの状態",
|
||||
"cpptools.status.intellisense": "C/c + + IntelliSense の状態",
|
||||
@@ -49,6 +47,8 @@
|
||||
"disable.configuration.provider": "該当する場合は、アクティブな構成プロバイダーを無効にします。",
|
||||
"select.compile.commands": "compile_commands.json を選択してください...",
|
||||
"select.workspace": "ワークスペース フォルダーを選択します...",
|
||||
"select.command": "コマンドを選択する...",
|
||||
"select.code.analysis.command": "コード分析コマンドを選択...",
|
||||
"resume.parsing": "ワークスペースの解析の再開",
|
||||
"pause.parsing": "ワークスペースの解析の一時停止",
|
||||
"cancel.analysis": "キャンセル",
|
||||
|
||||
@@ -247,6 +247,10 @@
|
||||
"c_cpp.configuration.caseSensitiveFileSupport.markdownDescription": "`default`로 설정하면 작업 공간의 파일 시스템이 Windows에서는 대소문자를 구분하지 않고 macOS 또는 Linux에서는 대소문자를 구분하는 것으로 간주됩니다. `enabled`로 설정하면 작업 영역의 파일 시스템이 Windows에서 대소문자를 구분하는 것으로 간주됩니다.",
|
||||
"c_cpp.configuration.enhancedColorization.markdownDescription": "사용하도록 설정된 경우 IntelliSense를 기반으로 코드 색이 지정됩니다. `#C_Cpp.intelliSenseEngine#`이 `default`로 설정된 경우에만 이 설정이 적용됩니다.",
|
||||
"c_cpp.configuration.codeFolding.description": "사용하도록 설정하면 언어 서버에서 코드 접기 범위를 제공합니다.",
|
||||
"c_cpp.configuration.markdownInComments.description": "가리키기 도구 설명에서 Markdown을 사용할 수 있는지 여부를 선택합니다. 기본값으로, Markdown의 하위 집합만 가리키기 도구 설명의 주석에 적용됩니다.",
|
||||
"c_cpp.configuration.markdownInComments.subsetEnabled.description": "가리키기 도구 설명에서 '_' 및 '*' 문자를 포함하는 기능을 제외한 모든 Markdown 기능을 활성화합니다.",
|
||||
"c_cpp.configuration.markdownInComments.enabled.description": "가리키기 도구 설명에서 모든 Markdown 기능을 활성화합니다.",
|
||||
"c_cpp.configuration.markdownInComments.disabled.description": "가리키기 도구 설명에서 모든 Markdown 기능을 비활성화합니다.",
|
||||
"c_cpp.configuration.hover.description": "사용하지 않도록 설정하면 언어 서버에서 마우스로 가리키기 세부 정보를 더 이상 제공하지 않습니다.",
|
||||
"c_cpp.configuration.vcpkg.enabled.markdownDescription": "[vcpkg 종속성 관리자](https://aka.ms/vcpkg/)에 대해 통합 서비스를 사용하도록 설정합니다.",
|
||||
"c_cpp.configuration.addNodeAddonIncludePaths.markdownDescription": "`nan` 및 `node-addon-api`가 종속성일 때 해당 포함 경로를 추가합니다.",
|
||||
|
||||
@@ -4,11 +4,9 @@
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
// Do not edit this file. It is machine generated.
|
||||
{
|
||||
"unable.to.start": "C/C++ 언어 서버를 시작할 수 없습니다. IntelliSense 기능을 사용할 수 없습니다. 오류: {0}",
|
||||
"check.permissions": "EPERM: '{0}'에 대한 사용 권한 확인",
|
||||
"select.compiler": "IntelliSense에 구성할 컴파일러 선택",
|
||||
"configure.intelliSense.forFolder": "'{0}' 폴더에 대해 IntelliSense를 어떻게 구성하시겠습니까?",
|
||||
"configure.intelliSense.thisFolder": "IntelliSense 이 폴더를 어떻게 구성하시겠습니까?",
|
||||
"configure.intelliSense.thisFolder": "이 폴더에 IntelliSense를 어떻게 구성하려고 하나요?",
|
||||
"found.string": "{0}에서 찾음",
|
||||
"use.compiler": "{0} 사용",
|
||||
"configuration.providers": "구성 공급자",
|
||||
@@ -23,6 +21,8 @@
|
||||
"selectCompiler.string": "컴파일러 선택",
|
||||
"confirmCompiler.string": "예",
|
||||
"selectCompiler.message": "{0} 컴파일러를 발견했습니다. 이 컴파일러를 사용하여 IntelliSense를 구성할까요?",
|
||||
"check.permissions": "EPERM: '{0}'에 대한 사용 권한 확인",
|
||||
"unable.to.start": "C/C++ 언어 서버를 시작할 수 없습니다. IntelliSense 기능을 사용할 수 없습니다. 오류: {0}",
|
||||
"server.crashed.restart": "언어 서버가 중단되었습니다. 다시 시작하는 중입니다...",
|
||||
"server.crashed2": "지난 3분 동안 언어 서버에서 크래시가 5회 발생했습니다. 다시 시작되지 않습니다.",
|
||||
"loggingLevel.changed": "{0}이(가) {1}(으)로 변경되었습니다.",
|
||||
|
||||
@@ -11,6 +11,5 @@
|
||||
"configuration.select.first": "먼저 구성을 선택할 폴더를 엽니다.",
|
||||
"configuration.provider.select.first": "먼저 구성 공급자를 선택할 폴더를 엽니다.",
|
||||
"edit.configurations.open.first": "먼저 구성을 편집할 폴더 열기",
|
||||
"code.action.aborted": "문서가 변경되어 코드 분석 수정 사항을 적용할 수 없습니다.",
|
||||
"add.includepath.open.first": "먼저 {0}에 추가할 폴더 열기"
|
||||
"code.action.aborted": "문서가 변경되어 코드 분석 수정 사항을 적용할 수 없습니다."
|
||||
}
|
||||
@@ -20,8 +20,6 @@
|
||||
"mode.analysis.prefix": "Code Analysis 모드: ",
|
||||
"c.cpp.configureIntelliSenseStatus.text": "IntelliSense 구성",
|
||||
"c.cpp.configureIntelliSenseStatus.cppText": "C/C++ IntelliSense 구성",
|
||||
"select.command": "명령 선택...",
|
||||
"select.code.analysis.command": "코드 분석 명령 선택...",
|
||||
"c.cpp.configuration.tooltip": "C/C++ 구성",
|
||||
"c.cpp.references.statusbar": "C/C++ 참조 상태",
|
||||
"cpptools.status.intellisense": "C/C++ IntelliSense 상태",
|
||||
@@ -49,6 +47,8 @@
|
||||
"disable.configuration.provider": "해당하는 경우 활성 구성 공급자를 사용하지 않도록 설정합니다.",
|
||||
"select.compile.commands": "compile_commands.json 선택...",
|
||||
"select.workspace": "작업 영역 폴더 선택...",
|
||||
"select.command": "명령 선택...",
|
||||
"select.code.analysis.command": "코드 분석 명령 선택...",
|
||||
"resume.parsing": "작업 영역 구문 분석 다시 시작",
|
||||
"pause.parsing": "작업 영역 구문 분석 일시 중지",
|
||||
"cancel.analysis": "취소",
|
||||
|
||||
@@ -247,6 +247,10 @@
|
||||
"c_cpp.configuration.caseSensitiveFileSupport.markdownDescription": "W przypadku ustawienia wartości `default` przyjmuje się, że system plików obszaru roboczego w systemie Windows nie uwzględnia wielkości liter, a w systemie macOS lub Linux wielkość liter jest uwzględniana. W przypadku ustawienia wartości `enabled` przyjmuje się, że system plików obszaru roboczego uwzględnia wielkość liter w systemie Windows.",
|
||||
"c_cpp.configuration.enhancedColorization.markdownDescription": "Jeśli ta opcja jest włączona, kod jest kolorowany na podstawie funkcji IntelliSense. To ustawienie ma zastosowanie tylko wtedy, gdy właściwość `#C_Cpp.intelliSenseEngine#` ma wartość `default`.",
|
||||
"c_cpp.configuration.codeFolding.description": "Jeśli ta opcja jest włączona, zakresy składania kodu są dostarczane przez serwer języka.",
|
||||
"c_cpp.configuration.markdownInComments.description": "Wybierz, czy język Markdown będzie dostępny w etykietce narzędzia aktywowania. Domyślnie tylko podzbiór języka Markdown będzie stosowany do komentarzy w etykietce narzędzia aktywowania.",
|
||||
"c_cpp.configuration.markdownInComments.subsetEnabled.description": "Włącz wszystkie funkcje języka Markdown w etykietce narzędzia aktywowania z wyjątkiem tych, które zawierają znaki „_” i „*”.",
|
||||
"c_cpp.configuration.markdownInComments.enabled.description": "Włącz wszystkie funkcje języka Markdown w etykietce narzędzia aktywowania.",
|
||||
"c_cpp.configuration.markdownInComments.disabled.description": "Wyłącz wszystkie funkcje języka Markdown w etykietce narzędzia aktywowania.",
|
||||
"c_cpp.configuration.hover.description": "W przypadku wyłączenia szczegóły dotyczące umieszczania wskaźnika myszy nie będą już udostępniane przez serwer języka.",
|
||||
"c_cpp.configuration.vcpkg.enabled.markdownDescription": "Włącz usługi integracji dla elementu [vcpkg dependency manager](https://aka.ms/vcpkg/).",
|
||||
"c_cpp.configuration.addNodeAddonIncludePaths.markdownDescription": "Dodaj ścieżki dołączania z plików `nan` i `node-addon-api`, jeśli są one zależnościami.",
|
||||
@@ -430,4 +434,4 @@
|
||||
"c_cpp.walkthrough.customize.debugging.linux.description": "Możesz dostosować konfigurację debugowania (np. aby przekazywać argumenty do programu w czasie uruchamiania), wybierając pozycję „Dodaj konfigurację debugowania” po prawej stronie przycisku odtwarzania. Niestandardowa konfiguracja debugowania jest zapisywana w pliku projektu launch.json. \n[Dowiedz się więcej](https://code.visualstudio.com/docs/cpp/config-msvc#_debug-helloworldcpp)",
|
||||
"c_cpp.walkthrough.customize.debugging.windows.description": "Możesz dostosować konfigurację debugowania (np. aby przekazywać argumenty do programu w czasie uruchamiania), wybierając pozycję „Dodaj konfigurację debugowania” po prawej stronie przycisku odtwarzania. Niestandardowa konfiguracja debugowania jest zapisywana w pliku projektu launch.json. \n[Dowiedz się więcej](https://code.visualstudio.com/docs/cpp/config-clang-mac#_debug-helloworldcpp)",
|
||||
"c_cpp.walkthrough.customize.debugging.altText": "Obraz przedstawiający pozycję „Dodaj konfigurację debugowania” na liście rozwijanej"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,8 +4,6 @@
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
// Do not edit this file. It is machine generated.
|
||||
{
|
||||
"unable.to.start": "Nie można uruchomić serwera języka C/C++. Funkcje IntelliSense zostaną wyłączone. Błąd: {0}",
|
||||
"check.permissions": "EPERM: sprawdź uprawnienia dla elementu „{0}”",
|
||||
"select.compiler": "Wybierz kompilator do skonfigurowania dla funkcji IntelliSense",
|
||||
"configure.intelliSense.forFolder": "Jak chcesz skonfigurować funkcję IntelliSense dla folderu „{0}”?",
|
||||
"configure.intelliSense.thisFolder": "Jak chcesz skonfigurować funkcję IntelliSense dla tego folderu?",
|
||||
@@ -23,6 +21,8 @@
|
||||
"selectCompiler.string": "Wybierz kompilator",
|
||||
"confirmCompiler.string": "Tak",
|
||||
"selectCompiler.message": "Znaleziono kompilator {0}. Czy chcesz skonfigurować funkcję IntelliSense za pomocą tego kompilatora?",
|
||||
"check.permissions": "EPERM: sprawdź uprawnienia dla elementu „{0}”",
|
||||
"unable.to.start": "Nie można uruchomić serwera języka C/C++. Funkcje IntelliSense zostaną wyłączone. Błąd: {0}",
|
||||
"server.crashed.restart": "Wystąpiła awaria serwera języka. Trwa ponowne uruchamianie...",
|
||||
"server.crashed2": "W ciągu ostatnich 3 minut awaria serwera języka wystąpiła 5 razy. Nie zostanie on ponownie uruchomiony.",
|
||||
"loggingLevel.changed": "Poziom {0} zmienił się na: {1}",
|
||||
|
||||
@@ -11,6 +11,5 @@
|
||||
"configuration.select.first": "Najpierw otwórz folder, aby wybrać konfigurację.",
|
||||
"configuration.provider.select.first": "Najpierw otwórz folder, aby wybrać dostawcę konfiguracji.",
|
||||
"edit.configurations.open.first": "Otwórz najpierw folder, aby edytować konfiguracje",
|
||||
"code.action.aborted": "Nie można rozwiązać problemu z analizą kodu, ponieważ dokument został zmieniony.",
|
||||
"add.includepath.open.first": "Otwórz najpierw folder, aby dodać go do {0}"
|
||||
"code.action.aborted": "Nie można rozwiązać problemu z analizą kodu, ponieważ dokument został zmieniony."
|
||||
}
|
||||
@@ -20,8 +20,6 @@
|
||||
"mode.analysis.prefix": "Tryb analizy kodu: ",
|
||||
"c.cpp.configureIntelliSenseStatus.text": "Konfigurowanie funkcji IntelliSense",
|
||||
"c.cpp.configureIntelliSenseStatus.cppText": "Konfigurowanie funkcji IntelliSense (C/C++)",
|
||||
"select.command": "Wybierz polecenie...",
|
||||
"select.code.analysis.command": "Wybierz polecenie analizy kodu...",
|
||||
"c.cpp.configuration.tooltip": "Konfiguracja języka C/C++",
|
||||
"c.cpp.references.statusbar": "Stan odwołań języka C/C++",
|
||||
"cpptools.status.intellisense": "Stan funkcji IntelliSense języka C/C++",
|
||||
@@ -49,6 +47,8 @@
|
||||
"disable.configuration.provider": "Wyłącz aktywnego dostawcę konfiguracji, jeśli ma zastosowanie.",
|
||||
"select.compile.commands": "Wybierz plik compile_commands.json...",
|
||||
"select.workspace": "Wybierz folder obszaru roboczego...",
|
||||
"select.command": "Wybierz polecenie...",
|
||||
"select.code.analysis.command": "Wybierz polecenie analizy kodu...",
|
||||
"resume.parsing": "Wznów analizowanie obszaru roboczego",
|
||||
"pause.parsing": "Wstrzymaj analizowanie obszaru roboczego",
|
||||
"cancel.analysis": "Anuluj",
|
||||
|
||||
@@ -247,6 +247,10 @@
|
||||
"c_cpp.configuration.caseSensitiveFileSupport.markdownDescription": "Se definido como `default`, o sistema de arquivos do workspace não diferencia maiúsculas de minúsculas no Windows e diferencia maiúsculas de minúsculas no macOS ou Linux. Se definido como `enabled`, o sistema de arquivos do workspace é considerado sensível a maiúsculas e minúsculas no Windows.",
|
||||
"c_cpp.configuration.enhancedColorization.markdownDescription": "Se habilitado, o código é colorido com base no IntelliSense. Esta configuração só se aplica se `#C_Cpp.intelliSenseEngine#` estiver definido como `default`.",
|
||||
"c_cpp.configuration.codeFolding.description": "Se habilitado, os intervalos de dobramento de código serão fornecidos pelo servidor de idiomas.",
|
||||
"c_cpp.configuration.markdownInComments.description": "Selecione se a remarcação estará disponível na dica de ferramenta instantânea. Por padrão, apenas um subconjunto de marcação será aplicado aos comentários na dica de ferramenta instantânea.",
|
||||
"c_cpp.configuration.markdownInComments.subsetEnabled.description": "Habilite todos os recursos de marcação na dica de ferramenta instantânea, exceto aqueles que incluem os caracteres '_' e '*'.",
|
||||
"c_cpp.configuration.markdownInComments.enabled.description": "Habilite todos os recursos de marcação na dica de ferramenta de foco.",
|
||||
"c_cpp.configuration.markdownInComments.disabled.description": "Desabilite todos os recursos de marcação na dica de ferramenta de foco.",
|
||||
"c_cpp.configuration.hover.description": "Se desabilitado, os detalhes do hover não são mais fornecidos pelo servidor de idiomas.",
|
||||
"c_cpp.configuration.vcpkg.enabled.markdownDescription": "Habilitar os serviços de integração para o [gerenciador de dependências vcpkg](https://aka.ms/vcpkg/).",
|
||||
"c_cpp.configuration.addNodeAddonIncludePaths.markdownDescription": "Adicione caminhos de inclusão de `nan` e `node-addon-api` quando forem dependências.",
|
||||
@@ -430,4 +434,4 @@
|
||||
"c_cpp.walkthrough.customize.debugging.linux.description": "Você pode personalizar sua configuração de depuração (por exemplo, para passar argumentos para seu programa em tempo de execução) selecionando \"Adicionar Configuração de Depuração\" à direita do botão de reprodução. A configuração de depuração personalizada é salva no arquivo launch.json do seu projeto.\n[Saiba mais](https://code.visualstudio.com/docs/cpp/config-msvc#_debug-helloworldcpp)",
|
||||
"c_cpp.walkthrough.customize.debugging.windows.description": "Você pode personalizar sua configuração de depuração (por exemplo, para passar argumentos para seu programa em tempo de execução) selecionando \"Adicionar Configuração de Depuração\" à direita do botão de reprodução. A configuração de depuração personalizada é salva no arquivo launch.json do seu projeto.\n[Saiba mais](https://code.visualstudio.com/docs/cpp/config-clang-mac#_debug-helloworldcpp)",
|
||||
"c_cpp.walkthrough.customize.debugging.altText": "Imagem que mostra Adicionar configuração de depuração no menu suspenso"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,11 +4,9 @@
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
// Do not edit this file. It is machine generated.
|
||||
{
|
||||
"unable.to.start": "Não é possível iniciar o servidor de linguagem C/C++. Os recursos do IntelliSense serão desabilitados. Erro: {0}",
|
||||
"check.permissions": "EPERM: verifique as permissões para '{0}'",
|
||||
"select.compiler": "Selecionar um compilador a ser configurado para o IntelliSense",
|
||||
"configure.intelliSense.forFolder": "Como você deseja configurar o IntelliSense para a pasta \"{0}\"?",
|
||||
"configure.intelliSense.thisFolder": "Como você deseja configurar o IntelliSense para esta pasta?",
|
||||
"configure.intelliSense.thisFolder": "Como você gostaria de configurar o IntelliSense para esta pasta?",
|
||||
"found.string": "Encontrado em {0}",
|
||||
"use.compiler": "Usar {0}",
|
||||
"configuration.providers": "provedores de configuração",
|
||||
@@ -23,6 +21,8 @@
|
||||
"selectCompiler.string": "Selecionar Compilador",
|
||||
"confirmCompiler.string": "Sim",
|
||||
"selectCompiler.message": "O compilador {0} foi encontrado. Deseja configurar o IntelliSense com este compilador?",
|
||||
"check.permissions": "EPERM: verifique as permissões para '{0}'",
|
||||
"unable.to.start": "Não é possível iniciar o servidor de linguagem C/C++. Os recursos do IntelliSense serão desabilitados. Erro: {0}",
|
||||
"server.crashed.restart": "O servidor de idiomas travou. Reiniciando...",
|
||||
"server.crashed2": "O servidor de idioma falhou cinco vezes nos últimos três minutos. Ele não será reiniciado.",
|
||||
"loggingLevel.changed": "{0} foi alterado para: {1}",
|
||||
|
||||
@@ -11,6 +11,5 @@
|
||||
"configuration.select.first": "Primeiro, abra uma pasta para selecionar uma configuração.",
|
||||
"configuration.provider.select.first": "Primeiro, abra uma pasta para selecionar um provedor de configuração.",
|
||||
"edit.configurations.open.first": "Abrir uma pasta primeiro para editar as configurações",
|
||||
"code.action.aborted": "Não foi possível aplicar a correção de análise de código porque o documento foi alterado.",
|
||||
"add.includepath.open.first": "Abrir uma pasta primeiro para adicionar a {0}"
|
||||
"code.action.aborted": "Não foi possível aplicar a correção de análise de código porque o documento foi alterado."
|
||||
}
|
||||
@@ -20,8 +20,6 @@
|
||||
"mode.analysis.prefix": "Modo do Code Analysis: ",
|
||||
"c.cpp.configureIntelliSenseStatus.text": "Configurar o IntelliSense",
|
||||
"c.cpp.configureIntelliSenseStatus.cppText": "C/C++ Configurar IntelliSense",
|
||||
"select.command": "Selecionar um comando...",
|
||||
"select.code.analysis.command": "Selecione um comando de análise de código...",
|
||||
"c.cpp.configuration.tooltip": "Configuração de C/C++",
|
||||
"c.cpp.references.statusbar": "Status de Referências do C/C++",
|
||||
"cpptools.status.intellisense": "Status do IntelliSense do C/C++",
|
||||
@@ -49,6 +47,8 @@
|
||||
"disable.configuration.provider": "Desabilite o provedor de configuração ativo, se aplicável.",
|
||||
"select.compile.commands": "Selecione um compile_commands.json...",
|
||||
"select.workspace": "Selecionar uma pasta de workspace...",
|
||||
"select.command": "Selecionar um comando...",
|
||||
"select.code.analysis.command": "Selecione um comando de análise de código...",
|
||||
"resume.parsing": "Retomar a Análise do Espaço de trabalho",
|
||||
"pause.parsing": "Pausar a Análise do Espaço de trabalho",
|
||||
"cancel.analysis": "Cancelar",
|
||||
|
||||
@@ -247,6 +247,10 @@
|
||||
"c_cpp.configuration.caseSensitiveFileSupport.markdownDescription": "Если задано значение `default`, файловая система рабочей области считается нечувствительной к регистру в Windows и чувствительной к регистру в macOS или Linux. Если задано значение `enabled`, предполагается, что файловая система рабочей области чувствительна к регистру в Windows.",
|
||||
"c_cpp.configuration.enhancedColorization.markdownDescription": "Если этот параметр включен, код раскрашивается в соответствии с IntelliSense. Этот параметр применяется, только если для `#C_Cpp.intelliSenseEngine#` установлено значение `default`.",
|
||||
"c_cpp.configuration.codeFolding.description": "Если этот параметр включен, то диапазоны свертывания кода предоставляются языковым сервером.",
|
||||
"c_cpp.configuration.markdownInComments.description": "Укажите, будет ли Markdown доступен в подсказке, появляющейся при наведении указателя мыши. По умолчанию к комментариям, подсказке, появляющейся при наведении указателя мыши, будет применено только подмножество Markdown.",
|
||||
"c_cpp.configuration.markdownInComments.subsetEnabled.description": "Включить все функции Markdown в подсказке, появляющейся при наведении указателя мыши, кроме тех, которые содержат символы \"_\" и \"*\".",
|
||||
"c_cpp.configuration.markdownInComments.enabled.description": "Включить все функции Markdown в подсказке, появляющейся при наведении указателя мыши.",
|
||||
"c_cpp.configuration.markdownInComments.disabled.description": "Отключить все функции Markdown в подсказке, появляющейся при наведении указателя мыши.",
|
||||
"c_cpp.configuration.hover.description": "Если этот параметр отключен, сведения при наведении курсора больше не предоставляются языковым сервером.",
|
||||
"c_cpp.configuration.vcpkg.enabled.markdownDescription": "Включите службы интеграции для [диспетчера зависимостей vcpkg](https://aka.ms/vcpkg/).",
|
||||
"c_cpp.configuration.addNodeAddonIncludePaths.markdownDescription": "Добавьте пути включения из `nan` и `node-addon-api`, если они являются зависимостями.",
|
||||
|
||||
@@ -4,8 +4,6 @@
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
// Do not edit this file. It is machine generated.
|
||||
{
|
||||
"unable.to.start": "Не удалось запустить языковой сервер C/C++. Функции IntelliSense будут отключены. Ошибка: {0}",
|
||||
"check.permissions": "EPERM: проверьте разрешения для \"{0}\"",
|
||||
"select.compiler": "Выберите компилятор для настройки IntelliSense",
|
||||
"configure.intelliSense.forFolder": "Как вы хотите настроить IntelliSense для папки \"{0}\"?",
|
||||
"configure.intelliSense.thisFolder": "Как вы хотите настроить IntelliSense для этой папки?",
|
||||
@@ -23,6 +21,8 @@
|
||||
"selectCompiler.string": "Выбор компилятора",
|
||||
"confirmCompiler.string": "Да",
|
||||
"selectCompiler.message": "Обнаружен компилятор {0}. Настроить IntelliSense с этим компилятором?",
|
||||
"check.permissions": "EPERM: проверьте разрешения для \"{0}\"",
|
||||
"unable.to.start": "Не удалось запустить языковой сервер C/C++. Функции IntelliSense будут отключены. Ошибка: {0}",
|
||||
"server.crashed.restart": "Сбой языкового сервера. Перезапуск…",
|
||||
"server.crashed2": "Языковой сервер аварийно завершил работу 5 раз за последние 3 минуты. Он не будет перезапущен.",
|
||||
"loggingLevel.changed": "{0} был изменен на: {1}",
|
||||
|
||||
@@ -11,6 +11,5 @@
|
||||
"configuration.select.first": "Сначала откройте папку, чтобы выбрать конфигурацию.",
|
||||
"configuration.provider.select.first": "Сначала откройте папку, чтобы выбрать поставщика конфигурации.",
|
||||
"edit.configurations.open.first": "Сначала откройте папку для изменения конфигураций",
|
||||
"code.action.aborted": "Не удалось применить исправление анализа кода, так как документ был изменен.",
|
||||
"add.includepath.open.first": "Сначала откройте папку для добавления в {0}"
|
||||
"code.action.aborted": "Не удалось применить исправление анализа кода, так как документ был изменен."
|
||||
}
|
||||
@@ -20,8 +20,6 @@
|
||||
"mode.analysis.prefix": "Режим Code Analysis: ",
|
||||
"c.cpp.configureIntelliSenseStatus.text": "Настройка IntelliSense",
|
||||
"c.cpp.configureIntelliSenseStatus.cppText": "Настройка IntelliSense C/C++",
|
||||
"select.command": "Выберите команду...",
|
||||
"select.code.analysis.command": "Выберите команду анализа кода...",
|
||||
"c.cpp.configuration.tooltip": "Конфигурация C/C++",
|
||||
"c.cpp.references.statusbar": "Состояние ссылок C/C++",
|
||||
"cpptools.status.intellisense": "Состояние IntelliSense C/C++",
|
||||
@@ -49,6 +47,8 @@
|
||||
"disable.configuration.provider": "Отключите активный поставщик конфигурации (если применимо).",
|
||||
"select.compile.commands": "Выберите compile_commands.json...",
|
||||
"select.workspace": "Выберите папку рабочей области…",
|
||||
"select.command": "Выберите команду...",
|
||||
"select.code.analysis.command": "Выберите команду анализа кода...",
|
||||
"resume.parsing": "Возобновить анализ рабочей области",
|
||||
"pause.parsing": "Приостановить анализ рабочей области",
|
||||
"cancel.analysis": "Отмена",
|
||||
|
||||
@@ -247,6 +247,10 @@
|
||||
"c_cpp.configuration.caseSensitiveFileSupport.markdownDescription": "`default` olarak ayarlanırsa, çalışma alanının dosya sisteminin Windows'da büyük/küçük harfe duyarlı olmadığı ve macOS ya da Linux'ta büyük/küçük harfe duyarlı olduğu varsayılır. `enabled` olarak ayarlanırsa, çalışma alanının dosya sisteminin Windows'da büyük/küçük harfe duyarlı olduğu varsayılır.",
|
||||
"c_cpp.configuration.enhancedColorization.markdownDescription": "Etkinleştirilirse, kod IntelliSense'e göre renklendirilir. Bu ayar yalnızca `#C_Cpp.intelliSenseEngine#` `default` olarak ayarlandıysa geçerlidir.",
|
||||
"c_cpp.configuration.codeFolding.description": "Etkinleştirilirse, kod katlama aralıkları dil sunucusu tarafından sağlanır.",
|
||||
"c_cpp.configuration.markdownInComments.description": "Üzerine gelme araç ipucunda Markdown'ın kullanılabilir olup olmayacağını seçin. Varsayılan olarak, üzerine gelme araç ipucundaki açıklamalara yalnızca bir Markdown alt kümesi uygulanır.",
|
||||
"c_cpp.configuration.markdownInComments.subsetEnabled.description": "Üzerine gelme araç ipucundaki '_' ve '*' karakterlerini içerenler dışındaki tüm Markdown özelliklerini etkinleştirin.",
|
||||
"c_cpp.configuration.markdownInComments.enabled.description": "Üzerine gelme araç ipucundaki tüm Markdown özelliklerini etkinleştirin.",
|
||||
"c_cpp.configuration.markdownInComments.disabled.description": "Üzerine gelme araç ipucundaki tüm Markdown özelliklerini devre dışı bırakın.",
|
||||
"c_cpp.configuration.hover.description": "Devre dışı bırakılırsa üzerine gelme ayrıntıları artık dil sunucusu tarafından sağlanmaz.",
|
||||
"c_cpp.configuration.vcpkg.enabled.markdownDescription": "[vcpkg bağımlılık yöneticisi](https://aka.ms/vcpkg/) için tümleştirme hizmetlerini etkinleştirin.",
|
||||
"c_cpp.configuration.addNodeAddonIncludePaths.markdownDescription": "`nan` ve `node-addon-api` bağımlılık olduğunda bunlardan ekleme yolları ekleyin.",
|
||||
@@ -430,4 +434,4 @@
|
||||
"c_cpp.walkthrough.customize.debugging.linux.description": "Yürüt düğmesinin sağındaki \"Hata Ayıklama Yapılandırması Ekle\"yi seçerek hata ayıklama yapılandırmanızı özelleştirebilirsiniz (ör. çalışma zamanında programınıza bağımsız değişkenler geçirmek için). Özel hata ayıklama yapılandırması, projenizin launch.json dosyasına kaydedilir.\n[Daha Fazla Bilgi Edinin](https://code.visualstudio.com/docs/cpp/config-msvc#_debug-helloworldcpp)",
|
||||
"c_cpp.walkthrough.customize.debugging.windows.description": "Yürüt düğmesinin sağındaki \"Hata Ayıklama Yapılandırması Ekle\"yi seçerek hata ayıklama yapılandırmanızı özelleştirebilirsiniz (ör. çalışma zamanında programınıza bağımsız değişkenler geçirmek için). Özel hata ayıklama yapılandırması, projenizin launch.json dosyasına kaydedilir. \n[Daha Fazla Bilgi Edinin](https://code.visualstudio.com/docs/cpp/config-clang-mac#_debug-helloworldcpp)",
|
||||
"c_cpp.walkthrough.customize.debugging.altText": "Açılır menüde Hata Ayıklama Yapılandırması Ekle'yi gösteren resim"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,8 +4,6 @@
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
// Do not edit this file. It is machine generated.
|
||||
{
|
||||
"unable.to.start": "C/C++ dil sunucusu başlatılamıyor. IntelliSense özellikleri devre dışı bırakılacak. Hata: {0}",
|
||||
"check.permissions": "EPERM: '{0}' için izinleri denetle",
|
||||
"select.compiler": "IntelliSense için yapılandırmak istediğiniz derleyiciyi seçin",
|
||||
"configure.intelliSense.forFolder": "'{0}' klasörü için IntelliSense'i nasıl yapılandırmak istiyorsunuz?",
|
||||
"configure.intelliSense.thisFolder": "Bu klasör için IntelliSense'i nasıl yapılandırmak istiyorsunuz?",
|
||||
@@ -23,6 +21,8 @@
|
||||
"selectCompiler.string": "Derleyici Seç",
|
||||
"confirmCompiler.string": "Evet",
|
||||
"selectCompiler.message": "{0} derleyicisi bulundu. IntelliSense'i bu derleyiciyle yapılandırmak istiyor musunuz?",
|
||||
"check.permissions": "EPERM: '{0}' için izinleri denetle",
|
||||
"unable.to.start": "C/C++ dil sunucusu başlatılamıyor. IntelliSense özellikleri devre dışı bırakılacak. Hata: {0}",
|
||||
"server.crashed.restart": "Dil sunucusu kilitlendi. Yeniden başlatılıyor...",
|
||||
"server.crashed2": "Dil sunucusu son 3 dakikada 5 kez kilitlendi. Sunucu yeniden başlatılmayacak.",
|
||||
"loggingLevel.changed": "{0} {1} olarak değiştirildi",
|
||||
|
||||
@@ -11,6 +11,5 @@
|
||||
"configuration.select.first": "Yapılandırma seçmek için önce bir klasör açın.",
|
||||
"configuration.provider.select.first": "Yapılandırma sağlayıcısı seçmek için önce bir klasör açın.",
|
||||
"edit.configurations.open.first": "Yapılandırmaları düzenlemek için önce bir klasör açın",
|
||||
"code.action.aborted": "Belge değiştiğinden kod analizi düzeltmesi uygulanamadı.",
|
||||
"add.includepath.open.first": "{0} öğesine eklemek için önce bir klasör açın"
|
||||
"code.action.aborted": "Belge değiştiğinden kod analizi düzeltmesi uygulanamadı."
|
||||
}
|
||||
@@ -20,8 +20,6 @@
|
||||
"mode.analysis.prefix": "Code Analysis Modu: ",
|
||||
"c.cpp.configureIntelliSenseStatus.text": "IntelliSense'i Yapılandır",
|
||||
"c.cpp.configureIntelliSenseStatus.cppText": "C/C++ IntelliSense'i Yapılandır",
|
||||
"select.command": "Komut seç...",
|
||||
"select.code.analysis.command": "Kod analizi komutu seçin...",
|
||||
"c.cpp.configuration.tooltip": "C/C++ Yapılandırması",
|
||||
"c.cpp.references.statusbar": "C/C++ Başvuruları Durumu",
|
||||
"cpptools.status.intellisense": "C/C++ IntelliSense Durumu",
|
||||
@@ -49,6 +47,8 @@
|
||||
"disable.configuration.provider": "Varsa etkin yapılandırma sağlayıcısını devre dışı bırakın.",
|
||||
"select.compile.commands": "compile_commands.json dosyası seçin...",
|
||||
"select.workspace": "Çalışma alanı klasörü seçin...",
|
||||
"select.command": "Komut seç...",
|
||||
"select.code.analysis.command": "Kod analizi komutu seçin...",
|
||||
"resume.parsing": "Çalışma Alanı Ayrıştırmasını Sürdür",
|
||||
"pause.parsing": "Çalışma Alanı Ayrıştırmasını Duraklat",
|
||||
"cancel.analysis": "İptal",
|
||||
|
||||
@@ -1,89 +0,0 @@
|
||||
'use strict';
|
||||
|
||||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
const parseString = require('xml2js').parseString;
|
||||
|
||||
let localizeRepoPath = process.argv[2];
|
||||
let cpptoolsRepoPath = process.argv[3];
|
||||
|
||||
if (!localizeRepoPath || !cpptoolsRepoPath) {
|
||||
console.error(`ERROR: Usage: ${path.parse(process.argv[0]).base} ${path.parse(process.argv[1]).base} <Localize repo path> <vscode-cpptools repo path>`);
|
||||
return;
|
||||
}
|
||||
|
||||
console.log("Importing EDGE strings from Localize repo: " + localizeRepoPath);
|
||||
console.log("Writing to cpptools repo: " + cpptoolsRepoPath);
|
||||
|
||||
if (!fs.existsSync(path.join(localizeRepoPath, ".git"))) {
|
||||
console.error("ERROR: Localize repo submodule is not initialized in Localize repo");
|
||||
return;
|
||||
}
|
||||
|
||||
const languages = [
|
||||
{ id: "zh-tw", folderName: "cht", transifexId: "zh-hant" },
|
||||
{ id: "zh-cn", folderName: "chs", transifexId: "zh-hans" },
|
||||
{ id: "fr", folderName: "fra" },
|
||||
{ id: "de", folderName: "deu" },
|
||||
{ id: "it", folderName: "ita" },
|
||||
{ id: "es", folderName: "esn" },
|
||||
{ id: "ja", folderName: "jpn" },
|
||||
{ id: "ko", folderName: "kor" },
|
||||
{ id: "ru", folderName: "rus" },
|
||||
{ id: "bg", folderName: "bul" }, // VS Code supports Bulgarian, but VS is not currently localized for those languages.
|
||||
{ id: "hu", folderName: "hun" }, // VS Code supports Hungarian, but VS is not currently localized for those languages.
|
||||
{ id: "pt-br", folderName: "ptb", transifexId: "pt-BR" },
|
||||
{ id: "tr", folderName: "trk" },
|
||||
{ id: "cs", folderName: "csy" },
|
||||
{ id: "pl", folderName: "plk" }
|
||||
];
|
||||
|
||||
var locFolderNames = fs.readdirSync(localizeRepoPath).filter(f => fs.lstatSync(path.join(localizeRepoPath, f)).isDirectory());
|
||||
locFolderNames.forEach((locFolderName) => {
|
||||
let lclPath = path.join(localizeRepoPath, locFolderName, "vc/vc/cpfeui.dll.lcl");
|
||||
let languageInfo = languages.find(l => l.folderName == locFolderName);
|
||||
if (!languageInfo) {
|
||||
return;
|
||||
}
|
||||
let languageId = languageInfo.id;
|
||||
let outputLanguageFolder = path.join(cpptoolsRepoPath, "Extension/bin/messages", languageId);
|
||||
let outputPath = path.join(outputLanguageFolder, "messages.json");
|
||||
let sourceContent = fs.readFileSync(lclPath, 'utf-8');
|
||||
|
||||
// Scan once, just to determine how many there are the size of the array we need
|
||||
let highestValue = 0;
|
||||
parseString(sourceContent, function (err, result) {
|
||||
result.LCX.Item.forEach((item) => {
|
||||
if (item.$.ItemId == ";String Table") {
|
||||
item.Item.forEach((subItem) => {
|
||||
let itemId = parseInt(subItem.$.ItemId, 10);
|
||||
if (subItem.Str[0].Tgt) {
|
||||
if (highestValue < itemId) {
|
||||
highestValue = itemId;
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
let resultArray = new Array(highestValue);
|
||||
parseString(sourceContent, function (err, result) {
|
||||
result.LCX.Item.forEach((item) => {
|
||||
if (item.$.ItemId == ";String Table") {
|
||||
item.Item.forEach((subItem) => {
|
||||
let itemId = parseInt(subItem.$.ItemId, 10);
|
||||
if (subItem.Str[0].Tgt) {
|
||||
resultArray[itemId] = subItem.Str[0].Tgt[0].Val[0].replace(/\]5D;/g, "]");
|
||||
if (highestValue < itemId) {
|
||||
highestValue = itemId;
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
fs.mkdirSync(outputLanguageFolder, { recursive: true });
|
||||
fs.writeFileSync(outputPath, JSON.stringify(resultArray, null, 2), 'utf8');
|
||||
});
|
||||
+340
-69
@@ -2,7 +2,7 @@
|
||||
"name": "cpptools",
|
||||
"displayName": "C/C++",
|
||||
"description": "C/C++ IntelliSense, debugging, and code browsing.",
|
||||
"version": "1.17.0-main",
|
||||
"version": "1.18.0-main",
|
||||
"publisher": "ms-vscode",
|
||||
"icon": "LanguageCCPP_color_128x.png",
|
||||
"readme": "README.md",
|
||||
@@ -58,7 +58,7 @@
|
||||
"workspaceContains:/.vscode/c_cpp_properties.json",
|
||||
"onFileSystem:cpptools-schema"
|
||||
],
|
||||
"main": "./dist/main",
|
||||
"main": "./dist/src/main",
|
||||
"contributes": {
|
||||
"walkthroughs": [
|
||||
{
|
||||
@@ -88,11 +88,29 @@
|
||||
"id": "awaiting.activation.windows",
|
||||
"title": "%c_cpp.walkthrough.set.up.title%",
|
||||
"description": "%c_cpp.walkthrough.activating.description%",
|
||||
"when": "workspacePlatform == windows && cpptools.scanForCompilersDone == false",
|
||||
"when": "workspacePlatform == windows && cpptools.scanForCompilersDone == false && cpptools.windowsVersion != 10 && cpptools.windowsVersion != 11",
|
||||
"media": {
|
||||
"markdown": "dist/walkthrough/installcompiler/install-compiler-windows.md"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "awaiting.activation.windows10",
|
||||
"title": "%c_cpp.walkthrough.set.up.title%",
|
||||
"description": "%c_cpp.walkthrough.activating.description%",
|
||||
"when": "workspacePlatform == windows && cpptools.scanForCompilersDone == false && cpptools.windowsVersion == 10",
|
||||
"media": {
|
||||
"markdown": "dist/walkthrough/installcompiler/install-compiler-windows10.md"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "awaiting.activation.windows11",
|
||||
"title": "%c_cpp.walkthrough.set.up.title%",
|
||||
"description": "%c_cpp.walkthrough.activating.description%",
|
||||
"when": "workspacePlatform == windows && cpptools.scanForCompilersDone == false && cpptools.windowsVersion == 11",
|
||||
"media": {
|
||||
"markdown": "dist/walkthrough/installcompiler/install-compiler-windows11.md"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "no.compilers.found.mac",
|
||||
"title": "%c_cpp.walkthrough.set.up.title%",
|
||||
@@ -114,12 +132,30 @@
|
||||
{
|
||||
"id": "no.compilers.found.windows",
|
||||
"title": "%c_cpp.walkthrough.set.up.title%",
|
||||
"description": "%c_cpp.walkthrough.no.compilers.description%",
|
||||
"when": "workspacePlatform == windows && cpptools.scanForCompilersDone == true && cpptools.scanForCompilersEmpty == true",
|
||||
"description": "%c_cpp.walkthrough.no.compilers.windows.description%",
|
||||
"when": "workspacePlatform == windows && cpptools.scanForCompilersDone == true && cpptools.scanForCompilersEmpty == true && cpptools.windowsVersion != 10 && cpptools.windowsVersion != 11",
|
||||
"media": {
|
||||
"markdown": "dist/walkthrough/installcompiler/install-compiler-windows.md"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "no.compilers.found.windows10",
|
||||
"title": "%c_cpp.walkthrough.set.up.title%",
|
||||
"description": "%c_cpp.walkthrough.no.compilers.windows.description%",
|
||||
"when": "workspacePlatform == windows && cpptools.scanForCompilersDone == true && cpptools.scanForCompilersEmpty == true && cpptools.windowsVersion == 10",
|
||||
"media": {
|
||||
"markdown": "dist/walkthrough/installcompiler/install-compiler-windows10.md"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "no.compilers.found.windows11",
|
||||
"title": "%c_cpp.walkthrough.set.up.title%",
|
||||
"description": "%c_cpp.walkthrough.no.compilers.windows.description%",
|
||||
"when": "workspacePlatform == windows && cpptools.scanForCompilersDone == true && cpptools.scanForCompilersEmpty == true && cpptools.windowsVersion == 11",
|
||||
"media": {
|
||||
"markdown": "dist/walkthrough/installcompiler/install-compiler-windows11.md"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "verify.compiler.mac",
|
||||
"title": "%c_cpp.walkthrough.set.up.title%",
|
||||
@@ -148,7 +184,7 @@
|
||||
"id": "verify.compiler.windows",
|
||||
"title": "%c_cpp.walkthrough.set.up.title%",
|
||||
"description": "%c_cpp.walkthrough.compilers.found.description%",
|
||||
"when": "workspacePlatform == windows && cpptools.scanForCompilersDone == true && cpptools.scanForCompilersEmpty == false",
|
||||
"when": "workspacePlatform == windows && cpptools.scanForCompilersDone == true && cpptools.scanForCompilersEmpty == false && cpptools.windowsVersion != 10 && cpptools.windowsVersion != 11",
|
||||
"media": {
|
||||
"markdown": "dist/walkthrough/installcompiler/install-compiler-windows.md"
|
||||
},
|
||||
@@ -156,6 +192,30 @@
|
||||
"onContext:cpptools.trustedCompilerFound"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "verify.compiler.windows10",
|
||||
"title": "%c_cpp.walkthrough.set.up.title%",
|
||||
"description": "%c_cpp.walkthrough.compilers.found.description%",
|
||||
"when": "workspacePlatform == windows && cpptools.scanForCompilersDone == true && cpptools.scanForCompilersEmpty == false && cpptools.windowsVersion == 10",
|
||||
"media": {
|
||||
"markdown": "dist/walkthrough/installcompiler/install-compiler-windows10.md"
|
||||
},
|
||||
"completionEvents": [
|
||||
"onContext:cpptools.trustedCompilerFound"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "verify.compiler.windows11",
|
||||
"title": "%c_cpp.walkthrough.set.up.title%",
|
||||
"description": "%c_cpp.walkthrough.compilers.found.description%",
|
||||
"when": "workspacePlatform == windows && cpptools.scanForCompilersDone == true && cpptools.scanForCompilersEmpty == false && cpptools.windowsVersion == 11",
|
||||
"media": {
|
||||
"markdown": "dist/walkthrough/installcompiler/install-compiler-windows11.md"
|
||||
},
|
||||
"completionEvents": [
|
||||
"onContext:cpptools.trustedCompilerFound"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "create.cpp.file",
|
||||
"title": "%c_cpp.walkthrough.create.cpp.file.title%",
|
||||
@@ -456,22 +516,6 @@
|
||||
],
|
||||
"scope": "resource"
|
||||
},
|
||||
"C_Cpp.markdownInComments": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"subsetEnabled",
|
||||
"enabled",
|
||||
"disabled"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"%c_cpp.configuration.markdownInComments.subsetEnabled.description%",
|
||||
"%c_cpp.configuration.markdownInComments.enabled.description%",
|
||||
"%c_cpp.configuration.markdownInComments.disabled.description%"
|
||||
],
|
||||
"default": "subsetEnabled",
|
||||
"description": "%c_cpp.configuration.markdownInComments.description%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"C_Cpp.hover": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
@@ -517,6 +561,22 @@
|
||||
"description": "%c_cpp.configuration.inactiveRegionBackgroundColor.description%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"C_Cpp.refactoring.includeHeader": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"always",
|
||||
"ifNeeded",
|
||||
"never"
|
||||
],
|
||||
"default": "always",
|
||||
"markdownDescription": "%c_cpp.configuration.refactoring.includeHeader.markdownDescription%",
|
||||
"enumDescriptions": [
|
||||
"%c_cpp.configuration.refactoring.includeHeader.always.description%",
|
||||
"%c_cpp.configuration.refactoring.includeHeader.ifNeeded.description%",
|
||||
"%c_cpp.configuration.refactoring.includeHeader.never.description%"
|
||||
],
|
||||
"scope": "resource"
|
||||
},
|
||||
"C_Cpp.renameRequiresIdentifier": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
@@ -1492,6 +1552,22 @@
|
||||
"description": "%c_cpp.configuration.commentContinuationPatterns.description%",
|
||||
"scope": "window"
|
||||
},
|
||||
"C_Cpp.markdownInComments": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"subsetEnabled",
|
||||
"enabled",
|
||||
"disabled"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"%c_cpp.configuration.markdownInComments.subsetEnabled.description%",
|
||||
"%c_cpp.configuration.markdownInComments.enabled.description%",
|
||||
"%c_cpp.configuration.markdownInComments.disabled.description%"
|
||||
],
|
||||
"default": "subsetEnabled",
|
||||
"description": "%c_cpp.configuration.markdownInComments.description%",
|
||||
"scope": "resource"
|
||||
},
|
||||
"C_Cpp.simplifyStructuredComments": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
@@ -1713,6 +1789,7 @@
|
||||
"bugprone-dangling-handle",
|
||||
"bugprone-dynamic-static-initializers",
|
||||
"bugprone-easily-swappable-parameters",
|
||||
"bugprone-empty-catch",
|
||||
"bugprone-exception-escape",
|
||||
"bugprone-fold-init-type",
|
||||
"bugprone-forward-declaration-namespace",
|
||||
@@ -1730,9 +1807,12 @@
|
||||
"bugprone-misplaced-pointer-arithmetic-in-alloc",
|
||||
"bugprone-misplaced-widening-cast",
|
||||
"bugprone-move-forwarding-reference",
|
||||
"bugprone-multiple-*",
|
||||
"bugprone-multiple-new-in-one-expression",
|
||||
"bugprone-multiple-statement-macro",
|
||||
"bugprone-narrowing-conversions",
|
||||
"bugprone-no-escape",
|
||||
"bugprone-non-zero-enum-to-bool-conversion",
|
||||
"bugprone-not-null-terminated-result",
|
||||
"bugprone-parent-virtual-call",
|
||||
"bugprone-posix-return",
|
||||
@@ -1761,6 +1841,7 @@
|
||||
"bugprone-suspicious-semicolon",
|
||||
"bugprone-suspicious-string-compare",
|
||||
"bugprone-swapped-arguments",
|
||||
"bugprone-switch-missing-default-case",
|
||||
"bugprone-terminating-continue",
|
||||
"bugprone-throw-keyword-missing",
|
||||
"bugprone-too-small-loop-variable",
|
||||
@@ -1770,6 +1851,7 @@
|
||||
"bugprone-unhandled-*",
|
||||
"bugprone-unhandled-exception-at-new",
|
||||
"bugprone-unhandled-self-assignment",
|
||||
"bugprone-unique-ptr-array-mismatch",
|
||||
"bugprone-unused-raii",
|
||||
"bugprone-unused-return-value",
|
||||
"bugprone-use-after-move",
|
||||
@@ -1929,6 +2011,7 @@
|
||||
"cppcoreguidelines-*",
|
||||
"cppcoreguidelines-avoid-*",
|
||||
"cppcoreguidelines-avoid-c-arrays",
|
||||
"cppcoreguidelines-avoid-capturing-lambda-coroutines",
|
||||
"cppcoreguidelines-avoid-const-or-ref-data-members",
|
||||
"cppcoreguidelines-avoid-do-while",
|
||||
"cppcoreguidelines-avoid-goto",
|
||||
@@ -1941,6 +2024,8 @@
|
||||
"cppcoreguidelines-interfaces-global-init",
|
||||
"cppcoreguidelines-macro-to-enum",
|
||||
"cppcoreguidelines-macro-usage",
|
||||
"cppcoreguidelines-misleading-capture-default-by-value",
|
||||
"cppcoreguidelines-missing-std-forward",
|
||||
"cppcoreguidelines-narrowing-conversions",
|
||||
"cppcoreguidelines-no-malloc",
|
||||
"cppcoreguidelines-non-private-member-variables-in-classes",
|
||||
@@ -1958,6 +2043,7 @@
|
||||
"cppcoreguidelines-pro-type-static-cast-downcast",
|
||||
"cppcoreguidelines-pro-type-union-access",
|
||||
"cppcoreguidelines-pro-type-vararg",
|
||||
"cppcoreguidelines-rvalue-reference-param-not-moved",
|
||||
"cppcoreguidelines-slicing",
|
||||
"cppcoreguidelines-special-member-functions",
|
||||
"cppcoreguidelines-virtual-class-destructor",
|
||||
@@ -2048,11 +2134,14 @@
|
||||
"llvmlibc-*",
|
||||
"llvmlibc-callee-namespace",
|
||||
"llvmlibc-implementation-in-namespace",
|
||||
"llvmlibc-inline-function-decl",
|
||||
"llvmlibc-restrict-system-libc-headers",
|
||||
"misc-*",
|
||||
"misc-confusable-identifiers",
|
||||
"misc-const-correctness",
|
||||
"misc-definitions-in-headers",
|
||||
"misc-header-include-cycle",
|
||||
"misc-include-cleaner",
|
||||
"misc-misleading-*",
|
||||
"misc-misleading-bidirectional",
|
||||
"misc-misleading-identifier",
|
||||
@@ -2094,6 +2183,7 @@
|
||||
"modernize-replace-random-shuffle",
|
||||
"modernize-return-braced-init-list",
|
||||
"modernize-shrink-to-fit",
|
||||
"modernize-type-traits",
|
||||
"modernize-unary-static-assert",
|
||||
"modernize-use-*",
|
||||
"modernize-use-auto",
|
||||
@@ -2108,6 +2198,7 @@
|
||||
"modernize-use-noexcept",
|
||||
"modernize-use-nullptr",
|
||||
"modernize-use-override",
|
||||
"modernize-use-std-print",
|
||||
"modernize-use-trailing-return-type",
|
||||
"modernize-use-transparent-functors",
|
||||
"modernize-use-uncaught-exceptions",
|
||||
@@ -2129,6 +2220,7 @@
|
||||
"openmp-exception-escape",
|
||||
"openmp-use-default-none",
|
||||
"performance-*",
|
||||
"performance-avoid-endl",
|
||||
"performance-faster-string-find",
|
||||
"performance-for-range-copy",
|
||||
"performance-implicit-conversion-in-loop",
|
||||
@@ -2142,7 +2234,10 @@
|
||||
"performance-no-*",
|
||||
"performance-no-automatic-move",
|
||||
"performance-no-int-to-ptr",
|
||||
"performance-noexcept-*",
|
||||
"performance-noexcept-destructor",
|
||||
"performance-noexcept-move-constructor",
|
||||
"performance-noexcept-swap",
|
||||
"performance-trivially-destructible",
|
||||
"performance-type-promotion-in-math-fn",
|
||||
"performance-unnecessary-*",
|
||||
@@ -2153,7 +2248,9 @@
|
||||
"portability-simd-intrinsics",
|
||||
"portability-std-allocator-const",
|
||||
"readability-*",
|
||||
"readability-avoid-*",
|
||||
"readability-avoid-const-params-in-decls",
|
||||
"readability-avoid-unconditional-preprocessor-if",
|
||||
"readability-braces-around-statements",
|
||||
"readability-const-return-type",
|
||||
"readability-container-*",
|
||||
@@ -2179,6 +2276,7 @@
|
||||
"readability-misplaced-array-index",
|
||||
"readability-named-parameter",
|
||||
"readability-non-const-parameter",
|
||||
"readability-operators-representation",
|
||||
"readability-qualified-auto",
|
||||
"readability-redundant-*",
|
||||
"readability-redundant-access-specifiers",
|
||||
@@ -2277,6 +2375,7 @@
|
||||
"bugprone-dangling-handle",
|
||||
"bugprone-dynamic-static-initializers",
|
||||
"bugprone-easily-swappable-parameters",
|
||||
"bugprone-empty-catch",
|
||||
"bugprone-exception-escape",
|
||||
"bugprone-fold-init-type",
|
||||
"bugprone-forward-declaration-namespace",
|
||||
@@ -2294,9 +2393,12 @@
|
||||
"bugprone-misplaced-pointer-arithmetic-in-alloc",
|
||||
"bugprone-misplaced-widening-cast",
|
||||
"bugprone-move-forwarding-reference",
|
||||
"bugprone-multiple-*",
|
||||
"bugprone-multiple-new-in-one-expression",
|
||||
"bugprone-multiple-statement-macro",
|
||||
"bugprone-narrowing-conversions",
|
||||
"bugprone-no-escape",
|
||||
"bugprone-non-zero-enum-to-bool-conversion",
|
||||
"bugprone-not-null-terminated-result",
|
||||
"bugprone-parent-virtual-call",
|
||||
"bugprone-posix-return",
|
||||
@@ -2325,6 +2427,7 @@
|
||||
"bugprone-suspicious-semicolon",
|
||||
"bugprone-suspicious-string-compare",
|
||||
"bugprone-swapped-arguments",
|
||||
"bugprone-switch-missing-default-case",
|
||||
"bugprone-terminating-continue",
|
||||
"bugprone-throw-keyword-missing",
|
||||
"bugprone-too-small-loop-variable",
|
||||
@@ -2334,6 +2437,7 @@
|
||||
"bugprone-unhandled-*",
|
||||
"bugprone-unhandled-exception-at-new",
|
||||
"bugprone-unhandled-self-assignment",
|
||||
"bugprone-unique-ptr-array-mismatch",
|
||||
"bugprone-unused-raii",
|
||||
"bugprone-unused-return-value",
|
||||
"bugprone-use-after-move",
|
||||
@@ -2493,6 +2597,7 @@
|
||||
"cppcoreguidelines-*",
|
||||
"cppcoreguidelines-avoid-*",
|
||||
"cppcoreguidelines-avoid-c-arrays",
|
||||
"cppcoreguidelines-avoid-capturing-lambda-coroutines",
|
||||
"cppcoreguidelines-avoid-const-or-ref-data-members",
|
||||
"cppcoreguidelines-avoid-do-while",
|
||||
"cppcoreguidelines-avoid-goto",
|
||||
@@ -2505,6 +2610,8 @@
|
||||
"cppcoreguidelines-interfaces-global-init",
|
||||
"cppcoreguidelines-macro-to-enum",
|
||||
"cppcoreguidelines-macro-usage",
|
||||
"cppcoreguidelines-misleading-capture-default-by-value",
|
||||
"cppcoreguidelines-missing-std-forward",
|
||||
"cppcoreguidelines-narrowing-conversions",
|
||||
"cppcoreguidelines-no-malloc",
|
||||
"cppcoreguidelines-non-private-member-variables-in-classes",
|
||||
@@ -2522,6 +2629,7 @@
|
||||
"cppcoreguidelines-pro-type-static-cast-downcast",
|
||||
"cppcoreguidelines-pro-type-union-access",
|
||||
"cppcoreguidelines-pro-type-vararg",
|
||||
"cppcoreguidelines-rvalue-reference-param-not-moved",
|
||||
"cppcoreguidelines-slicing",
|
||||
"cppcoreguidelines-special-member-functions",
|
||||
"cppcoreguidelines-virtual-class-destructor",
|
||||
@@ -2612,11 +2720,14 @@
|
||||
"llvmlibc-*",
|
||||
"llvmlibc-callee-namespace",
|
||||
"llvmlibc-implementation-in-namespace",
|
||||
"llvmlibc-inline-function-decl",
|
||||
"llvmlibc-restrict-system-libc-headers",
|
||||
"misc-*",
|
||||
"misc-confusable-identifiers",
|
||||
"misc-const-correctness",
|
||||
"misc-definitions-in-headers",
|
||||
"misc-header-include-cycle",
|
||||
"misc-include-cleaner",
|
||||
"misc-misleading-*",
|
||||
"misc-misleading-bidirectional",
|
||||
"misc-misleading-identifier",
|
||||
@@ -2658,6 +2769,7 @@
|
||||
"modernize-replace-random-shuffle",
|
||||
"modernize-return-braced-init-list",
|
||||
"modernize-shrink-to-fit",
|
||||
"modernize-type-traits",
|
||||
"modernize-unary-static-assert",
|
||||
"modernize-use-*",
|
||||
"modernize-use-auto",
|
||||
@@ -2672,6 +2784,7 @@
|
||||
"modernize-use-noexcept",
|
||||
"modernize-use-nullptr",
|
||||
"modernize-use-override",
|
||||
"modernize-use-std-print",
|
||||
"modernize-use-trailing-return-type",
|
||||
"modernize-use-transparent-functors",
|
||||
"modernize-use-uncaught-exceptions",
|
||||
@@ -2693,6 +2806,7 @@
|
||||
"openmp-exception-escape",
|
||||
"openmp-use-default-none",
|
||||
"performance-*",
|
||||
"performance-avoid-endl",
|
||||
"performance-faster-string-find",
|
||||
"performance-for-range-copy",
|
||||
"performance-implicit-conversion-in-loop",
|
||||
@@ -2706,7 +2820,10 @@
|
||||
"performance-no-*",
|
||||
"performance-no-automatic-move",
|
||||
"performance-no-int-to-ptr",
|
||||
"performance-noexcept-*",
|
||||
"performance-noexcept-destructor",
|
||||
"performance-noexcept-move-constructor",
|
||||
"performance-noexcept-swap",
|
||||
"performance-trivially-destructible",
|
||||
"performance-type-promotion-in-math-fn",
|
||||
"performance-unnecessary-*",
|
||||
@@ -2717,7 +2834,9 @@
|
||||
"portability-simd-intrinsics",
|
||||
"portability-std-allocator-const",
|
||||
"readability-*",
|
||||
"readability-avoid-*",
|
||||
"readability-avoid-const-params-in-decls",
|
||||
"readability-avoid-unconditional-preprocessor-if",
|
||||
"readability-braces-around-statements",
|
||||
"readability-const-return-type",
|
||||
"readability-container-*",
|
||||
@@ -2743,6 +2862,7 @@
|
||||
"readability-misplaced-array-index",
|
||||
"readability-named-parameter",
|
||||
"readability-non-const-parameter",
|
||||
"readability-operators-representation",
|
||||
"readability-qualified-auto",
|
||||
"readability-redundant-*",
|
||||
"readability-redundant-access-specifiers",
|
||||
@@ -3016,13 +3136,13 @@
|
||||
"category": "C/C++"
|
||||
},
|
||||
{
|
||||
"command": "C_Cpp.SelectDefaultCompiler",
|
||||
"title": "%c_cpp.command.selectDefaultCompiler.title%",
|
||||
"command": "C_Cpp.SelectIntelliSenseConfiguration",
|
||||
"title": "%c_cpp.command.selectIntelliSenseConfiguration.title%",
|
||||
"category": "C/C++"
|
||||
},
|
||||
{
|
||||
"command": "C_Cpp.SelectIntelliSenseConfiguration",
|
||||
"title": "%c_cpp.command.selectIntelliSenseConfiguration.title%",
|
||||
"command": "C_Cpp.InstallCompiler",
|
||||
"title": "%c_cpp.command.installCompiler.title%",
|
||||
"category": "C/C++"
|
||||
},
|
||||
{
|
||||
@@ -3221,7 +3341,25 @@
|
||||
{
|
||||
"command": "C_Cpp.SwitchHeaderSource",
|
||||
"key": "Alt+O",
|
||||
"when": "editorLangId == 'c' && editorTextFocus || editorLangId == 'cpp' && editorTextFocus || editorLangId == 'cuda-cpp' && editorTextFocus"
|
||||
"when": "editorLangId =~ /^(c|(cuda-)?cpp)$/ && editorTextFocus && !(config.C_Cpp.intelliSenseEngine =~ /^[dD]isabled$/)"
|
||||
},
|
||||
{
|
||||
"command": "editor.action.codeAction",
|
||||
"key": "ctrl+shift+r ctrl+i",
|
||||
"args": {
|
||||
"kind": "refactor.inline.macro",
|
||||
"apply": "first"
|
||||
},
|
||||
"when": "editorLangId =~ /^(c|(cuda-)?cpp)$/ && editorTextFocus && !(config.C_Cpp.intelliSenseEngine =~ /^[dD]isabled$/)"
|
||||
},
|
||||
{
|
||||
"command": "editor.action.codeAction",
|
||||
"key": "ctrl+shift+r ctrl+e",
|
||||
"args": {
|
||||
"kind": "refactor.extract.function",
|
||||
"apply": "first"
|
||||
},
|
||||
"when": "editorLangId =~ /^(c|(cuda-)?cpp)$/ && editorTextFocus && !(config.C_Cpp.intelliSenseEngine =~ /^[dD]isabled$/)"
|
||||
}
|
||||
],
|
||||
"debuggers": [
|
||||
@@ -5458,65 +5596,173 @@
|
||||
"editor/title/run": [
|
||||
{
|
||||
"command": "C_Cpp.BuildAndDebugFile",
|
||||
"when": "editorLangId == 'c' && config.C_Cpp.debugShortcut && cpptools.buildAndDebug.isSourceFile || editorLangId == 'cpp' && config.C_Cpp.debugShortcut && cpptools.buildAndDebug.isSourceFile || editorLangId == 'cuda-cpp' && config.C_Cpp.debugShortcut && cpptools.buildAndDebug.isSourceFile",
|
||||
"when": "editorLangId =~ /^(c|(cuda-)?cpp)$/ && config.C_Cpp.debugShortcut && cpptools.buildAndDebug.isSourceFile",
|
||||
"group": "navigation@0"
|
||||
},
|
||||
{
|
||||
"command": "C_Cpp.BuildAndRunFile",
|
||||
"when": "editorLangId == 'c' && config.C_Cpp.debugShortcut && cpptools.buildAndDebug.isSourceFile || editorLangId == 'cpp' && config.C_Cpp.debugShortcut && cpptools.buildAndDebug.isSourceFile || editorLangId == 'cuda-cpp' && config.C_Cpp.debugShortcut && cpptools.buildAndDebug.isSourceFile",
|
||||
"when": "editorLangId =~ /^(c|(cuda-)?cpp)$/ && config.C_Cpp.debugShortcut && cpptools.buildAndDebug.isSourceFile",
|
||||
"group": "navigation@1"
|
||||
}
|
||||
],
|
||||
"editor/title": [
|
||||
{
|
||||
"command": "C_Cpp.AddDebugConfiguration",
|
||||
"when": "editorLangId == 'c' && config.C_Cpp.debugShortcut && cpptools.buildAndDebug.isSourceFile && cpptools.buildAndDebug.isFolderOpen || editorLangId == 'cpp' && config.C_Cpp.debugShortcut && cpptools.buildAndDebug.isSourceFile && cpptools.buildAndDebug.isFolderOpen || editorLangId == 'cuda-cpp' && config.C_Cpp.debugShortcut && cpptools.buildAndDebug.isSourceFile && cpptools.buildAndDebug.isFolderOpen",
|
||||
"when": "editorLangId =~ /^(c|(cuda-)?cpp)$/ && config.C_Cpp.debugShortcut && cpptools.buildAndDebug.isSourceFile && cpptools.buildAndDebug.isFolderOpen",
|
||||
"group": "navigation"
|
||||
}
|
||||
],
|
||||
"editor/context": [
|
||||
{
|
||||
"command": "C_Cpp.SwitchHeaderSource",
|
||||
"when": "config.C_Cpp.intelliSenseEngine != 'disabled' && config.C_Cpp.intelliSenseEngine != 'Disabled' && editorLangId == 'c' || config.C_Cpp.intelliSenseEngine != 'disabled' && config.C_Cpp.intelliSenseEngine != 'Disabled' && editorLangId == 'cpp' || config.C_Cpp.intelliSenseEngine != 'disabled' && config.C_Cpp.intelliSenseEngine != 'Disabled' && editorLangId == 'cuda-cpp'",
|
||||
"when": "editorLangId =~ /^(c|(cuda-)?cpp)$/ && !(config.C_Cpp.intelliSenseEngine =~ /^[dD]isabled$/)",
|
||||
"group": "custom1@1"
|
||||
},
|
||||
{
|
||||
"command": "workbench.action.gotoSymbol",
|
||||
"when": "config.C_Cpp.intelliSenseEngine != 'disabled' && config.C_Cpp.intelliSenseEngine != 'Disabled' && editorLangId == 'c' || config.C_Cpp.intelliSenseEngine != 'disabled' && config.C_Cpp.intelliSenseEngine != 'Disabled' && editorLangId == 'cpp' || config.C_Cpp.intelliSenseEngine != 'disabled' && config.C_Cpp.intelliSenseEngine != 'Disabled' && editorLangId == 'cuda-cpp'",
|
||||
"when": "editorLangId =~ /^(c|(cuda-)?cpp)$/ && !(config.C_Cpp.intelliSenseEngine =~ /^[dD]isabled$/)",
|
||||
"group": "custom1@2"
|
||||
},
|
||||
{
|
||||
"command": "workbench.action.showAllSymbols",
|
||||
"when": "config.C_Cpp.intelliSenseEngine != 'disabled' && config.C_Cpp.intelliSenseEngine != 'Disabled' && editorLangId == 'c' || config.C_Cpp.intelliSenseEngine != 'disabled' && config.C_Cpp.intelliSenseEngine != 'Disabled' && editorLangId == 'cpp' || config.C_Cpp.intelliSenseEngine != 'disabled' && config.C_Cpp.intelliSenseEngine != 'Disabled' && editorLangId == 'cuda-cpp'",
|
||||
"when": "editorLangId =~ /^(c|(cuda-)?cpp)$/ && !(config.C_Cpp.intelliSenseEngine =~ /^[dD]isabled$/)",
|
||||
"group": "custom1@3"
|
||||
},
|
||||
{
|
||||
"command": "C_Cpp.RunCodeAnalysisOnActiveFile",
|
||||
"when": "config.C_Cpp.intelliSenseEngine == 'Default' && editorLangId == 'c' || config.C_Cpp.intelliSenseEngine == 'default' && editorLangId == 'c' || config.C_Cpp.intelliSenseEngine == 'Default' && editorLangId == 'cpp' || config.C_Cpp.intelliSenseEngine == 'default' && editorLangId == 'cpp' || config.C_Cpp.intelliSenseEngine == 'Default' && editorLangId == 'cuda-cpp' || config.C_Cpp.intelliSenseEngine == 'default' && editorLangId == 'cuda-cpp'",
|
||||
"when": "editorLangId =~ /^(c|(cuda-)?cpp)$/ && config.C_Cpp.intelliSenseEngine =~ /^[dD]efault$/",
|
||||
"group": "custom2@1"
|
||||
},
|
||||
{
|
||||
"command": "C_Cpp.RestartIntelliSenseForFile",
|
||||
"when": "config.C_Cpp.intelliSenseEngine == 'Default' && editorLangId == 'c' || config.C_Cpp.intelliSenseEngine == 'default' && editorLangId == 'c' || config.C_Cpp.intelliSenseEngine == 'Default' && editorLangId == 'cpp' || config.C_Cpp.intelliSenseEngine == 'default' && editorLangId == 'cpp' || config.C_Cpp.intelliSenseEngine == 'Default' && editorLangId == 'cuda-cpp' || config.C_Cpp.intelliSenseEngine == 'default' && editorLangId == 'cuda-cpp'",
|
||||
"when": "editorLangId =~ /^(c|(cuda-)?cpp)$/ && config.C_Cpp.intelliSenseEngine =~ /^[dD]efault$/",
|
||||
"group": "custom2@2"
|
||||
},
|
||||
{
|
||||
"command": "C_Cpp.AddDebugConfiguration",
|
||||
"when": "editorLangId == 'c' && config.C_Cpp.debugShortcut && cpptools.buildAndDebug.isSourceFile && cpptools.buildAndDebug.isFolderOpen || editorLangId == 'cpp' && config.C_Cpp.debugShortcut && cpptools.buildAndDebug.isSourceFile && cpptools.buildAndDebug.isFolderOpen || editorLangId == 'cuda-cpp' && config.C_Cpp.debugShortcut && cpptools.buildAndDebug.isSourceFile && cpptools.buildAndDebug.isFolderOpen",
|
||||
"when": "editorLangId =~ /^(c|(cuda-)?cpp)$/ && config.C_Cpp.debugShortcut && cpptools.buildAndDebug.isSourceFile && cpptools.buildAndDebug.isFolderOpen",
|
||||
"group": "custom2@3"
|
||||
},
|
||||
{
|
||||
"command": "C_Cpp.GenerateDoxygenComment",
|
||||
"when": "editorLangId == 'c' && config.C_Cpp.intelliSenseEngine != 'disabled' && config.C_Cpp.intelliSenseEngine != 'Disabled' || editorLangId == 'cpp' && config.C_Cpp.intelliSenseEngine != 'disabled' && config.C_Cpp.intelliSenseEngine != 'Disabled' || editorLangId == 'cuda-cpp' && config.C_Cpp.intelliSenseEngine != 'disabled' && config.C_Cpp.intelliSenseEngine != 'Disabled'",
|
||||
"when": "editorLangId =~ /^(c|(cuda-)?cpp)$/ && !(config.C_Cpp.intelliSenseEngine =~ /^[dD]isabled$/)",
|
||||
"group": "custom2@4"
|
||||
},
|
||||
{
|
||||
"command": "C_Cpp.CreateDeclarationOrDefinition",
|
||||
"when": "editorLangId == 'c' && config.C_Cpp.intelliSenseEngine != 'disabled' && config.C_Cpp.intelliSenseEngine != 'Disabled' || editorLangId == 'cpp' && config.C_Cpp.intelliSenseEngine != 'disabled' && config.C_Cpp.intelliSenseEngine != 'Disabled' || editorLangId == 'cuda-cpp' && config.C_Cpp.intelliSenseEngine != 'disabled' && config.C_Cpp.intelliSenseEngine != 'Disabled'",
|
||||
"when": "editorLangId =~ /^(c|(cuda-)?cpp)$/ && !(config.C_Cpp.intelliSenseEngine =~ /^[dD]isabled$/)",
|
||||
"group": "custom2@5"
|
||||
}
|
||||
],
|
||||
"commandPalette": [
|
||||
{
|
||||
"command": "C_Cpp.ConfigurationSelect",
|
||||
"when": "!(config.C_Cpp.intelliSenseEngine =~ /^[dD]isabled$/)"
|
||||
},
|
||||
{
|
||||
"command": "C_Cpp.ConfigurationProviderSelect",
|
||||
"when": "!(config.C_Cpp.intelliSenseEngine =~ /^[dD]isabled$/)"
|
||||
},
|
||||
{
|
||||
"command": "C_Cpp.ConfigurationEditJSON",
|
||||
"when": "!(config.C_Cpp.intelliSenseEngine =~ /^[dD]isabled$/)"
|
||||
},
|
||||
{
|
||||
"command": "C_Cpp.ConfigurationEditUI",
|
||||
"when": "!(config.C_Cpp.intelliSenseEngine =~ /^[dD]isabled$/)"
|
||||
},
|
||||
{
|
||||
"command": "C_Cpp.SelectIntelliSenseConfiguration",
|
||||
"when": "!(config.C_Cpp.intelliSenseEngine =~ /^[dD]isabled$/)"
|
||||
},
|
||||
{
|
||||
"command": "C_Cpp.SwitchHeaderSource",
|
||||
"when": "editorLangId =~ /^(c|(cuda-)?cpp)$/ && !(config.C_Cpp.intelliSenseEngine =~ /^[dD]isabled$/)"
|
||||
},
|
||||
{
|
||||
"command": "C_Cpp.EnableErrorSquiggles",
|
||||
"when": "config.C_Cpp.intelliSenseEngine =~ /^[dD]efault$/"
|
||||
},
|
||||
{
|
||||
"command": "C_Cpp.DisableErrorSquiggles",
|
||||
"when": "config.C_Cpp.intelliSenseEngine =~ /^[dD]efault$/"
|
||||
},
|
||||
{
|
||||
"command": "C_Cpp.ToggleIncludeFallback",
|
||||
"when": "config.C_Cpp.intelliSenseEngine =~ /^[dD]efault$/"
|
||||
},
|
||||
{
|
||||
"command": "C_Cpp.ToggleDimInactiveRegions",
|
||||
"when": "config.C_Cpp.intelliSenseEngine =~ /^[dD]efault$/"
|
||||
},
|
||||
{
|
||||
"command": "C_Cpp.ResetDatabase",
|
||||
"when": "!(config.C_Cpp.intelliSenseEngine =~ /^[dD]isabled$/)"
|
||||
},
|
||||
{
|
||||
"command": "C_Cpp.RestartIntelliSenseForFile",
|
||||
"when": "editorLangId =~ /^(c|(cuda-)?cpp)$/ && config.C_Cpp.intelliSenseEngine =~ /^[dD]efault$/"
|
||||
},
|
||||
{
|
||||
"command": "C_Cpp.LogDiagnostics",
|
||||
"when": "editorLangId =~ /^(c|(cuda-)?cpp)$/ && !(config.C_Cpp.intelliSenseEngine =~ /^[dD]isabled$/)"
|
||||
},
|
||||
{
|
||||
"command": "C_Cpp.RescanWorkspace",
|
||||
"when": "!(config.C_Cpp.intelliSenseEngine =~ /^[dD]isabled$/)"
|
||||
},
|
||||
{
|
||||
"command": "C_Cpp.VcpkgClipboardInstallSuggested",
|
||||
"when": "editorLangId =~ /^(c|(cuda-)?cpp)$/ && config.C_Cpp.intelliSenseEngine =~ /^[dD]efault$/"
|
||||
},
|
||||
{
|
||||
"command": "C_Cpp.GenerateEditorConfig",
|
||||
"when": "!(config.C_Cpp.intelliSenseEngine =~ /^[dD]isabled$/)"
|
||||
},
|
||||
{
|
||||
"command": "C_Cpp.GoToNextDirectiveInGroup",
|
||||
"when": "editorLangId =~ /^(c|(cuda-)?cpp)$/ && !(config.C_Cpp.intelliSenseEngine =~ /^[dD]isabled$/)"
|
||||
},
|
||||
{
|
||||
"command": "C_Cpp.GoToPrevDirectiveInGroup",
|
||||
"when": "editorLangId =~ /^(c|(cuda-)?cpp)$/ && !(config.C_Cpp.intelliSenseEngine =~ /^[dD]isabled$/)"
|
||||
},
|
||||
{
|
||||
"command": "C_Cpp.CreateDeclarationOrDefinition",
|
||||
"when": "editorLangId =~ /^(c|(cuda-)?cpp)$/ && !(config.C_Cpp.intelliSenseEngine =~ /^[dD]isabled$/)"
|
||||
},
|
||||
{
|
||||
"command": "C_Cpp.RunCodeAnalysisOnActiveFile",
|
||||
"when": "editorLangId =~ /^(c|(cuda-)?cpp)$/ && config.C_Cpp.intelliSenseEngine =~ /^[dD]efault$/"
|
||||
},
|
||||
{
|
||||
"command": "C_Cpp.RunCodeAnalysisOnOpenFiles",
|
||||
"when": "config.C_Cpp.intelliSenseEngine =~ /^[dD]efault$/"
|
||||
},
|
||||
{
|
||||
"command": "C_Cpp.RunCodeAnalysisOnAllFiles",
|
||||
"when": "config.C_Cpp.intelliSenseEngine =~ /^[dD]efault$/"
|
||||
},
|
||||
{
|
||||
"command": "C_Cpp.RemoveAllCodeAnalysisProblems",
|
||||
"when": "config.C_Cpp.intelliSenseEngine =~ /^[dD]efault$/"
|
||||
},
|
||||
{
|
||||
"command": "C_Cpp.BuildAndDebugFile",
|
||||
"when": "editorLangId =~ /^(c|(cuda-)?cpp)$/ && config.C_Cpp.debugShortcut && cpptools.buildAndDebug.isSourceFile"
|
||||
},
|
||||
{
|
||||
"command": "C_Cpp.BuildAndRunFile",
|
||||
"when": "editorLangId =~ /^(c|(cuda-)?cpp)$/ && config.C_Cpp.debugShortcut && cpptools.buildAndDebug.isSourceFile"
|
||||
},
|
||||
{
|
||||
"command": "C_Cpp.AddDebugConfiguration",
|
||||
"when": "config.C_Cpp.debugShortcut && cpptools.buildAndDebug.isFolderOpen"
|
||||
},
|
||||
{
|
||||
"command": "C_Cpp.GenerateDoxygenComment",
|
||||
"when": "editorLangId =~ /^(c|(cuda-)?cpp)$/ && !(config.C_Cpp.intelliSenseEngine =~ /^[dD]isabled$/)"
|
||||
},
|
||||
{
|
||||
"command": "C_Cpp.referencesViewGroupByType",
|
||||
"when": "cpptools.hasReferencesResults"
|
||||
@@ -5526,7 +5772,7 @@
|
||||
"when": "cpptools.hasReferencesResults"
|
||||
},
|
||||
{
|
||||
"command": "C_Cpp.SelectDefaultCompiler",
|
||||
"command": "C_Cpp.InstallCompiler",
|
||||
"when": "never"
|
||||
},
|
||||
{
|
||||
@@ -6007,31 +6253,57 @@
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"codeActions": [
|
||||
{
|
||||
"languages": [
|
||||
"c",
|
||||
"cpp",
|
||||
"cuda-cpp"
|
||||
],
|
||||
"actions": {
|
||||
"kind": "refactor.inline.macro",
|
||||
"title": "%c_cpp.codeActions.refactor.inline.macro.title%",
|
||||
"description": "%c_cpp.codeActions.refactor.inline.macro.description%"
|
||||
}
|
||||
},
|
||||
{
|
||||
"languages": [
|
||||
"c",
|
||||
"cpp",
|
||||
"cuda-cpp"
|
||||
],
|
||||
"actions": {
|
||||
"kind": "refactor.extract.function",
|
||||
"title": "%c_cpp.codeActions.refactor.extract.function.title%",
|
||||
"description": "%c_cpp.codeActions.refactor.extract.function.description%"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"scripts": {
|
||||
"vscode:prepublish": "yarn run compile",
|
||||
"compile": "node ./tools/prepublish.js && gulp copy-walkthrough-media && gulp generate-native-strings && gulp translations-generate && webpack --mode production --env vscode_nls",
|
||||
"compile-dev": "node ./tools/prepublish.js && gulp copy-walkthrough-media && gulp generate-native-strings && webpack --mode development",
|
||||
"compile-watch": "node ./tools/prepublish.js && gulp copy-walkthrough-media && gulp generate-native-strings && gulp translations-generate && webpack --mode production --env vscode_nls --watch --progress",
|
||||
"compile-dev-watch": "node ./tools/prepublish.js && gulp copy-walkthrough-media && gulp generate-native-strings && webpack --mode development --watch --progress",
|
||||
"compile-unit-tests": "tsc --build test.tsconfig.json",
|
||||
"compile-watch-unit-tests": "tsc --build test.tsconfig.json --watch",
|
||||
"generateOptionsSchema": "node ./tools/prepublish.js && node ./out/tools/generateOptionsSchema.js",
|
||||
"generate-native-strings": "node ./tools/prepublish.js && gulp generate-native-strings",
|
||||
"translations-export": "node ./tools/prepublish.js && gulp generate-native-strings && gulp translations-export",
|
||||
"translations-generate": "node ./tools/prepublish.js && set NODE_OPTIONS=--no-experimental-fetch && gulp translations-generate",
|
||||
"translations-import": "node ./tools/prepublish.js && gulp translations-import",
|
||||
"copy-walkthrough-media": "node ./tools/prepublish.js && gulp copy-walkthrough-media",
|
||||
"prepublishjs": "node ./tools/prepublish.js",
|
||||
"pretest": "tsc -p test.tsconfig.json",
|
||||
"lint": "gulp lint",
|
||||
"unitTests": "tsc -p test.tsconfig.json && node ./out/test/unitTests/runTest.js",
|
||||
"internalUnitTests": "tsc -p test.tsconfig.json && mocha ./out/test/internalUnitTests/test*.js",
|
||||
"integrationTests": "tsc -p test.tsconfig.json && node ./out/test/integrationTests/languageServer/runTest.js",
|
||||
"intelliSenseFeaturesTests": "tsc -p test.tsconfig.json && node ./out/test/integrationTests/IntelliSenseFeatures/runTest.js",
|
||||
"import-edge-strings": "node ./import_edge_strings.js",
|
||||
"postinstall": "npx vscode-dts dev && npx vscode-dts main"
|
||||
"scripts": "ts-node -T .scripts/scripts.ts",
|
||||
"show": "ts-node -T .scripts/clean.ts show",
|
||||
"clean": "ts-node -T .scripts/clean.ts",
|
||||
"test": "yarn install && (yarn verify prep --quiet || yarn prep) && (yarn verify compiled --quiet || yarn build) && ts-node -T .scripts/test.ts",
|
||||
"code": "yarn install && (yarn verify compiled --quiet || yarn build) && yarn verify binaries && ts-node -T .scripts/code.ts",
|
||||
"verify": "ts-node -T .scripts/verify.ts",
|
||||
"prep": "yarn prep:dts && yarn copy-walkthrough-media && yarn generate-native-strings && yarn translations-generate",
|
||||
"lint": "yarn install && eslint -c .eslintrc.js --report-unused-disable-directives src test ui .scripts",
|
||||
"compile": "yarn install && (yarn verify prep --quiet || yarn prep) && yarn build",
|
||||
"watch": "yarn install && (yarn verify prep --quiet || yarn prep) && tsc --build tsconfig.json --watch",
|
||||
"rebuild": "yarn install && yarn clean && yarn prep && yarn build",
|
||||
"vscode:prepublish": "yarn install && yarn clean && yarn webpack",
|
||||
"webpack": "yarn install && (yarn verify prep --quiet || yarn prep) && tsc --build ui.tsconfig.json && webpack --mode production --env vscode_nls",
|
||||
"generate-native-strings": "ts-node -T ./.scripts/generateNativeStrings.ts",
|
||||
"generate-options-schema": "ts-node -T ./.scripts/generateOptionsSchema.ts",
|
||||
"copy-walkthrough-media": "ts-node -T ./.scripts/copyWalkthruMedia.ts",
|
||||
"translations-export": "yarn install && yarn prep && yarn generate-native-strings && gulp translations-export",
|
||||
"translations-generate": "set NODE_OPTIONS=--no-experimental-fetch && gulp translations-generate",
|
||||
"translations-import": "gulp translations-import",
|
||||
"import-edge-strings": "ts-node -T ./.scripts/import_edge_strings.ts",
|
||||
"prep:dts": "yarn verify dts --quiet || (npx vscode-dts dev && npx vscode-dts main)",
|
||||
"build": "yarn prep:dts && echo [Building TypeScript code] && tsc --build tsconfig.json"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@octokit/rest": "^18.12.0",
|
||||
@@ -6046,23 +6318,21 @@
|
||||
"@types/tmp": "^0.1.0",
|
||||
"@types/which": "^1.3.2",
|
||||
"@types/yauzl": "^2.9.1",
|
||||
"@typescript-eslint/eslint-plugin": "^5.59.11",
|
||||
"@typescript-eslint/parser": "^5.59.11",
|
||||
"@typescript-eslint/eslint-plugin": "^6.1.0",
|
||||
"@typescript-eslint/parser": "^6.1.0",
|
||||
"eslint-plugin-header": "^3.1.1",
|
||||
"@vscode/test-electron": "^2.3.3",
|
||||
"@vscode/dts": "^0.4.0",
|
||||
"async-child-process": "^1.1.1",
|
||||
"await-notify": "^1.0.1",
|
||||
"eslint": "^8.42.0",
|
||||
"eslint": "^8.45.0",
|
||||
"eslint-plugin-import": "^2.27.5",
|
||||
"eslint-plugin-jsdoc": "^46.2.6",
|
||||
"eslint-plugin-jsdoc": "^46.4.4",
|
||||
"event-stream": "^4.0.1",
|
||||
"fs-extra": "^8.1.0",
|
||||
"gulp": "^4.0.2",
|
||||
"gulp-env": "^0.4.0",
|
||||
"gulp-eslint-new": "^1.8.0",
|
||||
"gulp-filter": "^6.0.0",
|
||||
"gulp-mocha": "^8.0.0",
|
||||
"gulp-sourcemaps": "^2.6.5",
|
||||
"gulp-typescript": "^5.0.1",
|
||||
"minimist": "^1.2.7",
|
||||
@@ -6071,6 +6341,7 @@
|
||||
"parse5": "^5.1.0",
|
||||
"parse5-traverse": "^1.0.3",
|
||||
"ts-loader": "^8.1.0",
|
||||
"ts-node": "10.9.1",
|
||||
"typescript": "^5.1.3",
|
||||
"@vscode/debugadapter": "^1.61.0",
|
||||
"@vscode/debugprotocol": "^1.61.0",
|
||||
@@ -6089,6 +6360,7 @@
|
||||
"minimatch": "^3.0.5",
|
||||
"mkdirp": "^0.5.5",
|
||||
"node-loader": "^2.0.0",
|
||||
"node-stream-zip": "^1.15.0",
|
||||
"plist": "^3.0.5",
|
||||
"posix-getopt": "^1.2.1",
|
||||
"shell-quote": "^1.7.3",
|
||||
@@ -6098,8 +6370,7 @@
|
||||
"vscode-languageclient": "^8.1.0-next.4",
|
||||
"vscode-nls": "^5.0.0",
|
||||
"vscode-tas-client": "^0.1.27",
|
||||
"which": "^2.0.2",
|
||||
"yauzl": "^2.10.0"
|
||||
"which": "^2.0.2"
|
||||
},
|
||||
"resolutions": {
|
||||
"chokidar": "^3.5.3",
|
||||
|
||||
+699
-125
@@ -1,18 +1,18 @@
|
||||
{
|
||||
"c_cpp.subheaders.intelliSense.title" : "IntelliSense",
|
||||
"c_cpp.subheaders.formatting.title" : "Formatting",
|
||||
"c_cpp.subheaders.codeDocumentation.title" : "Code Documentation",
|
||||
"c_cpp.subheaders.codeAnalysis.title" : "Code Analysis",
|
||||
"c_cpp.subheaders.debugging.title" : "Debugging",
|
||||
"c_cpp.subheaders.resourceManagement.title" : "Resource Management",
|
||||
"c_cpp.subheaders.miscellaneous.title" : "Miscellaneous",
|
||||
"c_cpp.subheaders.intelliSense.title": "IntelliSense",
|
||||
"c_cpp.subheaders.formatting.title": "Formatting",
|
||||
"c_cpp.subheaders.codeDocumentation.title": "Code Documentation",
|
||||
"c_cpp.subheaders.codeAnalysis.title": "Code Analysis",
|
||||
"c_cpp.subheaders.debugging.title": "Debugging",
|
||||
"c_cpp.subheaders.resourceManagement.title": "Resource Management",
|
||||
"c_cpp.subheaders.miscellaneous.title": "Miscellaneous",
|
||||
"c_cpp.capabilities.untrustedWorkspaces.description": "Multiple settings can cause processes local to the workspace to be executed, e.g. C_Cpp.clang_format_path, C_Cpp.codeAnalysis.clangTidy.path, C_Cpp.addNodeAddonIncludePaths, C_Cpp.default.compilerPath, C_Cpp.default.configurationProvider, and C_Cpp.default.compileCommands, and the equivalent properties in c_cpp_properties.json.",
|
||||
"c_cpp.command.configurationSelect.title": "Select a Configuration...",
|
||||
"c_cpp.command.configurationProviderSelect.title": "Change Configuration Provider...",
|
||||
"c_cpp.command.configurationEditJSON.title": "Edit Configurations (JSON)",
|
||||
"c_cpp.command.configurationEditUI.title": "Edit Configurations (UI)",
|
||||
"c_cpp.command.selectDefaultCompiler.title": "Select Default Compiler...",
|
||||
"c_cpp.command.selectIntelliSenseConfiguration.title": "Select IntelliSense Configuration...",
|
||||
"c_cpp.command.installCompiler.title": "Install a C++ Compiler",
|
||||
"c_cpp.command.rescanCompilers.title": "Rescan for Compilers",
|
||||
"c_cpp.command.switchHeaderSource.title": "Switch Header/Source",
|
||||
"c_cpp.command.enableErrorSquiggles.title": "Enable Error Squiggles",
|
||||
@@ -48,66 +48,301 @@
|
||||
"c_cpp.command.activeSshTarget.title": "Get the active SSH target",
|
||||
"c_cpp.command.refreshCppSshTargetsView.title": "Refresh",
|
||||
"c_cpp.command.sshTerminal.title": "Connect to this SSH target in a new terminal",
|
||||
"c_cpp.configuration.maxConcurrentThreads.markdownDescription": { "message": "The maximum number of concurrent threads to use for language service processing. The value is a hint and may not always be used. The default of `null` (empty) uses the number of logical processors available.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.maxCachedProcesses.markdownDescription": { "message": "The maximum number of cached processes to use for language service processing. The default of `null` (empty) uses twice the number of logical processors available.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.maxMemory.markdownDescription": { "message": "The maximum memory (in MB) available for language service processing. Fewer processes will be cached and run concurrently after this memory usage is exceeded. The default of `null` (empty) uses the system's free memory.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.intelliSense.maxCachedProcesses.markdownDescription": { "message": "The maximum number of IntelliSense processes to keep running. The default of `null` (empty) uses value inherited from `#C_Cpp.maxCachedProcesses#`.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.intelliSense.maxMemory.markdownDescription": { "message": "Older IntelliSense processes will shut down before new processes are created after this memory usage (in MB) is exceeded. The default of `null` (empty) uses the value inherited from `#C_Cpp.maxMemory#`.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.references.maxConcurrentThreads.markdownDescription": { "message": "The maximum number of concurrent threads to use for 'Find All References' and 'Rename'. The default of `null` (empty) uses the value inherited from `#C_Cpp.maxConcurrentThreads#`.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.references.maxCachedProcesses.markdownDescription": { "message": "The maximum number of processes to keep in memory for 'Find All References' and 'Rename'. The default of `0` disables this feature. The value of `null` (empty) uses the value inherited from `#C_Cpp.maxCachedProcesses#`.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.references.maxMemory.markdownDescription": { "message": "Fewer 'Find All References' and 'Rename' processes will be cached and run concurrently after this memory usage (in MB) is exceeded. The default of `null` (empty) uses the value inherited from `#C_Cpp.maxMemory#`.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.codeAnalysis.maxConcurrentThreads.markdownDescription": { "message": "The maximum number of concurrent threads to use for code analysis. The default of `null` (empty) uses half the value inherited from `#C_Cpp.maxConcurrentThreads#`.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.codeAnalysis.maxMemory.markdownDescription": { "message": "Fewer code analysis processes will run concurrently after this memory usage (in MB) is exceeded. The default of `null` (empty) uses the value inherited from `#C_Cpp.maxMemory#`.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.codeAnalysis.updateDelay.markdownDescription": { "message": "Controls the delay in milliseconds before code analysis starts processing after a save is triggered from an edit when `#files.autoSave#` is `afterDelay` and `#C_Cpp.codeAnalysis.runAutomatically#` is `true`.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.codeAnalysis.exclude.markdownDescription": { "message": "Configure glob patterns for excluding folders and files for code analysis. Files not under the workspace folder are always excluded. Inherits values from `#files.exclude#` and `#C_Cpp.files.exclude#`. Read more about glob patterns [here](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options).", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.codeAnalysis.excludeBoolean.markdownDescription": { "message": "The glob pattern to match file paths against. Set to `true` or `false` to enable or disable the pattern.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.codeAnalysis.excludeWhen.markdownDescription": { "message": "Additional check on the siblings of a matching file. Use `$(basename)` as variable for the matching file name.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.codeAnalysis.runAutomatically.markdownDescription": { "message": "If `true`, code analysis will run automatically on a file after it is opened or saved.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.codeAnalysis.clangTidy.codeAction.showDisable.markdownDescription": { "message": "If `true`, the 'Disable' code action will be shown when available (the next time code analysis is run). When the 'Disable' code action is used, it adds the warning code to the `C_Cpp.codeAnalysis.clangTidy.checks.disabled` setting.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.codeAnalysis.clangTidy.codeAction.showDocumentation.markdownDescription": { "message": "If `true`, the 'Show Documentation for' code action will be shown when available (the next time code analysis is run).", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.maxConcurrentThreads.markdownDescription": {
|
||||
"message": "The maximum number of concurrent threads to use for language service processing. The value is a hint and may not always be used. The default of `null` (empty) uses the number of logical processors available.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.maxCachedProcesses.markdownDescription": {
|
||||
"message": "The maximum number of cached processes to use for language service processing. The default of `null` (empty) uses twice the number of logical processors available.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.maxMemory.markdownDescription": {
|
||||
"message": "The maximum memory (in MB) available for language service processing. Fewer processes will be cached and run concurrently after this memory usage is exceeded. The default of `null` (empty) uses the system's free memory.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.intelliSense.maxCachedProcesses.markdownDescription": {
|
||||
"message": "The maximum number of IntelliSense processes to keep running. The default of `null` (empty) uses value inherited from `#C_Cpp.maxCachedProcesses#`.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.intelliSense.maxMemory.markdownDescription": {
|
||||
"message": "Older IntelliSense processes will shut down before new processes are created after this memory usage (in MB) is exceeded. The default of `null` (empty) uses the value inherited from `#C_Cpp.maxMemory#`.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.references.maxConcurrentThreads.markdownDescription": {
|
||||
"message": "The maximum number of concurrent threads to use for 'Find All References' and 'Rename'. The default of `null` (empty) uses the value inherited from `#C_Cpp.maxConcurrentThreads#`.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.references.maxCachedProcesses.markdownDescription": {
|
||||
"message": "The maximum number of processes to keep in memory for 'Find All References' and 'Rename'. The default of `0` disables this feature. The value of `null` (empty) uses the value inherited from `#C_Cpp.maxCachedProcesses#`.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.references.maxMemory.markdownDescription": {
|
||||
"message": "Fewer 'Find All References' and 'Rename' processes will be cached and run concurrently after this memory usage (in MB) is exceeded. The default of `null` (empty) uses the value inherited from `#C_Cpp.maxMemory#`.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.codeAnalysis.maxConcurrentThreads.markdownDescription": {
|
||||
"message": "The maximum number of concurrent threads to use for code analysis. The default of `null` (empty) uses half the value inherited from `#C_Cpp.maxConcurrentThreads#`.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.codeAnalysis.maxMemory.markdownDescription": {
|
||||
"message": "Fewer code analysis processes will run concurrently after this memory usage (in MB) is exceeded. The default of `null` (empty) uses the value inherited from `#C_Cpp.maxMemory#`.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.codeAnalysis.updateDelay.markdownDescription": {
|
||||
"message": "Controls the delay in milliseconds before code analysis starts processing after a save is triggered from an edit when `#files.autoSave#` is `afterDelay` and `#C_Cpp.codeAnalysis.runAutomatically#` is `true`.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.codeAnalysis.exclude.markdownDescription": {
|
||||
"message": "Configure glob patterns for excluding folders and files for code analysis. Files not under the workspace folder are always excluded. Inherits values from `#files.exclude#` and `#C_Cpp.files.exclude#`. Read more about glob patterns [here](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options).",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.codeAnalysis.excludeBoolean.markdownDescription": {
|
||||
"message": "The glob pattern to match file paths against. Set to `true` or `false` to enable or disable the pattern.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.codeAnalysis.excludeWhen.markdownDescription": {
|
||||
"message": "Additional check on the siblings of a matching file. Use `$(basename)` as variable for the matching file name.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.codeAnalysis.runAutomatically.markdownDescription": {
|
||||
"message": "If `true`, code analysis will run automatically on a file after it is opened or saved.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.codeAnalysis.clangTidy.codeAction.showDisable.markdownDescription": {
|
||||
"message": "If `true`, the 'Disable' code action will be shown when available (the next time code analysis is run). When the 'Disable' code action is used, it adds the warning code to the `C_Cpp.codeAnalysis.clangTidy.checks.disabled` setting.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.codeAnalysis.clangTidy.codeAction.showDocumentation.markdownDescription": {
|
||||
"message": "If `true`, the 'Show Documentation for' code action will be shown when available (the next time code analysis is run).",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.codeAnalysis.clangTidy.codeAction.showClear.description": "Controls which 'Clear' code analysis problem code action options are available. Changing the setting to show more options may require re-running code analysis.",
|
||||
"c_cpp.configuration.codeAnalysis.clangTidy.codeAction.showClear.None.description": "Show no 'Clear' code actions.",
|
||||
"c_cpp.configuration.codeAnalysis.clangTidy.codeAction.showClear.AllOnly.description": "Show only the 'Clear all' code action (or 'Clear all <type>' if there is only one type or 'Clear this' if there is only one problem).",
|
||||
"c_cpp.configuration.codeAnalysis.clangTidy.codeAction.showClear.AllAndAllType.description": "Show the 'Clear all' code action (if there are multiple problem types) and the 'Clear all <type>' code action (or 'Clear this' if there is only one problem for the <type>)",
|
||||
"c_cpp.configuration.codeAnalysis.clangTidy.codeAction.showClear.AllAndAllTypeAndThis.description": "Show the 'Clear all' (if there are multiple problem types), 'Clear all <type>' (if there are multiple problems for the <type>), and 'Clear this' code actions",
|
||||
"c_cpp.configuration.codeAnalysis.clangTidy.codeAction.formatFixes.markdownDescription": { "message": "If `true`, formatting will be run on the lines changed by 'Fix' code actions.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.codeAnalysis.clangTidy.enabled.markdownDescription": { "message": "If `true`, code analysis using `clang-tidy` will be enabled and will run after a file is opened or saved if `#C_Cpp.codeAnalysis.runAutomatically#` is `true` (the default).", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.codeAnalysis.clangTidy.path.markdownDescription": { "message": "The full path of the `clang-tidy` executable. If not specified, and `clang-tidy` is available in the environment path, that is used. If not found in the environment path, the `clang-tidy` bundled with the extension will be used.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.codeAnalysis.clangTidy.config.markdownDescription": { "message": "Specifies a `clang-tidy` configuration in YAML/JSON format: `{Checks: '-*,clang-analyzer-*', CheckOptions: [{key: x, value: y}]}`. When the value is empty, `clang-tidy` will attempt to find a file named `.clang-tidy` for each source file in its parent directories.", "comment": [ "Words 'key' and 'value' in '{key: value, ...}' should be translated, but all other 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." ] },
|
||||
"c_cpp.configuration.codeAnalysis.clangTidy.fallbackConfig.markdownDescription": { "message": "Specifies a `clang-tidy` configuration in YAML/JSON format to be used as a fallback when `#C_Cpp.codeAnalysis.clangTidy.config#` is not set and no `.clang-tidy` file is found: `{Checks: '-*,clang-analyzer-*', CheckOptions: [{key: x, value: y}]}`.", "comment": [ "Words 'key' and 'value' in '{key: value, ...}' should be translated, but all other 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." ] },
|
||||
"c_cpp.configuration.codeAnalysis.clangTidy.headerFilter.markdownDescription": { "message": "A POSIX extended regular expression (ERE) matching the names of the headers to output diagnostics from. Diagnostics from the main file of each translation unit are always displayed. The `${workspaceFolder}` variable is supported (and is used as the default fallback value if no `.clang-tidy` file exists). If this option is not `null` (empty), it overrides the `HeaderFilterRegex` option in a `.clang-tidy` file, if any.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.codeAnalysis.clangTidy.args.markdownDescription": { "message": "Additional command line arguments to pass to `clang-tidy`. These take precedence over the equivalent `C_Cpp.codeAnalysis.clangTidy.*` settings.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.codeAnalysis.clangTidy.useBuildPath.markdownDescription": { "message": "If `true` and `compileCommands` is set, the `-p=<build-path>` argument is passed to `clang-tidy` instead of build arguments being passed after `--`. This may not work if environment variables aren't set so that system includes can be found.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.codeAnalysis.clangTidy.checks.enabled.markdownDescription": { "message": "List of enabled `clang-tidy` checks. The values are appended to the `Checks` in a `.clang-tidy` file or `#C_Cpp.codeAnalysis.clangTidy.config#`, if any. The default check `clang-analyzer-*` is always used unless it is explicitly disabled.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.codeAnalysis.clangTidy.checks.disabled.markdownDescription": { "message": "List of disabled `clang-tidy` checks. The values are appended to the `Checks` in a `.clang-tidy` file or `#C_Cpp.codeAnalysis.clangTidy.config#`, if any.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.codeAnalysis.clangTidy.codeAction.formatFixes.markdownDescription": {
|
||||
"message": "If `true`, formatting will be run on the lines changed by 'Fix' code actions.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.codeAnalysis.clangTidy.enabled.markdownDescription": {
|
||||
"message": "If `true`, code analysis using `clang-tidy` will be enabled and will run after a file is opened or saved if `#C_Cpp.codeAnalysis.runAutomatically#` is `true` (the default).",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.codeAnalysis.clangTidy.path.markdownDescription": {
|
||||
"message": "The full path of the `clang-tidy` executable. If not specified, and `clang-tidy` is available in the environment path, that is used. If not found in the environment path, the `clang-tidy` bundled with the extension will be used.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.codeAnalysis.clangTidy.config.markdownDescription": {
|
||||
"message": "Specifies a `clang-tidy` configuration in YAML/JSON format: `{Checks: '-*,clang-analyzer-*', CheckOptions: [{key: x, value: y}]}`. When the value is empty, `clang-tidy` will attempt to find a file named `.clang-tidy` for each source file in its parent directories.",
|
||||
"comment": [
|
||||
"Words 'key' and 'value' in '{key: value, ...}' should be translated, but all other 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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.codeAnalysis.clangTidy.fallbackConfig.markdownDescription": {
|
||||
"message": "Specifies a `clang-tidy` configuration in YAML/JSON format to be used as a fallback when `#C_Cpp.codeAnalysis.clangTidy.config#` is not set and no `.clang-tidy` file is found: `{Checks: '-*,clang-analyzer-*', CheckOptions: [{key: x, value: y}]}`.",
|
||||
"comment": [
|
||||
"Words 'key' and 'value' in '{key: value, ...}' should be translated, but all other 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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.codeAnalysis.clangTidy.headerFilter.markdownDescription": {
|
||||
"message": "A POSIX extended regular expression (ERE) matching the names of the headers to output diagnostics from. Diagnostics from the main file of each translation unit are always displayed. The `${workspaceFolder}` variable is supported (and is used as the default fallback value if no `.clang-tidy` file exists). If this option is not `null` (empty), it overrides the `HeaderFilterRegex` option in a `.clang-tidy` file, if any.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.codeAnalysis.clangTidy.args.markdownDescription": {
|
||||
"message": "Additional command line arguments to pass to `clang-tidy`. These take precedence over the equivalent `C_Cpp.codeAnalysis.clangTidy.*` settings.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.codeAnalysis.clangTidy.useBuildPath.markdownDescription": {
|
||||
"message": "If `true` and `compileCommands` is set, the `-p=<build-path>` argument is passed to `clang-tidy` instead of build arguments being passed after `--`. This may not work if environment variables aren't set so that system includes can be found.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.codeAnalysis.clangTidy.checks.enabled.markdownDescription": {
|
||||
"message": "List of enabled `clang-tidy` checks. The values are appended to the `Checks` in a `.clang-tidy` file or `#C_Cpp.codeAnalysis.clangTidy.config#`, if any. The default check `clang-analyzer-*` is always used unless it is explicitly disabled.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.codeAnalysis.clangTidy.checks.disabled.markdownDescription": {
|
||||
"message": "List of disabled `clang-tidy` checks. The values are appended to the `Checks` in a `.clang-tidy` file or `#C_Cpp.codeAnalysis.clangTidy.config#`, if any.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.formatting.description": "Configures the formatting engine.",
|
||||
"c_cpp.configuration.formatting.clangFormat.markdownDescription": { "message": "`clang-format` will be used to format code.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.formatting.vcFormat.markdownDescription": { "message": "The Visual C++ formatting engine will be used to format code.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.formatting.Default.markdownDescription": { "message": "By default, `clang-format` will be used to format the code. However, the Visual C++ formatting engine will be used if an `.editorconfig` file with relevant settings is found nearer to the code being formatted and `#C_Cpp.clang_format_style#` is the default value: `file`.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.formatting.Disabled.markdownDescription": { "message": "Code formatting will be disabled.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.vcFormat.indent.braces.markdownDescription": { "message": "Braces are indented by the amount specified in the `#editor.tabSize#` setting.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.formatting.clangFormat.markdownDescription": {
|
||||
"message": "`clang-format` will be used to format code.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.formatting.vcFormat.markdownDescription": {
|
||||
"message": "The Visual C++ formatting engine will be used to format code.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.formatting.Default.markdownDescription": {
|
||||
"message": "By default, `clang-format` will be used to format the code. However, the Visual C++ formatting engine will be used if an `.editorconfig` file with relevant settings is found nearer to the code being formatted and `#C_Cpp.clang_format_style#` is the default value: `file`.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.formatting.Disabled.markdownDescription": {
|
||||
"message": "Code formatting will be disabled.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.vcFormat.indent.braces.markdownDescription": {
|
||||
"message": "Braces are indented by the amount specified in the `#editor.tabSize#` setting.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.vcFormat.indent.multiLineRelativeTo.description": "Determines what new line indentation is relative to.",
|
||||
"c_cpp.configuration.vcFormat.indent.multiLineRelativeTo.outermostParenthesis.description": "Indent new line relative to the outermost open parenthesis.",
|
||||
"c_cpp.configuration.vcFormat.indent.multiLineRelativeTo.innermostParenthesis.description": "Indent new line relative to the innermost open parenthesis.",
|
||||
"c_cpp.configuration.vcFormat.indent.multiLineRelativeTo.statementBegin.description": "Indent new line relative to the beginning of the current statement.",
|
||||
"c_cpp.configuration.vcFormat.indent.withinParentheses.markdownDescription": { "message": "When a new line is typed, it is aligned under the opening parenthesis or based on `#C_Cpp.vcFormat.indent.multiLineRelativeTo#`.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.vcFormat.indent.withinParentheses.alignToParenthesis.markdownDescription": { "message": "New line is aligned under the opening parenthesis.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.vcFormat.indent.withinParentheses.indent.markdownDescription": { "message": "New line is indented based on `#C_Cpp.vcFormat.indent.multiLineRelativeTo#`.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.vcFormat.indent.withinParentheses.markdownDescription": {
|
||||
"message": "When a new line is typed, it is aligned under the opening parenthesis or based on `#C_Cpp.vcFormat.indent.multiLineRelativeTo#`.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.vcFormat.indent.withinParentheses.alignToParenthesis.markdownDescription": {
|
||||
"message": "New line is aligned under the opening parenthesis.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.vcFormat.indent.withinParentheses.indent.markdownDescription": {
|
||||
"message": "New line is indented based on `#C_Cpp.vcFormat.indent.multiLineRelativeTo#`.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.vcFormat.indent.preserveWithinParentheses.description": "In existing code, preserve the existing indent alignment of new lines within parentheses.",
|
||||
"c_cpp.configuration.vcFormat.indent.caseLabels.markdownDescription": { "message": "Labels are indented relative to switch statements by the amount specified in the `#editor.tabSize#` setting.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.vcFormat.indent.caseContents.markdownDescription": { "message": "Code inside a `case` block is indented relative to its label by the amount specified in the `#editor.tabSize#` setting.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.vcFormat.indent.caseContentsWhenBlock.markdownDescription": { "message": "Indent braces following a case statement by the amount specified in the `#editor.tabSize#` setting.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.vcFormat.indent.lambdaBracesWhenParameter.markdownDescription": { "message": "Indent braces of lambdas used as function parameters relative to the start of the statement by the amount specified in the `#editor.tabSize#` setting.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.vcFormat.indent.caseLabels.markdownDescription": {
|
||||
"message": "Labels are indented relative to switch statements by the amount specified in the `#editor.tabSize#` setting.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.vcFormat.indent.caseContents.markdownDescription": {
|
||||
"message": "Code inside a `case` block is indented relative to its label by the amount specified in the `#editor.tabSize#` setting.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.vcFormat.indent.caseContentsWhenBlock.markdownDescription": {
|
||||
"message": "Indent braces following a case statement by the amount specified in the `#editor.tabSize#` setting.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.vcFormat.indent.lambdaBracesWhenParameter.markdownDescription": {
|
||||
"message": "Indent braces of lambdas used as function parameters relative to the start of the statement by the amount specified in the `#editor.tabSize#` setting.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.vcFormat.indent.gotoLabels.description": "The position of goto labels.",
|
||||
"c_cpp.configuration.vcFormat.indent.gotoLabels.oneLeft.markdownDescription": { "message": "Position goto labels to the left of the current code indentation, by the amount specified in the `#editor.tabSize#` setting.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.vcFormat.indent.gotoLabels.leftmostColumn.markdownDescription": { "message": "Position goto labels at the leftmost edge of the code.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.vcFormat.indent.gotoLabels.none.markdownDescription": { "message": "Goto labels will not be formatted.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.vcFormat.indent.gotoLabels.oneLeft.markdownDescription": {
|
||||
"message": "Position goto labels to the left of the current code indentation, by the amount specified in the `#editor.tabSize#` setting.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.vcFormat.indent.gotoLabels.leftmostColumn.markdownDescription": {
|
||||
"message": "Position goto labels at the leftmost edge of the code.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.vcFormat.indent.gotoLabels.none.markdownDescription": {
|
||||
"message": "Goto labels will not be formatted.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.vcFormat.indent.preprocessor.description": "The position of preprocessor directives.",
|
||||
"c_cpp.configuration.vcFormat.indent.preprocessor.oneLeft.markdownDescription": { "message": "Preprocessor directives are positioned to the left of the current code indentation, by the amount specified in the `#editor.tabSize#` setting.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.vcFormat.indent.preprocessor.leftmostColumn.markdownDescription": { "message": "Preprocessor directives are positioned at the leftmost edge of the code.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.vcFormat.indent.preprocessor.none.markdownDescription": { "message": "Preprocessor directives will not be formatted.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.vcFormat.indent.accessSpecifiers.markdownDescription": { "message": "Access specifiers are indented relative to class or struct definitions by the amount specified in the `#editor.tabSize#` setting.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.vcFormat.indent.namespaceContents.markdownDescription": { "message": "Code is indented relative to its enclosing namespace by the amount specified in the `#editor.tabSize#` setting.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.vcFormat.indent.preprocessor.oneLeft.markdownDescription": {
|
||||
"message": "Preprocessor directives are positioned to the left of the current code indentation, by the amount specified in the `#editor.tabSize#` setting.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.vcFormat.indent.preprocessor.leftmostColumn.markdownDescription": {
|
||||
"message": "Preprocessor directives are positioned at the leftmost edge of the code.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.vcFormat.indent.preprocessor.none.markdownDescription": {
|
||||
"message": "Preprocessor directives will not be formatted.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.vcFormat.indent.accessSpecifiers.markdownDescription": {
|
||||
"message": "Access specifiers are indented relative to class or struct definitions by the amount specified in the `#editor.tabSize#` setting.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.vcFormat.indent.namespaceContents.markdownDescription": {
|
||||
"message": "Code is indented relative to its enclosing namespace by the amount specified in the `#editor.tabSize#` setting.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.vcFormat.indent.preserveComments.description": "Indentation of comments is not changed during formatting operations.",
|
||||
"c_cpp.configuration.vcFormat.newLine.beforeOpenBrace.namespace.description": "The position of opening braces for namespaces.",
|
||||
"c_cpp.configuration.vcFormat.newLine.beforeOpenBrace.type.description": "The position of opening braces for type definitions.",
|
||||
@@ -120,9 +355,24 @@
|
||||
"c_cpp.configuration.vcFormat.newLine.scopeBracesOnSeparateLines.description": "Place opening and closing braces for scopes on separate lines.",
|
||||
"c_cpp.configuration.vcFormat.newLine.closeBraceSameLine.emptyType.description": "For empty types, move closing braces to the same line as opening braces.",
|
||||
"c_cpp.configuration.vcFormat.newLine.closeBraceSameLine.emptyFunction.description": "For empty function bodies, move closing braces to the same line as opening braces.",
|
||||
"c_cpp.configuration.vcFormat.newLine.beforeCatch.markdownDescription": { "message": "Place `catch` and similar keywords on a new line.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.vcFormat.newLine.beforeElse.markdownDescription": { "message": "Place `else` on a new line.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.vcFormat.newLine.beforeWhileInDoWhile.markdownDescription": { "message": "Place `while` in a `do`-`while` loop on a new line.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.vcFormat.newLine.beforeCatch.markdownDescription": {
|
||||
"message": "Place `catch` and similar keywords on a new line.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.vcFormat.newLine.beforeElse.markdownDescription": {
|
||||
"message": "Place `else` on a new line.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.vcFormat.newLine.beforeWhileInDoWhile.markdownDescription": {
|
||||
"message": "Place `while` in a `do`-`while` loop on a new line.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.vcFormat.space.beforeFunctionOpenParenthesis.description": "Spacing between function names and opening parentheses of argument lists.",
|
||||
"c_cpp.configuration.vcFormat.space.beforeFunctionOpenParenthesis.insert.description": "Add a space before the opening parenthesis of a function.",
|
||||
"c_cpp.configuration.vcFormat.space.beforeFunctionOpenParenthesis.remove.description": "Spaces before opening parenthesis of a function are removed.",
|
||||
@@ -167,100 +417,410 @@
|
||||
"c_cpp.configuration.vcFormat.space.aroundOperators.remove.description": "Spaces before and after the operator are removed.",
|
||||
"c_cpp.configuration.vcFormat.space.aroundOperators.ignore.description": "Spaces are left as entered.",
|
||||
"c_cpp.configuration.vcFormat.wrap.preserveBlocks.description": "Wrapping options for blocks.",
|
||||
"c_cpp.configuration.vcFormat.wrap.preserveBlocks.oneLiners.markdownDescription": { "message": "A complete code block that is entered on one line is kept on one line, regardless of the values of any of the `C_Cpp.vcFormat.newLine.*` settings.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.vcFormat.wrap.preserveBlocks.allOneLineScopes.markdownDescription": { "message": "Any code where the opening and closing brace is entered on one line is kept on one line, regardless of the values of any of the `C_Cpp.vcFormat.newLine.*` settings.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.vcFormat.wrap.preserveBlocks.never.markdownDescription": { "message": "Code blocks are always formatted based on the values of the `C_Cpp.vcFormat.newLine.*` settings.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.clang_format_path.markdownDescription": { "message": "The full path of the `clang-format` executable. If not specified, and `clang-format` is available in the environment path, that is used. If not found in the environment path, the `clang-format` bundled with the extension will be used.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.clang_format_style.markdownDescription": { "message": "Coding style, currently supports: `Visual Studio`, `LLVM`, `Google`, `Chromium`, `Mozilla`, `WebKit`, `Microsoft`, `GNU`. Use `file` to load the style from a `.clang-format` file in the current or parent directory, or use `file:<path>/.clang-format` to reference a specific path. Use `{key: value, ...}` to set specific parameters. For example, the `Visual Studio` style is similar to: `{ BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Allman, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All, FixNamespaceComments: false }`.", "comment": [ "Words 'key' and 'value' in '{key: value, ...}' and the word 'path' in 'file:<path>/.clang-format' should be translated, but all other 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." ] },
|
||||
"c_cpp.configuration.clang_format_fallbackStyle.markdownDescription": { "message": "Name of the predefined style used as a fallback in case `clang-format` is invoked with style `file` but the `.clang-format` file is not found. Possible values are `Visual Studio`, `LLVM`, `Google`, `Chromium`, `Mozilla`, `WebKit`, `Microsoft`, `GNU`, `none`, or use `{key: value, ...}` to set specific parameters. For example, the `Visual Studio` style is similar to: `{ BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Allman, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All, FixNamespaceComments: false }`.", "comment": [ "Words 'key' and 'value' in '{key: value, ...}' should be translated, but all other 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." ] },
|
||||
"c_cpp.configuration.clang_format_sortIncludes.markdownDescription": { "message": "If set, overrides the include sorting behavior determined by the `SortIncludes` parameter.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.vcFormat.wrap.preserveBlocks.oneLiners.markdownDescription": {
|
||||
"message": "A complete code block that is entered on one line is kept on one line, regardless of the values of any of the `C_Cpp.vcFormat.newLine.*` settings.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.vcFormat.wrap.preserveBlocks.allOneLineScopes.markdownDescription": {
|
||||
"message": "Any code where the opening and closing brace is entered on one line is kept on one line, regardless of the values of any of the `C_Cpp.vcFormat.newLine.*` settings.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.vcFormat.wrap.preserveBlocks.never.markdownDescription": {
|
||||
"message": "Code blocks are always formatted based on the values of the `C_Cpp.vcFormat.newLine.*` settings.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.clang_format_path.markdownDescription": {
|
||||
"message": "The full path of the `clang-format` executable. If not specified, and `clang-format` is available in the environment path, that is used. If not found in the environment path, the `clang-format` bundled with the extension will be used.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.clang_format_style.markdownDescription": {
|
||||
"message": "Coding style, currently supports: `Visual Studio`, `LLVM`, `Google`, `Chromium`, `Mozilla`, `WebKit`, `Microsoft`, `GNU`. Use `file` to load the style from a `.clang-format` file in the current or parent directory, or use `file:<path>/.clang-format` to reference a specific path. Use `{key: value, ...}` to set specific parameters. For example, the `Visual Studio` style is similar to: `{ BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Allman, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All, FixNamespaceComments: false }`.",
|
||||
"comment": [
|
||||
"Words 'key' and 'value' in '{key: value, ...}' and the word 'path' in 'file:<path>/.clang-format' should be translated, but all other 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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.clang_format_fallbackStyle.markdownDescription": {
|
||||
"message": "Name of the predefined style used as a fallback in case `clang-format` is invoked with style `file` but the `.clang-format` file is not found. Possible values are `Visual Studio`, `LLVM`, `Google`, `Chromium`, `Mozilla`, `WebKit`, `Microsoft`, `GNU`, `none`, or use `{key: value, ...}` to set specific parameters. For example, the `Visual Studio` style is similar to: `{ BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Allman, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All, FixNamespaceComments: false }`.",
|
||||
"comment": [
|
||||
"Words 'key' and 'value' in '{key: value, ...}' should be translated, but all other 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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.clang_format_sortIncludes.markdownDescription": {
|
||||
"message": "If set, overrides the include sorting behavior determined by the `SortIncludes` parameter.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.intelliSenseEngine.description": "Controls the IntelliSense provider.",
|
||||
"c_cpp.configuration.intelliSenseEngine.default.description": "Provides context-aware results via a separate IntelliSense process.",
|
||||
"c_cpp.configuration.intelliSenseEngine.tagParser.description": "Provides \"fuzzy\" results that are not context-aware.",
|
||||
"c_cpp.configuration.intelliSenseEngine.disabled.description": "Turns off C/C++ language service features.",
|
||||
"c_cpp.configuration.intelliSenseEngineFallback.markdownDescription": { "message": "Controls whether the IntelliSense engine will automatically switch to the Tag Parser for translation units containing `#include` errors.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.autocomplete.markdownDescription": { "message": "Controls the auto-completion provider. If `disabled` and you want word-based completion, you will also need to set `\"[cpp]\": {\"editor.wordBasedSuggestions\": true}` (and similarly for `c` and `cuda-cpp` languages).", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.intelliSenseEngineFallback.markdownDescription": {
|
||||
"message": "Controls whether the IntelliSense engine will automatically switch to the Tag Parser for translation units containing `#include` errors.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.autocomplete.markdownDescription": {
|
||||
"message": "Controls the auto-completion provider. If `disabled` and you want word-based completion, you will also need to set `\"[cpp]\": {\"editor.wordBasedSuggestions\": true}` (and similarly for `c` and `cuda-cpp` languages).",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.autocomplete.default.description": "Uses the active IntelliSense engine.",
|
||||
"c_cpp.configuration.autocomplete.disabled.description": "Uses the word-based completion provided by Visual Studio Code.",
|
||||
"c_cpp.configuration.errorSquiggles.description": "Controls whether suspected compile errors detected by the IntelliSense engine will be reported back to the editor. It also controls whether code analysis warnings are reported if includes can't be found. This setting is ignored by the Tag Parser engine.",
|
||||
"c_cpp.configuration.dimInactiveRegions.description": "Controls whether inactive preprocessor blocks are colored differently than active code. This setting has no effect if IntelliSense is disabled or if using the Default High Contrast theme.",
|
||||
"c_cpp.configuration.inactiveRegionOpacity.markdownDescription": { "message": "Controls the opacity of inactive preprocessor blocks. Scales between `0.1` and `1.0`. This setting only applies when inactive region dimming is enabled.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.inactiveRegionOpacity.markdownDescription": {
|
||||
"message": "Controls the opacity of inactive preprocessor blocks. Scales between `0.1` and `1.0`. This setting only applies when inactive region dimming is enabled.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.inactiveRegionForegroundColor.description": "Controls the font coloring of inactive preprocessor blocks. Input is in the form a hexadecimal color code or a valid Theme Color. If not set, this defaults to the syntax coloring scheme of the editor. This setting only applies when inactive region dimming is enabled.",
|
||||
"c_cpp.configuration.inactiveRegionBackgroundColor.description": "Controls the background coloring of inactive preprocessor blocks. Input is in the form a hexadecimal color code or a valid Theme Color. If not set, this defaults to transparent. This setting only applies when inactive region dimming is enabled.",
|
||||
"c_cpp.configuration.inlayHints.autoDeclarationTypes.enabled.markdownDescription": { "message": "Display inlay hints for deduced type when `auto` is used in a declaration:\n```cpp \n\n auto index /* : int */ = 0;\n```", "comment": [ "Markdown text between `` and the text inside ``` block is code and should not be localized." ] },
|
||||
"c_cpp.configuration.inlayHints.autoDeclarationTypes.showOnLeft.markdownDescription": { "message": "Display inlay hints for deduced type when `auto` is used in a declaration on the left of the identifier:\n```cpp \n\n auto /* int */ index = 0;\n```", "comment": [ "Markdown text between `` and the text inside ``` block is code and should not be localized." ] },
|
||||
"c_cpp.configuration.inlayHints.parameterNames.enabled.markdownDescription": { "message": "Display inlay hints for parameter names:\n```cpp \n\n int a = getArea(/* width: */ x, /* height: */ y);\n```", "comment": [ "Markdown text between `` and the text inside ``` block is code and should not be localized." ] },
|
||||
"c_cpp.configuration.inlayHints.parameterNames.hideLeadingUnderscores.markdownDescription": { "message": "Hide leading `_` in parameter name hints.", "comment": [ "Markdown text between `` is code and should not be localized." ] },
|
||||
"c_cpp.configuration.inlayHints.parameterNames.suppressWhenArgumentContainsName.markdownDescription": { "message": "Suppress parameter name hints when the argument text or inline comment contains the parameter name:\n```cpp \n\n int a = getArea(width, /* height: */ y);\n```", "comment": [ "Markdown text between `` and the text inside ``` block is code and should not be localized." ] },
|
||||
"c_cpp.configuration.inlayHints.referenceOperator.enabled.markdownDescription": { "message": "Display the inlay hint reference operator `&` for parameters passed by non-const reference:\n```cpp \n\n swap(/* &first: */ str1, /* &last: */ str2);\n```", "comment": [ "Markdown text between `` and the text inside ``` block is code and should not be localized." ] },
|
||||
"c_cpp.configuration.inlayHints.referenceOperator.showSpace.markdownDescription": { "message": "Controls whether a space is shown after `&` for parameters passed by non-const reference:\n```cpp \n\n swap(/* & first: */ str1, /* & last: */ str2);\n```", "comment": [ "Markdown text between `` and the text inside ``` block is code and should not be localized." ] },
|
||||
"c_cpp.configuration.loggingLevel.markdownDescription": { "message": "The verbosity of logging in the Output Panel. The order of levels from least verbose to most verbose is: `None` < `Error` < `Warning` < `Information` < `Debug`.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.autoAddFileAssociations.markdownDescription": { "message": "Controls whether files are automatically added to `#files.associations#` when they are the target of a navigation operation from a C/C++ file.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.workspaceParsingPriority.markdownDescription": { "message": "Controls whether parsing of the non-active workspace files uses sleeps to avoid using 100% CPU. The values `highest`/`high`/`medium`/`low` correspond to approximately 100/75/50/25% CPU usage.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.workspaceSymbols.description": { "message": "The symbols to include in the query results when 'Go to Symbol in Workspace' is invoked.", "comment": [ "Text in '' is a command and should be translated in the same way that VS Code itself translates it." ] },
|
||||
"c_cpp.configuration.exclusionPolicy.markdownDescription": { "message": "Instructs the extension when to use the `#files.exclude#` (and `#C_Cpp.files.exclude#`) setting when determining which files should be added to the code navigation database while traversing through the paths in the `browse.path` array. If your `#files.exclude#` setting only contains folders, then `checkFolders` is the best choice and will increase the speed at which the extension can initialize the code navigation database.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.inlayHints.autoDeclarationTypes.enabled.markdownDescription": {
|
||||
"message": "Display inlay hints for deduced type when `auto` is used in a declaration:\n```cpp \n\n auto index /* : int */ = 0;\n```",
|
||||
"comment": [
|
||||
"Markdown text between `` and the text inside ``` block is code and should not be localized."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.inlayHints.autoDeclarationTypes.showOnLeft.markdownDescription": {
|
||||
"message": "Display inlay hints for deduced type when `auto` is used in a declaration on the left of the identifier:\n```cpp \n\n auto /* int */ index = 0;\n```",
|
||||
"comment": [
|
||||
"Markdown text between `` and the text inside ``` block is code and should not be localized."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.inlayHints.parameterNames.enabled.markdownDescription": {
|
||||
"message": "Display inlay hints for parameter names:\n```cpp \n\n int a = getArea(/* width: */ x, /* height: */ y);\n```",
|
||||
"comment": [
|
||||
"Markdown text between `` and the text inside ``` block is code and should not be localized."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.inlayHints.parameterNames.hideLeadingUnderscores.markdownDescription": {
|
||||
"message": "Hide leading `_` in parameter name hints.",
|
||||
"comment": [
|
||||
"Markdown text between `` is code and should not be localized."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.inlayHints.parameterNames.suppressWhenArgumentContainsName.markdownDescription": {
|
||||
"message": "Suppress parameter name hints when the argument text or inline comment contains the parameter name:\n```cpp \n\n int a = getArea(width, /* height: */ y);\n```",
|
||||
"comment": [
|
||||
"Markdown text between `` and the text inside ``` block is code and should not be localized."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.inlayHints.referenceOperator.enabled.markdownDescription": {
|
||||
"message": "Display the inlay hint reference operator `&` for parameters passed by non-const reference:\n```cpp \n\n swap(/* &first: */ str1, /* &last: */ str2);\n```",
|
||||
"comment": [
|
||||
"Markdown text between `` and the text inside ``` block is code and should not be localized."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.inlayHints.referenceOperator.showSpace.markdownDescription": {
|
||||
"message": "Controls whether a space is shown after `&` for parameters passed by non-const reference:\n```cpp \n\n swap(/* & first: */ str1, /* & last: */ str2);\n```",
|
||||
"comment": [
|
||||
"Markdown text between `` and the text inside ``` block is code and should not be localized."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.loggingLevel.markdownDescription": {
|
||||
"message": "The verbosity of logging in the Output Panel. The order of levels from least verbose to most verbose is: `None` < `Error` < `Warning` < `Information` < `Debug`.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.autoAddFileAssociations.markdownDescription": {
|
||||
"message": "Controls whether files are automatically added to `#files.associations#` when they are the target of a navigation operation from a C/C++ file.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.workspaceParsingPriority.markdownDescription": {
|
||||
"message": "Controls whether parsing of the non-active workspace files uses sleeps to avoid using 100% CPU. The values `highest`/`high`/`medium`/`low` correspond to approximately 100/75/50/25% CPU usage.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.workspaceSymbols.description": {
|
||||
"message": "The symbols to include in the query results when 'Go to Symbol in Workspace' is invoked.",
|
||||
"comment": [
|
||||
"Text in '' is a command and should be translated in the same way that VS Code itself translates it."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.exclusionPolicy.markdownDescription": {
|
||||
"message": "Instructs the extension when to use the `#files.exclude#` (and `#C_Cpp.files.exclude#`) setting when determining which files should be added to the code navigation database while traversing through the paths in the `browse.path` array. If your `#files.exclude#` setting only contains folders, then `checkFolders` is the best choice and will increase the speed at which the extension can initialize the code navigation database.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.exclusionPolicy.checkFolders.description": "The exclusion filters will only be evaluated once per folder (individual files are not checked).",
|
||||
"c_cpp.configuration.exclusionPolicy.checkFilesAndFolders.description": "The exclusion filters will be evaluated against every file and folder encountered.",
|
||||
"c_cpp.configuration.preferredPathSeparator.markdownDescription": { "message": "The character used as a path separator for `#include` auto-completion results.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.simplifyStructuredComments.markdownDescription": { "message": "If `true`, tooltips of hover and auto-complete will only display certain labels of structured comments. Otherwise, all comments are displayed.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.doxygen.generateOnType.description": "Controls whether to automatically insert the Doxygen comment after typing the chosen comment style.",
|
||||
"c_cpp.configuration.preferredPathSeparator.markdownDescription": {
|
||||
"message": "The character used as a path separator for `#include` auto-completion results.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.simplifyStructuredComments.markdownDescription": {
|
||||
"message": "If `true`, tooltips of hover and auto-complete will only display certain labels of structured comments. Otherwise, all comments are displayed.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.doxygen.generateOnType.description": "Controls whether to automatically insert the Doxygen comment after typing the chosen comment style.",
|
||||
"c_cpp.configuration.doxygen.generatedStyle.description": "The string of characters used as the starting line of the Doxygen comment.",
|
||||
"c_cpp.configuration.doxygen.sectionTags.description": "Select the Doxygen section tags that you would like to appear on hover in the tooltip area when the 'Simplify Structured Comments' setting is enabled. ",
|
||||
"c_cpp.configuration.commentContinuationPatterns.items.anyof.string.markdownDescription": { "message": "The pattern that begins a multiline or single line comment block. The continuation pattern defaults to ` * ` for multiline comment blocks or this string for single line comment blocks.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.commentContinuationPatterns.items.anyof.string.markdownDescription": {
|
||||
"message": "The pattern that begins a multiline or single line comment block. The continuation pattern defaults to ` * ` for multiline comment blocks or this string for single line comment blocks.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.commentContinuationPatterns.items.anyof.object.begin.description": "The pattern that begins a multiline or single line comment block.",
|
||||
"c_cpp.configuration.commentContinuationPatterns.items.anyof.object.continue.description": "The text that will be inserted on the next line when Enter is pressed inside a multiline or single line comment block.",
|
||||
"c_cpp.configuration.commentContinuationPatterns.description": "Defines the editor behavior for when the Enter key is pressed inside a multiline or single line comment block.",
|
||||
"c_cpp.configuration.configurationWarnings.description": "Determines whether pop up notifications will be shown when a configuration provider extension is unable to provide a configuration for a source file.",
|
||||
"c_cpp.configuration.intelliSenseCachePath.markdownDescription": { "message": "Defines the folder path for cached precompiled headers used by IntelliSense. The default cache path is `%LocalAppData%/Microsoft/vscode-cpptools` on Windows, `$XDG_CACHE_HOME/vscode-cpptools/` on Linux (or `$HOME/.cache/vscode-cpptools/` if `XDG_CACHE_HOME` is not defined), and `$HOME/Library/Caches/vscode-cpptools/` on macOS. The default path will be used if no path is specified or if a specified path is invalid.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.intelliSenseCacheSize.markdownDescription": { "message": "Maximum size of the per-workspace hard drive space in megabytes (MB) for cached precompiled headers; the actual usage may fluctuate around this value. The default size is `5120` MB. Precompiled header caching is disabled when the size is `0`.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.intelliSenseMemoryLimit.markdownDescription": { "message": "Memory usage limit in megabytes (MB) of an IntelliSense process. The default is `4096` and the maximum is `16384`. The extension will shutdown and restart an IntelliSense process when it exceeds the limit.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.intelliSenseCachePath.markdownDescription": {
|
||||
"message": "Defines the folder path for cached precompiled headers used by IntelliSense. The default cache path is `%LocalAppData%/Microsoft/vscode-cpptools` on Windows, `$XDG_CACHE_HOME/vscode-cpptools/` on Linux (or `$HOME/.cache/vscode-cpptools/` if `XDG_CACHE_HOME` is not defined), and `$HOME/Library/Caches/vscode-cpptools/` on macOS. The default path will be used if no path is specified or if a specified path is invalid.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.intelliSenseCacheSize.markdownDescription": {
|
||||
"message": "Maximum size of the per-workspace hard drive space in megabytes (MB) for cached precompiled headers; the actual usage may fluctuate around this value. The default size is `5120` MB. Precompiled header caching is disabled when the size is `0`.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.intelliSenseMemoryLimit.markdownDescription": {
|
||||
"message": "Memory usage limit in megabytes (MB) of an IntelliSense process. The default is `4096` and the maximum is `16384`. The extension will shutdown and restart an IntelliSense process when it exceeds the limit.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.intelliSenseUpdateDelay.description": "Controls the delay in milliseconds before IntelliSense starts updating after a modification.",
|
||||
"c_cpp.configuration.default.includePath.markdownDescription": { "message": "The value to use in a configuration if `includePath` is not specified in `c_cpp_properties.json`. If `includePath` is specified, add `${default}` to the array to insert the values from this setting. Usually, this should not include system includes; instead, set `#C_Cpp.default.compilerPath#`.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.default.defines.markdownDescription": { "message": "The value to use in a configuration if `defines` is not specified, or the values to insert if `${default}` is present in `defines`.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.default.macFrameworkPath.markdownDescription": { "message": "The value to use in a configuration if `macFrameworkPath` is not specified, or the values to insert if `${default}` is present in `macFrameworkPath`.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.default.windowsSdkVersion.markdownDescription": { "message": "Version of the Windows SDK include path to use on Windows, e.g. `10.0.17134.0`.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.default.compileCommands.markdownDescription": { "message": "The value to use in a configuration if `compileCommands` is either not specified, or set to `${default}`.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.default.forcedInclude.markdownDescription": { "message": "The value to use in a configuration if `forcedInclude` is not specified, or the values to insert if `${default}` is present in `forcedInclude`.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.default.intelliSenseMode.markdownDescription": { "message": "The value to use in a configuration if `intelliSenseMode` is either not specified or set to `${default}`.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.default.compilerPath.markdownDescription": { "message": "The value to use in a configuration if `compilerPath` is either not specified or set to `${default}`.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.default.compilerArgs.markdownDescription": { "message": "The value to use in configuration if `compilerArgs` is either not specified or set to `${default}`.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.default.cStandard.markdownDescription": { "message": "The value to use in a configuration if `cStandard` is either not specified or set to `${default}`.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.default.cppStandard.markdownDescription": { "message": "The value to use in a configuration if `cppStandard` is either not specified or set to `${default}`.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.default.configurationProvider.markdownDescription": { "message": "The value to use in a configuration if `configurationProvider` is either not specified or set to `${default}`.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.default.mergeConfigurations.markdownDescription": { "message": "Set to `true` to merge include paths, defines, and forced includes with those from a configuration provider.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.default.browse.path.markdownDescription": { "message": "The value to use in a configuration if `browse.path` is not specified, or the values to insert if `${default}` is present in `browse.path`.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.default.browse.databaseFilename.markdownDescription": { "message": "The value to use in a configuration if `browse.databaseFilename` is either not specified or set to `${default}`.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.default.browse.limitSymbolsToIncludedHeaders.markdownDescription": { "message": "The value to use in a configuration if `browse.limitSymbolsToIncludedHeaders` is either not specified or set to `${default}`.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.default.systemIncludePath.markdownDescription": { "message": "The value to use for the system include path. If set, it overrides the system include path acquired via `compilerPath` and `compileCommands` settings.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.default.enableConfigurationSquiggles.markdownDescription": { "message": "Controls whether the extension will report errors detected in `c_cpp_properties.json`.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.default.customConfigurationVariables.markdownDescription": { "message": "The value to use in a configuration if `customConfigurationVariables` is not set, or the values to insert if `${default}` is present as a key in `customConfigurationVariables`.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.updateChannel.markdownDescription": { "message": "Set to `Insiders` to automatically download and install the latest Insiders builds of the extension, which include upcoming features and bug fixes.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.default.includePath.markdownDescription": {
|
||||
"message": "The value to use in a configuration if `includePath` is not specified in `c_cpp_properties.json`. If `includePath` is specified, add `${default}` to the array to insert the values from this setting. Usually, this should not include system includes; instead, set `#C_Cpp.default.compilerPath#`.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.default.defines.markdownDescription": {
|
||||
"message": "The value to use in a configuration if `defines` is not specified, or the values to insert if `${default}` is present in `defines`.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.default.macFrameworkPath.markdownDescription": {
|
||||
"message": "The value to use in a configuration if `macFrameworkPath` is not specified, or the values to insert if `${default}` is present in `macFrameworkPath`.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.default.windowsSdkVersion.markdownDescription": {
|
||||
"message": "Version of the Windows SDK include path to use on Windows, e.g. `10.0.17134.0`.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.default.compileCommands.markdownDescription": {
|
||||
"message": "The value to use in a configuration if `compileCommands` is either not specified, or set to `${default}`.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.default.forcedInclude.markdownDescription": {
|
||||
"message": "The value to use in a configuration if `forcedInclude` is not specified, or the values to insert if `${default}` is present in `forcedInclude`.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.default.intelliSenseMode.markdownDescription": {
|
||||
"message": "The value to use in a configuration if `intelliSenseMode` is either not specified or set to `${default}`.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.default.compilerPath.markdownDescription": {
|
||||
"message": "The value to use in a configuration if `compilerPath` is either not specified or set to `${default}`.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.default.compilerArgs.markdownDescription": {
|
||||
"message": "The value to use in configuration if `compilerArgs` is either not specified or set to `${default}`.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.default.cStandard.markdownDescription": {
|
||||
"message": "The value to use in a configuration if `cStandard` is either not specified or set to `${default}`.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.default.cppStandard.markdownDescription": {
|
||||
"message": "The value to use in a configuration if `cppStandard` is either not specified or set to `${default}`.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.default.configurationProvider.markdownDescription": {
|
||||
"message": "The value to use in a configuration if `configurationProvider` is either not specified or set to `${default}`.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.default.mergeConfigurations.markdownDescription": {
|
||||
"message": "Set to `true` to merge include paths, defines, and forced includes with those from a configuration provider.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.default.browse.path.markdownDescription": {
|
||||
"message": "The value to use in a configuration if `browse.path` is not specified, or the values to insert if `${default}` is present in `browse.path`.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.default.browse.databaseFilename.markdownDescription": {
|
||||
"message": "The value to use in a configuration if `browse.databaseFilename` is either not specified or set to `${default}`.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.default.browse.limitSymbolsToIncludedHeaders.markdownDescription": {
|
||||
"message": "The value to use in a configuration if `browse.limitSymbolsToIncludedHeaders` is either not specified or set to `${default}`.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.default.systemIncludePath.markdownDescription": {
|
||||
"message": "The value to use for the system include path. If set, it overrides the system include path acquired via `compilerPath` and `compileCommands` settings.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.default.enableConfigurationSquiggles.markdownDescription": {
|
||||
"message": "Controls whether the extension will report errors detected in `c_cpp_properties.json`.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.default.customConfigurationVariables.markdownDescription": {
|
||||
"message": "The value to use in a configuration if `customConfigurationVariables` is not set, or the values to insert if `${default}` is present as a key in `customConfigurationVariables`.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.updateChannel.markdownDescription": {
|
||||
"message": "Set to `Insiders` to automatically download and install the latest Insiders builds of the extension, which include upcoming features and bug fixes.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.updateChannel.deprecationMessage": "This setting is deprecated. Pre-release extensions are now available via the Marketplace.",
|
||||
"c_cpp.configuration.default.dotConfig.markdownDescription": { "message": "The value to use in a configuration if `dotConfig` is not specified, or the value to insert if `${default}` is present in `dotConfig`.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.default.dotConfig.markdownDescription": {
|
||||
"message": "The value to use in a configuration if `dotConfig` is not specified, or the value to insert if `${default}` is present in `dotConfig`.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.experimentalFeatures.description": "Controls whether \"experimental\" features are usable.",
|
||||
"c_cpp.configuration.suggestSnippets.markdownDescription": { "message": "If `true`, snippets are provided by the language server.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.caseSensitiveFileSupport.markdownDescription": { "message": "If set to `default`, the file system of the workspace is assumed to be case insensitive on Windows and case sensitive on macOS or Linux. If set to `enabled`, the file system of the workspace is assumed to be case sensitive on Windows.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.enhancedColorization.markdownDescription": { "message": "If enabled, code is colorized based on IntelliSense. This setting only applies if `#C_Cpp.intelliSenseEngine#` is set to `default`.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.suggestSnippets.markdownDescription": {
|
||||
"message": "If `true`, snippets are provided by the language server.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.caseSensitiveFileSupport.markdownDescription": {
|
||||
"message": "If set to `default`, the file system of the workspace is assumed to be case insensitive on Windows and case sensitive on macOS or Linux. If set to `enabled`, the file system of the workspace is assumed to be case sensitive on Windows.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.enhancedColorization.markdownDescription": {
|
||||
"message": "If enabled, code is colorized based on IntelliSense. This setting only applies if `#C_Cpp.intelliSenseEngine#` is set to `default`.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.codeFolding.description": "If enabled, code folding ranges are provided by the language server.",
|
||||
"c_cpp.configuration.markdownInComments.description": "Select whether markdown will be available in the hover tooltip. By default, only a subset of markdown will be applied to comments in the hover tooltip.",
|
||||
"c_cpp.configuration.markdownInComments.subsetEnabled.description": "Enable all markdown features in the hover tooltip except those that include the '_' and '*' characters.",
|
||||
"c_cpp.configuration.markdownInComments.enabled.description": "Enable all markdown features in the hover tooltip.",
|
||||
"c_cpp.configuration.markdownInComments.disabled.description": "Disable all markdown features in the hover tooltip.",
|
||||
"c_cpp.configuration.hover.description": "If disabled, hover details are no longer provided by the language server.",
|
||||
"c_cpp.configuration.vcpkg.enabled.markdownDescription": { "message": "Enable integration services for the [vcpkg dependency manager](https://aka.ms/vcpkg/).", "comment": [ "Markdown text between () should not be altered: https://en.wikipedia.org/wiki/Markdown" ] },
|
||||
"c_cpp.configuration.addNodeAddonIncludePaths.markdownDescription": { "message": "Add include paths from `nan` and `node-addon-api` when they are dependencies.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.renameRequiresIdentifier.markdownDescription": { "message": "If `true`, 'Rename Symbol' will require a valid C/C++ identifier.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.autocompleteAddParentheses.markdownDescription": { "message": "If `true`, autocomplete will automatically add `(` after function calls, in which case `)` may also be added, depending on the value of the `#editor.autoClosingBrackets#` setting.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.filesExclude.markdownDescription": { "message": "Configure glob patterns for excluding folders (and files if `#C_Cpp.exclusionPolicy#` is changed). These are specific to the C/C++ extension and are in addition to `#files.exclude#`, but unlike `#files.exclude#` they also apply to paths outside the current workspace folder and are not removed from the Explorer view. Read more about glob patterns [here](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options).", "comment": [ "Markdown text between `` and [) should not be translated and the capitalization, spacing, and punctuation (including the ``) should not be altered: https://en.wikipedia.org/wiki/Markdown" ] },
|
||||
"c_cpp.configuration.filesExcludeBoolean.markdownDescription": { "message": "The glob pattern to match file paths against. Set to `true` or `false` to enable or disable the pattern.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.filesExcludeWhen.markdownDescription": { "message": "Additional check on the siblings of a matching file. Use `$(basename)` as variable for the matching file name.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.debugger.useBacktickCommandSubstitution.markdownDescription": { "message": "If `true`, debugger shell command substitution will use obsolete backtick ``(`)``.", "comment": [ "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." ] },
|
||||
"c_cpp.configuration.vcpkg.enabled.markdownDescription": {
|
||||
"message": "Enable integration services for the [vcpkg dependency manager](https://aka.ms/vcpkg/).",
|
||||
"comment": [
|
||||
"Markdown text between () should not be altered: https://en.wikipedia.org/wiki/Markdown"
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.addNodeAddonIncludePaths.markdownDescription": {
|
||||
"message": "Add include paths from `nan` and `node-addon-api` when they are dependencies.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.renameRequiresIdentifier.markdownDescription": {
|
||||
"message": "If `true`, 'Rename Symbol' will require a valid C/C++ identifier.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.autocompleteAddParentheses.markdownDescription": {
|
||||
"message": "If `true`, autocomplete will automatically add `(` after function calls, in which case `)` may also be added, depending on the value of the `#editor.autoClosingBrackets#` setting.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.filesExclude.markdownDescription": {
|
||||
"message": "Configure glob patterns for excluding folders (and files if `#C_Cpp.exclusionPolicy#` is changed). These are specific to the C/C++ extension and are in addition to `#files.exclude#`, but unlike `#files.exclude#` they also apply to paths outside the current workspace folder and are not removed from the Explorer view. Read more about glob patterns [here](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options).",
|
||||
"comment": [
|
||||
"Markdown text between `` and [) should not be translated and the capitalization, spacing, and punctuation (including the ``) should not be altered: https://en.wikipedia.org/wiki/Markdown"
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.filesExcludeBoolean.markdownDescription": {
|
||||
"message": "The glob pattern to match file paths against. Set to `true` or `false` to enable or disable the pattern.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.filesExcludeWhen.markdownDescription": {
|
||||
"message": "Additional check on the siblings of a matching file. Use `$(basename)` as variable for the matching file name.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.debugger.useBacktickCommandSubstitution.markdownDescription": {
|
||||
"message": "If `true`, debugger shell command substitution will use obsolete backtick ``(`)``.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.legacyCompilerArgsBehavior.markdownDescription": "Enable pre-v1.10.0 behavior for how shell escaping is handled in compiler arg settings. Shell escaping is no longer expected or supported by default in arg arrays starting in v1.10.0.",
|
||||
"c_cpp.configuration.legacyCompilerArgsBehavior.deprecationMessage": "This setting is temporary to support transitioning to corrected behavior in v1.10.0.",
|
||||
"c_cpp.configuration.sshTargetsView.description": "Controls whether the SSH Targets view is visible. By default, enable the view when an SSH command is invoked.",
|
||||
"c_cpp.contributes.views.cppReferencesView.title": "C/C++: Other references results",
|
||||
"c_cpp.contributes.views.sshTargetsView.title": { "message": "Cpptools: SSH targets", "comment": [ "Do not localize `Cpptools`." ] },
|
||||
"c_cpp.contributes.viewsWelcome.contents": { "message": "To learn more about launch.json, see [Configuring C/C++ debugging](https://code.visualstudio.com/docs/cpp/launch-json-reference).", "comment": [ "Markdown text between () should not be altered: https://en.wikipedia.org/wiki/Markdown" ] },
|
||||
"c_cpp.contributes.views.sshTargetsView.title": {
|
||||
"message": "Cpptools: SSH targets",
|
||||
"comment": [
|
||||
"Do not localize `Cpptools`."
|
||||
]
|
||||
},
|
||||
"c_cpp.contributes.viewsWelcome.contents": {
|
||||
"message": "To learn more about launch.json, see [Configuring C/C++ debugging](https://code.visualstudio.com/docs/cpp/launch-json-reference).",
|
||||
"comment": [
|
||||
"Markdown text between () should not be altered: https://en.wikipedia.org/wiki/Markdown"
|
||||
]
|
||||
},
|
||||
"c_cpp.configuration.debugShortcut.description": "Show the \"Run and Debug\" play button and \"Add Debug Configuration\" gear in the editor title bar for C++ files.",
|
||||
"c_cpp.debuggers.pipeTransport.description": "When present, this tells the debugger to connect to a remote computer using another executable as a pipe that will relay standard input/output between VS Code and the MI-enabled debugger backend executable (such as gdb).",
|
||||
"c_cpp.debuggers.pipeTransport.default.pipeProgram": "enter the fully qualified path for the pipe program name, for example '/usr/bin/ssh'.",
|
||||
@@ -396,7 +956,12 @@
|
||||
"c_cpp.semanticTokenTypes.templateType.description": "Style for C++ template types.",
|
||||
"c_cpp.semanticTokenTypes.operatorOverload.description": "Style for C++ overloaded operators.",
|
||||
"c_cpp.semanticTokenTypes.memberOperatorOverload.description": "Style for C++ overloaded operator member functions.",
|
||||
"c_cpp.semanticTokenTypes.newOperator.description": { "message": "Style for C++ `new` or `delete` operators.", "comment": [ "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." ] },
|
||||
"c_cpp.semanticTokenTypes.newOperator.description": {
|
||||
"message": "Style for C++ `new` or `delete` operators.",
|
||||
"comment": [
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"c_cpp.semanticTokenTypes.customLiteral.description": "Style for C++ user-defined literals.",
|
||||
"c_cpp.semanticTokenTypes.numberLiteral.description": "Style for C++ user-defined literal numbers.",
|
||||
"c_cpp.semanticTokenTypes.stringLiteral.description": "Style for C++ user-defined literal strings.",
|
||||
@@ -411,8 +976,9 @@
|
||||
"c_cpp.walkthrough.description": "Dive into VS Code's rich C++ development experience.",
|
||||
"c_cpp.walkthrough.set.up.title": "Set up your C++ Environment",
|
||||
"c_cpp.walkthrough.activating.description": "Activating the C++ extension to determine whether your C++ Environment has been set up.\nActivating Extension...",
|
||||
"c_cpp.walkthrough.no.compilers.description": "We could not find a C++ compiler on your machine, which is required to use the C++ extension. Follow the instructions on the right to install one, then click “Find my new Compiler” below.\n[Find my new Compiler](command:C_Cpp.RescanCompilers?%7B%22sender%22%3A%22walkthrough%22%7D)",
|
||||
"c_cpp.walkthrough.compilers.found.description": "The C++ extension works with a C++ compiler. Select one from those already on your machine by clicking the button below.\n[Select my Default Compiler](command:C_Cpp.SelectDefaultCompiler?%7B%22sender%22%3A%22walkthrough%22%7D)",
|
||||
"c_cpp.walkthrough.no.compilers.windows.description": "We could not find a C++ compiler on your machine, which is required to use the C++ extension. Follow the instructions on the right to install one, then click “Find my new Compiler” below.\n[Find my new Compiler](command:C_Cpp.RescanCompilers?%22walkthrough%22)",
|
||||
"c_cpp.walkthrough.no.compilers.description": "We could not find a C++ compiler on your machine, which is required to use the C++ extension. Either select “Install a C++ Compiler” to have a compiler installed for you or follow the instructions on the right to install one, then click “Find my new Compiler” below.\n[Install a C++ Compiler](command:C_Cpp.InstallCompiler?%22walkthrough%22)\n[Find my new Compiler](command:C_Cpp.RescanCompilers?%22walkthrough%22)",
|
||||
"c_cpp.walkthrough.compilers.found.description": "The C++ extension works with a C++ compiler. Select one from those already on your machine by clicking the button below.\n[Select my Default Compiler](command:C_Cpp.SelectIntelliSenseConfiguration?%22walkthrough%22)",
|
||||
"c_cpp.walkthrough.compilers.found.altText": "Image showing the select a default compiler quickpick and the list of compilers found on the users machine, one of which is selected.",
|
||||
"c_cpp.walkthrough.create.cpp.file.title": "Create a C++ file",
|
||||
"c_cpp.walkthrough.create.cpp.file.description": "[Open](command:toSide:workbench.action.files.openFile) or [create](command:toSide:workbench.action.files.newUntitledFile?%7B%22languageId%22%3A%22cpp%22%7D) a C++ file. Be sure to save it with the \".cpp\" extension, such as \"helloworld.cpp\". \n[Create a C++ File](command:toSide:workbench.action.files.newUntitledFile?%7B%22languageId%22%3A%22cpp%22%7D)",
|
||||
@@ -428,5 +994,13 @@
|
||||
"c_cpp.walkthrough.customize.debugging.mac.description": "You can customize your debug configuration (e.g. to pass arguments to your program at run time) by selecting \"Add Debug Configuration\" to the right of the play button. The custom debug configuration is saved in your project's launch.json file. \n[Learn More](https://code.visualstudio.com/docs/cpp/config-linux#_debug-helloworldcpp)",
|
||||
"c_cpp.walkthrough.customize.debugging.linux.description": "You can customize your debug configuration (e.g. to pass arguments to your program at run time) by selecting \"Add Debug Configuration\" to the right of the play button. The custom debug configuration is saved in your project's launch.json file. \n[Learn More](https://code.visualstudio.com/docs/cpp/config-msvc#_debug-helloworldcpp)",
|
||||
"c_cpp.walkthrough.customize.debugging.windows.description": "You can customize your debug configuration (e.g. to pass arguments to your program at run time) by selecting \"Add Debug Configuration\" to the right of the play button. The custom debug configuration is saved in your project's launch.json file. \n[Learn More](https://code.visualstudio.com/docs/cpp/config-clang-mac#_debug-helloworldcpp)",
|
||||
"c_cpp.walkthrough.customize.debugging.altText": "Image that shows Add Debug Configuration in the drop-down"
|
||||
"c_cpp.walkthrough.customize.debugging.altText": "Image that shows Add Debug Configuration in the drop-down",
|
||||
"c_cpp.codeActions.refactor.inline.macro.title": "Inline macro",
|
||||
"c_cpp.codeActions.refactor.inline.macro.description": "Replace the macro invocation with the expanded code.",
|
||||
"c_cpp.codeActions.refactor.extract.function.title": "Extract to function",
|
||||
"c_cpp.codeActions.refactor.extract.function.description": "Extract the selected code to a free or member function.",
|
||||
"c_cpp.configuration.refactoring.includeHeader.markdownDescription": "Controls whether to include the header file of a refactored function/symbol to its corresponding source file when doing a refactoring action, such as create declaration/definition.",
|
||||
"c_cpp.configuration.refactoring.includeHeader.always.description": "Always include the header file if it is not included explicitly in its source file.",
|
||||
"c_cpp.configuration.refactoring.includeHeader.ifNeeded.description": "Only include the header file if it is not included explicitly in its source file or through implicit inclusion.",
|
||||
"c_cpp.configuration.refactoring.includeHeader.never.description": "Never include the header file."
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user