This is a small package that can copy the current file path(relative) and line number(s) to clipboard for later use.
It supports single line, multiple lines, multiple selections.
For example, when
When you trigger this package, the file path and all line numbers will be copied to clipboard in one of the following format.
app/controllers/index.js:89, 100, 130
app/controllers/index.js:45, 89~100, 132, 209~230
Copy filepath with line numbers (relative path)
ctrl-l. If you want to use your custom shortcut, bind your shortcut to this command
ctrl-shift-p(Windows, Linux), then type
Packageon top Menubar, then choose
Copy Filepath with Line Numbers
If you've found any bugs, please report, thanks!
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.