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 7K
  • Win 4K
  • Mac 2K
  • Linux 1K
May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 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
Windows 0 0 1 1 0 1 0 0 1 1 0 0 0 0 1 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 2 0 0 0 0 0 0 0 0 3
Linux 0 1 0 0 0 2 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 2 0 0 0 0 1 0 0 0 0

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 - MacOS

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 like this plugin? Please consider buying me a ko-fi: https://ko-fi.com/nickhatboecker