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
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 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16
Windows 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 1 1 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 1 0 0 2 0 2 2 2 0
Mac 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 1 0 1
Linux 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 2 0 0 0 0 1 1 1 0 0 0 1 1 0 0 0 0 0 0 0 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