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

Copy Filepath With Line Numbers

by NickHatBoecker ST2/ST3

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

Details

Installs

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

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