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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"commands": [
{
"command": "copy-line.copySelectionReference",
"title": "复制选中文件与行号",
"title": "%copyLine.command.title%",
"icon": "$(go-to-file)"
}
],
Expand Down Expand Up @@ -70,7 +70,7 @@
],
"configuration": {
"type": "object",
"title": "Copy Line",
"title": "%copyLine.configuration.title%",
"properties": {
"copy-line.outputFormat": {
"type": "string",
Expand All @@ -81,27 +81,27 @@
"natural"
],
"default": "labeled",
"description": "输出格式:labeled(如: File: src/file.ts (line 24-30)), compact(如: src/file.ts:24-30), code-style(如: src/file.ts:24:30), natural(如: 在 src/file.ts 的第 24 行)"
"description": "%copyLine.configuration.outputFormat.description%"
},
"copy-line.useAbsolutePath": {
"type": "boolean",
"default": false,
"description": "使用绝对路径而非相对路径"
"description": "%copyLine.configuration.useAbsolutePath.description%"
},
"copy-line.showStatusMessage": {
"type": "boolean",
"default": true,
"description": "复制后显示状态栏提示消息"
"description": "%copyLine.configuration.showStatusMessage.description%"
},
"copy-line.singleLineFormat": {
"type": "string",
"default": "line ${line}",
"description": "单行选择时的格式"
"description": "%copyLine.configuration.singleLineFormat.description%"
},
"copy-line.multiLineFormat": {
"type": "string",
"default": "line ${start}-${end}",
"description": "多行选择时的格式"
"description": "%copyLine.configuration.multiLineFormat.description%"
}
}
}
Expand Down
9 changes: 9 additions & 0 deletions package.nls.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"copyLine.command.title": "Copy Selection Reference",
"copyLine.configuration.title": "Copy Line",
"copyLine.configuration.outputFormat.description": "Output format: labeled (for example, File: src/file.ts (line 24-30)), compact (for example, src/file.ts:24-30), code-style (for example, src/file.ts:24:30), natural (for example, at line 24 in src/file.ts).",
"copyLine.configuration.useAbsolutePath.description": "Use an absolute path instead of a relative path.",
"copyLine.configuration.showStatusMessage.description": "Show a status bar message after copying.",
"copyLine.configuration.singleLineFormat.description": "Format used for a single-line selection.",
"copyLine.configuration.multiLineFormat.description": "Format used for a multi-line selection."
}
9 changes: 9 additions & 0 deletions package.nls.zh-cn.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"copyLine.command.title": "复制选中文件与行号",
"copyLine.configuration.title": "Copy Line",
"copyLine.configuration.outputFormat.description": "输出格式:labeled(例如:File: src/file.ts (line 24-30))、compact(例如:src/file.ts:24-30)、code-style(例如:src/file.ts:24:30)、natural(例如:在 src/file.ts 的第 24 行)。",
"copyLine.configuration.useAbsolutePath.description": "使用绝对路径而非相对路径。",
"copyLine.configuration.showStatusMessage.description": "复制后显示状态栏提示消息。",
"copyLine.configuration.singleLineFormat.description": "单行选择时的格式。",
"copyLine.configuration.multiLineFormat.description": "多行选择时的格式。"
}