You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: extensions/markdown-language-features/package.nls.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -64,7 +64,7 @@
64
64
"configuration.markdown.updateLinksOnFileMove.include.property": "The glob pattern to match file paths against. Set to true to enable the pattern.",
65
65
"configuration.markdown.updateLinksOnFileMove.enableForDirectories": "Enable updating links when a directory is moved or renamed in the workspace.",
66
66
"configuration.markdown.occurrencesHighlight.enabled": "Enable highlighting link occurrences in the current document.",
67
-
"configuration.markdown.copyFiles.destination": "Defines where files copied created by drop or paste should be created. This is a map from globs that match on the Markdown document to destinations.\n\nThe destinations may use the following variables:\n\n- `${documentFileName}` — The full filename of the Markdown document, for example: `readme.md`.\n- `${documentBaseName}` — The basename of Markdown document, for example: `readme`.\n- `${documentExtName}` — The extension of the Markdown document, for example: `md`.\n- `${documentDirName}` — The name of the Markdown document's parent directory.\n- `${documentWorkspaceFolder}` — The workspace folder for the Markdown document, for example: `/Users/me/myProject`. This is the same as `${documentDirName}` if the file is not part of a workspace.\n- `${fileName}` — The file name of the dropped file, for example: `image.png`.",
67
+
"configuration.markdown.copyFiles.destination": "Defines where files copied created by drop or paste should be created. This is a map from globs that match on the Markdown document to destinations.\n\nThe destinations may use the following variables:\n\n- `${documentDirName}` — Absolute parent directory path of the Markdown document, e.g. `/Users/me/myProject/docs`.\n- `${documentRelativeDirName}` — Relative parent directory path of the Markdown document, e.g. `docs`. This is the same as `${documentDirName}` if the file is not part of a workspace.\n- `${documentFileName}` — The full filename of the Markdown document, e.g. `README.md`.\n- `${documentBaseName}` — The basename of the Markdown document, e.g. `README`.\n- `${documentExtName}` — The extension of the Markdown document, e.g. `md`.\n- `${documentFilePath}` — Absolute path of the Markdown document, e.g. `/Users/me/myProject/docs/README.md`.\n- `${documentRelativeFilePath}` — Relative path of the Markdown document, e.g. `docs/README.md`. This is the same as `${documentFilePath}` if the file is not part of a workspace.\n- `${documentWorkspaceFolder}` — The workspace folder for the Markdown document, e.g. `/Users/me/myProject`. This is the same as `${documentDirName}` if the file is not part of a workspace.\n- `${fileName}` — The file name of the dropped file, e.g. `image.png`.\n- `${fileExtName}` — The extension of the dropped file, e.g. `png`.",
68
68
"configuration.markdown.copyFiles.overwriteBehavior": "Controls if files created by drop or paste should overwrite existing files.",
69
69
"configuration.markdown.copyFiles.overwriteBehavior.nameIncrementally": "If a file with the same name already exists, append a number to the file name, for example: `image.png` becomes `image-1.png`.",
70
70
"configuration.markdown.copyFiles.overwriteBehavior.overwrite": "If a file with the same name already exists, overwrite it.",
['documentFileName',documentBaseName],// Full filename: file.md
88
-
['documentBaseName',documentBaseName.slice(0,documentBaseName.length-documentExtName.length)],// Just the name: file
89
-
['documentExtName',documentExtName.replace('.','')],// The document ext (without dot): md
90
-
['documentFilePath',documentUri.path],// Full document path
91
-
['documentRelativeFilePath',workspaceFolder ? path.posix.relative(workspaceFolder.path,documentUri.path) : documentUri.path],// Full document path relative to workspace
85
+
['documentDirName',documentDirName.path],// Absolute parent directory path of the Markdown document, e.g. `/Users/me/myProject/docs`.
86
+
['documentRelativeDirName',workspaceFolder ? path.posix.relative(workspaceFolder.path,documentDirName.path) : documentDirName.path],// Relative parent directory path of the Markdown document, e.g. `docs`. This is the same as `${documentDirName}` if the file is not part of a workspace.
87
+
['documentFileName',documentBaseName],// The full filename of the Markdown document, e.g. `README.md`.
88
+
['documentBaseName',documentBaseName.slice(0,documentBaseName.length-documentExtName.length)],// The basename of the Markdown document, e.g. `README`.
89
+
['documentExtName',documentExtName.replace('.','')],// The extension of the Markdown document, e.g. `md`.
90
+
['documentFilePath',documentUri.path],// Absolute path of the Markdown document, e.g. `/Users/me/myProject/docs/README.md`.
91
+
['documentRelativeFilePath',workspaceFolder ? path.posix.relative(workspaceFolder.path,documentUri.path) : documentUri.path],// Relative path of the Markdown document, e.g. `docs/README.md`. This is the same as `${documentFilePath}` if the file is not part of a workspace.
['documentWorkspaceFolder',((workspaceFolder??documentDirName).path)],// The workspace folder for the Markdown document, e.g. `/Users/me/myProject`. This is the same as `${documentDirName}` if the file is not part of a workspace.
0 commit comments