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: README.md
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,11 +8,15 @@ Download: [Visual Studio Marketplace](https://marketplace.visualstudio.com/items
8
8
9
9
This Visual Studio extension adds advanced path copying commands. Available commands:
10
10
11
-
1.**Copy Relative Path** - Get a relative path to the document. This might be useful when adding a C++ include statement. _Example:_ transform `D:\notepad-plus-plus\PowerEditor\src\resource.h` into `PowerEditor/src/resource.h`.
11
+
1.**Copy Relative Path** - Get a relative path to the document. _Example:_ transform `D:\notepad-plus-plus\PowerEditor\src\resource.h` into `PowerEditor/src/resource.h`.
12
12
13
-
2.**Copy With Prefix** - Append some text to the relative document path. This might be used to get a GitHub link to the selected document in Visual Studio.
13
+
2.**Copy URL** - Append a relative path to a base URL specified in preferences. This might be used to get a GitHub link to the selected document in Visual Studio.
into `https://github.com/notepad-plus-plus/notepad-plus-plus/blob/master/PowerEditor/src/resource.h`.
15
+
into https://github.com/notepad-plus-plus/notepad-plus-plus/blob/master/PowerEditor/src/resource.h.
16
+
17
+
3.**Copy Current Line URL** - Same as **Copy URL** but link to a specific line. _Example:_https://github.com/vim/vim/blob/master/Makefile#L100
18
+
19
+
4.**Copy Include** - Get a relative path while removing directories specified in Include Directories option. Useful for C/C++ projects (`#include` directive).
16
20
17
21
The new commands are available in the context menu for a document tab:
0 commit comments