ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Copy Filepath With Line Numbers

Copy filepath of current file with number of selected line(s) in Sublime Text editor

Details

Installs

  • Total 6K
  • Win 4K
  • Mac 2K
  • Linux 901
Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 Feb 28 Feb 27 Feb 26
Windows 0 1 0 1 2 3 0 1 0 0 1 1 0 1 1 0 2 1 0 2 1 0 0 0 0 0 1 0 0 0 0 1 1 2 0 1 1 2 0 2 0 0 2 3 0 0
Mac 0 0 1 1 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 1 2 0 0 0 1 0 0 0 1 0 1 0 2 0 2 0 0 1 0 0 0 1 2 1 0
Linux 0 0 0 0 0 1 0 2 0 0 1 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 1 3 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 1

Readme

Source
raw.​githubusercontent.​com

Sublime Text - Copy Filepath With Line Numbers

SublimeBadge SublimeBadge SublimeBadge SublimeBadge

Copy filepath of current file with number of selected line(s)

Tested on - Windows - Linux

Tested with - Sublime Text 3

Usage

Select one or more line(s), right-click and choose “Copy Filepath With Line Numbers” to copy filepath. Your filepath will be copied to clipboard in the following form:

/home/readme.md:3
/home/readme.md:3-10

Select one or more line(s), right-click and choose “Copy Reference” to copy relative filepath with lines. Your filepath will be copied to clipboard in the following form:

subfolder/readme.md:3
subfolder/readme.md:3-10

License

All of Sublime Terminal is licensed under the GPL2 license.

Copyright © 2014 Nick Böcker (email : info@nick-hat-boecker.de)

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2, as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Suport

You want to buy me some chocolate milk? Feel free to: https://www.paypal.me/nickHatBoecker