Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion Extension/.vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"editor.defaultFormatter": "vscode.json-language-features",
"editor.tabSize": 4,
"editor.detectIndentation": true,
"files.insertFinalNewline": false
"files.insertFinalNewline": true
},
"[jsonc]": {
"editor.formatOnSave": true,
Expand Down
2 changes: 1 addition & 1 deletion Extension/.yarn-bootstrap/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Extension/.yarn-bootstrap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
"devDependencies": {
"yarn": "1.22.22"
}
}
}
3 changes: 2 additions & 1 deletion Extension/bin/messages/cs/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3747,5 +3747,6 @@
"„static“ je zde nestandardní",
"%nd byl dříve deklarován bez explicitního základu výčtu",
"Chybějící typename je tady nestandardní.",
"Zkrácená syntaxe šablony funkce není standardní pro vodítka dedukce"
"Zkrácená syntaxe šablony funkce není standardní pro vodítka dedukce",
"too many nested user-defined conversions (possible cycle of converting constructors)"
]
5 changes: 3 additions & 2 deletions Extension/bin/messages/de/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3747,5 +3747,6 @@
"„static“ entspricht hier nicht dem Standard",
"%nd wurde zuvor ohne explizite Enumerationsbasis deklariert",
"Fehlender „typename“ entspricht hier nicht dem Standard.",
"Die abgekürzte Funktionsvorlagensyntax entspricht nicht dem Standard für Deduktionsleitfäden."
]
"Die abgekürzte Funktionsvorlagensyntax entspricht nicht dem Standard für Deduktionsleitfäden.",
"too many nested user-defined conversions (possible cycle of converting constructors)"
]
5 changes: 3 additions & 2 deletions Extension/bin/messages/es/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3747,5 +3747,6 @@
"\"static\" no es estándar aquí",
"%nd se declaró previamente sin una base explícita de enumeración",
"falta 'typename' no estándar aquí",
"La sintaxis abreviada de las plantillas de funciones no es estándar para las guías de deducción"
]
"La sintaxis abreviada de las plantillas de funciones no es estándar para las guías de deducción",
"too many nested user-defined conversions (possible cycle of converting constructors)"
]
3 changes: 2 additions & 1 deletion Extension/bin/messages/fr/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3747,5 +3747,6 @@
"« static » n’est pas standard ici",
"%nd a été déclaré précédemment sans base d’énumération explicite",
"le mot-clé « typename » manquant n’est pas standard ici",
"la syntaxe abrégée du modèle de fonction n’est pas standard pour les guides de déduction"
"la syntaxe abrégée du modèle de fonction n’est pas standard pour les guides de déduction",
"too many nested user-defined conversions (possible cycle of converting constructors)"
]
3 changes: 2 additions & 1 deletion Extension/bin/messages/it/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3747,5 +3747,6 @@
"'static' non è standard qui",
"%nd era stato dichiarato in precedenza senza una base di enumerazione esplicita",
"manca 'typename' che qui non è standard",
"la sintassi abbreviata del modello di funzione non è standard per le guide alla deduzione"
"la sintassi abbreviata del modello di funzione non è standard per le guide alla deduzione",
"too many nested user-defined conversions (possible cycle of converting constructors)"
]
3 changes: 2 additions & 1 deletion Extension/bin/messages/ja/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3747,5 +3747,6 @@
"'static' はここでは非標準です",
"%nd は、明示的な列挙型ベースなしで以前に宣言されました",
"見つからない 'typename' はここでは非標準です",
"省略形の関数テンプレート構文は、推論ガイドでは非標準です"
"省略形の関数テンプレート構文は、推論ガイドでは非標準です",
"too many nested user-defined conversions (possible cycle of converting constructors)"
]
3 changes: 2 additions & 1 deletion Extension/bin/messages/ko/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3747,5 +3747,6 @@
"여기서 'static'은 표준이 아닙니다.",
"%nd은(는) 이전에 명시적 열거형 기반 없이 선언되었습니다.",
"여기서 누락된 'typename'이 표준이 아닙니다.",
"약식 함수 템플릿 구문은 추론 가이드에 대한 표준이 아닙니다."
"약식 함수 템플릿 구문은 추론 가이드에 대한 표준이 아닙니다.",
"too many nested user-defined conversions (possible cycle of converting constructors)"
]
3 changes: 2 additions & 1 deletion Extension/bin/messages/pl/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3747,5 +3747,6 @@
"„static” jest tutaj niestandardowy",
"funkcja %nd została poprzednio zadeklarowana bez jawnej bazy wyliczenia",
"brak elementu „typename” jest tutaj niestandardowe",
"skrócona składnia szablonu funkcji jest niestandardowa dla przewodników dedukcji"
"skrócona składnia szablonu funkcji jest niestandardowa dla przewodników dedukcji",
"too many nested user-defined conversions (possible cycle of converting constructors)"
]
3 changes: 2 additions & 1 deletion Extension/bin/messages/pt-br/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3747,5 +3747,6 @@
"\"static\" não é padrão aqui",
"%nd foi declarado anteriormente sem uma base de enumeração explícita",
"\"typename\" ausente não é padrão aqui",
"a sintaxe abreviada de template de função é não padrão para guias de dedução"
"a sintaxe abreviada de template de função é não padrão para guias de dedução",
"too many nested user-defined conversions (possible cycle of converting constructors)"
]
3 changes: 2 additions & 1 deletion Extension/bin/messages/ru/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3747,5 +3747,6 @@
"\"static\" является здесь нестандартным",
"%nd ранее был объявлен без явной базы перечисления",
"отсутствие typename здесь является нестандартным",
"сокращенный синтаксис шаблона функции не является стандартным для правил дедукции"
"сокращенный синтаксис шаблона функции не является стандартным для правил дедукции",
"too many nested user-defined conversions (possible cycle of converting constructors)"
]
3 changes: 2 additions & 1 deletion Extension/bin/messages/tr/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3747,5 +3747,6 @@
"'static' burada standart dışıdır",
"%nd daha önce açık bir sabit liste tabanı olmadan tanımlanmıştı",
"eksik 'typename' burada standart dışı",
"kısaltılmış işlev şablonu sözdizimi çıkarsama kılavuzları için standart değil"
"kısaltılmış işlev şablonu sözdizimi çıkarsama kılavuzları için standart değil",
"too many nested user-defined conversions (possible cycle of converting constructors)"
]
3 changes: 2 additions & 1 deletion Extension/bin/messages/zh-cn/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3747,5 +3747,6 @@
"此处使用 \"static\" 不符合标准",
"之前声明 %nd 时未指定显式枚举基类型",
"此处缺少 'typename' 属于非标准用法",
"缩写函数模板语法对于推导指南是不标准的"
"缩写函数模板语法对于推导指南是不标准的",
"too many nested user-defined conversions (possible cycle of converting constructors)"
]
3 changes: 2 additions & 1 deletion Extension/bin/messages/zh-tw/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3747,5 +3747,6 @@
"此處使用的 'static' 非標準",
"%nd 先前宣告時未明確指定的列舉基底",
"此處缺少 'typename' 非標準用法",
"簡化函式範本語法在推導指南中並非標準用法"
"簡化函式範本語法在推導指南中並非標準用法",
"too many nested user-defined conversions (possible cycle of converting constructors)"
]
2 changes: 1 addition & 1 deletion Extension/c_cpp_properties.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -300,4 +300,4 @@
"version"
],
"additionalProperties": false
}
}
12 changes: 12 additions & 0 deletions Extension/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,18 @@ gulp.task("translations-import", (done) => {
let id = language.transifexId || language.id;
return gulp.src(path.join(options.location, id, translationProjectName, `${translationExtensionName}.xlf`))
.pipe(nls.prepareJsonFiles())
.pipe(es.map((file, cb) => {
// vscode-nls-dev emits .i18n.json files without a trailing newline. Append one so the
// checked-in files match the repo convention (files.insertFinalNewline for [json]) and
// don't produce churn the next time they're opened and saved in VS Code.
if (file.isBuffer()) {
const contents = file.contents;
if (contents.length > 0 && contents[contents.length - 1] !== 0x0A) {
file.contents = Buffer.concat([contents, Buffer.from("\n")]);
}
}
cb(null, file);
}))
.pipe(gulp.dest(path.join("./i18n", language.folderName)))
.pipe(es.wait()); // This is required or it gives `this.pipeTo.end is not a function`.
}))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
"reinstall.extension.text7": "然后通过 VS Code 中的市场 UI 重新安装。",
"reinstall.extension.text8": "如果 VS Code 无法部署扩展的正确版本,则可以 {0} 并使用 VS Code 中市场 UI 内 \"...\" 菜单下的 \"从 VSIX... 安装\" 选项安装系统的正确 VSIX。",
"download.vsix.link.title": "已从 VS Code 市场网站下载"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@
"c_cpp_properties.schema.json.definitions.env": "可以使用 `${变量}` 或 `${env:变量}` 语法在此文件中的任何位置重复使用的自定义变量。",
"c_cpp_properties.schema.json.definitions.version": "配置文件的版本。此属性由扩展托管。请勿更改它。",
"c_cpp_properties.schema.json.definitions.enableConfigurationSquiggles": "控制扩展是否将报告在 `c_cpp_properties.json` 中检测到的错误。"
}
}
2 changes: 1 addition & 1 deletion Extension/i18n/chs/package.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -460,4 +460,4 @@
"c_cpp.configuration.refactoring.includeHeader.never.description": "从不包含头文件。",
"c_cpp.languageModelTools.configuration.displayName": "C/C++ 配置",
"c_cpp.languageModelTools.configuration.userDescription": "活动 C 或 C++ 文件的配置,例如语言标准版本和目标平台。"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
// Do not edit this file. It is machine generated.
{
"ignoring.lines.in.envfile": "忽略 {0} {1} 中不可分析的行: "
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
"attach.to.process": "附加到进程",
"select.process.attach": "选择要附加到的进程",
"process.not.selected": "未选择进程。"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
"no.process.list": "传输附加无法获取进程列表。",
"failed.to.make.gdb.connection": "无法建立 GDB 连接:“{0}”。",
"failed.to.parse.processes": "无法分析进程:“{0}”。"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@
"path.to.pipe.program": "管道程序的完整路径,如 {0}",
"enable.pretty.printing": "为 {0} 启用整齐打印",
"enable.intel.disassembly.flavor": "将反汇编风格设置为 {0}"
}
}
2 changes: 1 addition & 1 deletion Extension/i18n/chs/src/Debugger/configurations.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
"launch.bash.windows": "使用 {0} 在 Windows 上的 Bash 中启动。",
"bash.on.windows.attach": "Windows 上的 Bash 附加",
"remote.attach.bash.windows": "使用 {0} 附加到在 Windows 上的 Bash 中运行的远程进程。"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
"debugger.unsupported.properties": "具有以下属性的启动配置无法直接在终端中运行: {0}",
"debugger.fallback.message": "程序输出将改为显示在调试控制台中。",
"debugger.fallback.message2": "若要取消显示此警告,请在启动配置中将 'ignoreRunWithoutDebuggingWarnings' 属性设置为 true。"
}
}
2 changes: 1 addition & 1 deletion Extension/i18n/chs/src/Debugger/extension.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
"yes": "是",
"no": "否",
"ssh.target.delete.confirmation": "是否确定要永久删除“{0}”?"
}
}
2 changes: 1 addition & 1 deletion Extension/i18n/chs/src/Debugger/nativeAttach.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
"cancel.processList.spawn": "已取消“{0}”。",
"error.processList.spawn": "“{0}”已退出,代码为“{1}”。",
"failed.processList.spawn": "未能生成“{0}”。"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
// Do not edit this file. It is machine generated.
{
"no.terminal.emulator": "找不到终端仿真器。请将 $TERMINAL 环境变量设置为你选择的终端仿真器,或安装以下程序之一: x-terminal-emulator、gnome-terminal、konsole、xterm。"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
{
"generate.copilot.description": "生成 Copilot 摘要",
"copilot.disclaimer": "AI 生成的内容可能不正确。"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
"expands.to": "扩展到:",
"inline.macro": "内联宏",
"inline.macro.not.available": "内联宏在此位置不可用。"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
{
"invalid.identifier.for.rename": "为“重命名符号”操作提供的标识符无效。",
"unable.to.locate.selected.symbol": "找不到所选符号的定义。"
}
}
2 changes: 1 addition & 1 deletion Extension/i18n/chs/src/LanguageServer/client.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@
"handle.extract.new.function": "NewFunction",
"handle.extract.error": "未能提取到函数: {0}",
"invalid.edit": "未能提取到函数。生成了无效的编辑:“{0}”"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
"clear.this.problem": "清除此 {0} 问题",
"fix.this.problem": "修复此 {0} 问题",
"show.documentation.for": "显示 {0} 文档"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@
"multiple.paths.not.allowed": "不允许使用多个路径。",
"multiple.paths.should.be.separate.entries": "多个路径应是数组中的单独条目。",
"paths.are.not.directories": "路径不是目录: {0}"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
// Do not edit this file. It is machine generated.
{
"copilot.relatedfilesprovider.error": "检索结果时出错。原因: {0}"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
"build.finished.with.error": "生成已完成,但出现错误。",
"build.finished.with.warnings": "生成已完成,但收到警告。",
"build.finished.successfully": "生成已成功完成。"
}
}
2 changes: 1 addition & 1 deletion Extension/i18n/chs/src/LanguageServer/devcmd.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
"dev.env.for": "{1} 的 {0} 开发人员环境",
"default.env": "{0} 的默认环境",
"host.target": "主机 = {0},目标 = {1}"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@
"copilot.hover.excluded": "包含此符号的定义或声明的文件已排除在 Copilot 的使用范围之外。",
"copilot.hover.unavailable.symbol": "Copilot 摘要不可用于此符号。",
"copilot.hover.error": "生成 Copilot 摘要时出错。"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
// Do not edit this file. It is machine generated.
{
"duplicate.multiline.patterns": "检测到重复的多行注释模式。"
}
}
2 changes: 1 addition & 1 deletion Extension/i18n/chs/src/LanguageServer/lmTool.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
{
"copilot.projectcontext.error": "检索项目上下文时出错。原因: {0}",
"copilot.cppcontext.error": "检索 #cpp 上下文时出错。"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
// Do not edit this file. It is machine generated.
{
"c.cpp.symbolscope.separator": "{0},{1}"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
"files.confirmed": "已确认 {0} 个文件,共 {1} 个文件。{2}",
"c.cpp.peek.references": "C/C++ 速览引用",
"some.references.may.be.missing": "[警告] 某些引用可能丢失,因为在 {0} 启动时,工作区分析不完整。"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
// Do not edit this file. It is machine generated.
{
"goto.reference": "转到引用"
}
}
2 changes: 1 addition & 1 deletion Extension/i18n/chs/src/LanguageServer/settings.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
// Do not edit this file. It is machine generated.
{
"editorconfig.default.behavior": "代码格式设置使用 .editorconfig 中的设置,而不是 .clang-format 中的设置。有关详细信息,请参阅文档以了解 'C_Cpp.formatting' 设置的 'default' 值。"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
// Do not edit this file. It is machine generated.
{
"c.cpp.configurations": "C/C++ 配置"
}
}
2 changes: 1 addition & 1 deletion Extension/i18n/chs/src/LanguageServer/ui.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@
"none": "无",
"disable.configuration.provider": "禁用活动配置提供程序(如果适用)。",
"select.workspace": "选择工作区文件夹…"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
"active.ssh.target.selection.cancelled": "已取消活动 SSH 目标选择。",
"add.new.ssh.target": "{0} 添加新的 SSH 目标...",
"select.ssh.target": "选择 SSH 目标"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
// Do not edit this file. It is machine generated.
{
"ssh.target.active.description": "[活动]"
}
}
2 changes: 1 addition & 1 deletion Extension/i18n/chs/src/SSH/commandInteractors.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
// Do not edit this file. It is machine generated.
{
"failed.to.connect": "未能连接到 {0}"
}
}
2 changes: 1 addition & 1 deletion Extension/i18n/chs/src/SSH/commands.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
"local.forward.local.missing": "localForwards 中需要 \"port\" 或 \"localSocket\"",
"local.forward.remote.conflict": "在 localForwards 中,不能同时使用 \"host\" 或 \"hostPort\" 指定 \"remoteSocket\"",
"local.forward.remote.missing": "localForwards 中需要 \"host\" 和 \"hostPort\" 或 \"remoteSocket\""
}
}
Loading
Loading