Sidebarenhancements sublime text 3 не работает

Enhancements to Sublime Text sidebar. Files and folders.

Details

  • Version 5.0.39
  • Homepage github.​com
  • Issues github.​com
  • Donate paypal.​com
  • Modified 2 years ago
  • Last Seen 3 hours ago
  • First Seen 10 years ago

Installs

  • Total 2.64M
  • Win 1.56M
  • Mac 627K
  • Linux 453K
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 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2
Windows 168 246 203 329 377 367 358 233 264 289 294 359 323 309 210 272 277 353 363 362 382 278 257 326 348 329 340 371 242 274 393 362 351 354 352 264 228 366 388 365 390 376 267 249 381 355
Mac 27 54 60 114 101 98 96 35 75 105 91 76 77 79 62 59 91 85 103 102 86 61 54 73 98 114 90 81 55 59 83 91 95 90 92 74 48 85 110 82 113 103 51 70 78 90
Linux 34 60 54 68 101 68 81 63 47 92 79 53 88 86 63 58 64 86 76 85 75 50 56 77 75 81 71 86 73 63 78 85 87 80 88 69 53 67 89 81 82 73 67 61 87 92

Readme

In other languages

Description

Provides enhancements to the operations on Sidebar of Files and Folders for Sublime Text. http://www.sublimetext.com/

Notably provides delete as “move to trash”, open with.. and a clipboard.

Close, move, open and restore buffers affected by a rename/move command. (even on folders)

New file/folder, edit, open/run, reveal, find in selected/parent/project, cut, copy, paste, paste in parent, rename, move, delete, refresh….

Copy paths as URIs, URLs, content as UTF8, content as data:uri base64 ( nice for embedding into CSS! ), copy as tags img/a/script/style, duplicate

Preference to control if a buffer should be closed when affected by a deletion operation.

Allows to display “file modified date” and “file size” on statusbar (may be a bit buggy).

Installation

Download or clone the contents of this repository to a folder named exactly as the package name into the Packages/ folder of ST.

  • First please note this package only adds a context menu to the “Folders” section and not to the “Open Files” section.
  • Open the package folder. Main menu -> Preferences -> Browse Packages.
  • Close Sublime Text.
  • Remove the folder “Packages/SideBarEnhancements”
  • Remove the folder “User/SideBarEnhancements”
  • Navigate one folder up, to “Installed Packages/”, check for any instance of SideBarEnhancements and remove it.
  • Open ST, with Package Control go to : Remove Package, check for any instance of SideBarEnhancements and remove it.
  • Restart ST
  • Open ST, check if there is any entry about SideBarEnhancements in Package Control(in sections: “Remove Package” and just in case in “Enable Package”)
  • Repeat until you find there no entry about SideBarEnhancements
  • Restart ST
  • Install it.
  • It works
Читайте также:  Муж не работает любит выпить

F12 key

(Please note that from version 2.122104 this package no longer provides the key, you need to manually add it to your sublime-keymap file (see next section))

F12 key allows you to open the current file in browser.

url_testing allows you to set the url of your local server, opened via F12

url_production allows you to set the url of your production server, opened via ALT+F12

With absolute paths

    Right click any file on sidebar and select: “Project -> Edit Projects Preview URLs”

Edit this file, and add your paths and URLs with the following structure:

With relative paths

Imagine we have a project with the following structure

Then we create configuration file:

You can create config files some/folder/.sublime/SideBarEnhancements.json anywhere.

F12 key conflict

On Sublime Text 3 F12 key is bound to «goto_definition» command by default. This package was conflicting with that key, this no longers happens. You need to manually add the keys now: Go to Preferences -> Package Settings -> Side Bar -> Key Bindings — User and add any of the following:

Keybinding for Find in paths:

You may wish to add a key for opening “find in paths..”

Notes on configuring the Open With menu:

Definitions file: User/SideBarEnhancements/Open With/Side Bar.sublime-menu (note the extra subfolder levels). To open it, right-click on any file in an open project and select Open With > Edit Applications.

  • On OSX, the ‘application’ property simply takes the name of an application, to which the file at hand’s full path will be passed as if with open . , e.g.: “application”: “Google Chrome”
  • On OSX, invoking shell commands is NOT supported.

You should change Caption and id of the menu item to be unique.

//application 1 , “application”: “Adobe Photoshop CS5.app”, // OSX “extensions”:“psd|png|jpg|jpeg”, //any file with these extensions “args”: > >,

Vars on “args” param

  • \$PATH — The full path to the current file, “C:\Files\Chapter1.txt”
  • \$PROJECT — The root directory of the current project.
  • \$DIRNAME — The directory of the current file, “C:\Files”
  • \$NAME — The name portion of the current file, “Chapter1.txt”
  • \$NAME_NO_EXTENSION — The name portion of the current file without the extension, “Chapter1”
  • \$EXTENSION — The extension portion of the current file, “txt”

Using the External Libraries

(check each license in project pages)

  • “getImageInfo” to get width and height for images from “bfg-pages”. See: http://code.google.com/p/bfg-pages/
  • “desktop” to be able to open files with system handlers. See: http://pypi.python.org/pypi/desktop
  • “send2trash” to be able to send to the trash instead of deleting for ever!. See: http://pypi.python.org/pypi/Send2Trash
  • “hurry.filesize” to be able to format file sizes. See: http://pypi.python.org/pypi/hurry.filesize/
  • “Edit.py” ST2/3 Edit Abstraction. See: http://www.sublimetext.com/forum/viewtopic.php?f=6&t=12551

Source-code

Forum Thread

Contributors:

(Thank you so much!) Aleksandar Urosevic, bofm, Dalibor Simacek, Devin Rhode, Eric Eldredge, Hewei Liu, Jeremy Gailor, Joao Antunes, Leif Ringstad, MauriceZ, Nick Zaccardi, Patrik Göthe, Peder Langdal, Randy Lai, Raphael DDL Oliveira, robwala, Stephen Horne, Sven Axelsson, Till Theis, Todd Wolfson, Tyler Thrailkill, Yaroslav Admin

License

“None are so hopelessly enslaved as those who falsely believe they are free.” Johann Wolfgang von Goethe

Copyright © 2014 Tito Bouzout tito.bouzout@gmail.com

This license apply to all the files inside this program unless noted different for some files or portions of code inside these files.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation. http://www.gnu.org/licenses/gpl.html

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.

Источник

Sidebarenhancements sublime text 3 не работает

In other languages

Provides enhancements to the operations on Sidebar of Files and Folders for Sublime Text. http://www.sublimetext.com/

Notably provides delete as «move to trash», open with.. and a clipboard.

Close, move, open and restore buffers affected by a rename/move command. (even on folders)

New file/folder, edit, open/run, reveal, find in selected/parent/project, cut, copy, paste, paste in parent, rename, move, delete, refresh.

Copy paths as URIs, URLs, content as UTF8, content as data:uri base64 ( nice for embedding into CSS! ), copy as tags img/a/script/style, duplicate

Preference to control if a buffer should be closed when affected by a deletion operation.

Allows to display «file modified date» and «file size» on statusbar (may be a bit buggy).

Download or clone the contents of this repository to a folder named exactly as the package name into the Packages/ folder of ST.

  • First please note this package only adds a context menu to the «Folders» section and not to the «Open Files» section.
  • Open the package folder. Main menu -> Preferences -> Browse Packages.
  • Close Sublime Text.
  • Remove the folder «Packages/SideBarEnhancements»
  • Remove the folder «User/SideBarEnhancements»
  • Navigate one folder up, to «Installed Packages/», check for any instance of SideBarEnhancements and remove it.
  • Open ST, with Package Control go to : Remove Package, check for any instance of SideBarEnhancements and remove it.
  • Restart ST
  • Open ST, check if there is any entry about SideBarEnhancements in Package Control(in sections: «Remove Package» and just in case in «Enable Package»)
  • Repeat until you find there no entry about SideBarEnhancements
  • Restart ST
  • Install it.
  • It works

(Please note that from version 2.122104 this package no longer provides the key, you need to manually add it to your sublime-keymap file (see next section))

F12 key allows you to open the current file in browser.

url_testing allows you to set the url of your local server, opened via F12

url_production allows you to set the url of your production server, opened via ALT+F12

With absolute paths

  • Right click any file on sidebar and select: «Project -> Edit Projects Preview URLs»
  • Edit this file, and add your paths and URLs with the following structure:

With relative paths

Imagine we have a project with the following structure

Then we create configuration file:

You can create config files some/folder/.sublime/SideBarEnhancements.json anywhere.

F12 key conflict

On Sublime Text 3 F12 key is bound to «goto_definition» command by default. This package was conflicting with that key, this no longers happens. You need to manually add the keys now: Go to Preferences -> Package Settings -> Side Bar -> Key Bindings — User and add any of the following:

Keybinding for Find in paths:

You may wish to add a key for opening «find in paths..»

Notes on configuring the Open With menu:

Definitions file: User/SideBarEnhancements/Open With/Side Bar.sublime-menu (note the extra subfolder levels). To open it, right-click on any file in an open project and select Open With > Edit Applications.

  • On OSX, the ‘application’ property simply takes the name of an application, to which the file at hand’s full path will be passed as if with open . , e.g.: «application»: «Google Chrome»
  • On OSX, invoking shell commands is NOT supported.
  • You should change Caption and id of the menu item to be unique.

Vars on «args» param

  • $PATH — The full path to the current file, «C:\Files\Chapter1.txt»
  • $PROJECT — The root directory of the current project.
  • $DIRNAME — The directory of the current file, «C:\Files»
  • $NAME — The name portion of the current file, «Chapter1.txt»
  • $NAME_NO_EXTENSION — The name portion of the current file without the extension, «Chapter1»
  • $EXTENSION — The extension portion of the current file, «txt»

Using the External Libraries

(check each license in project pages)

  • «getImageInfo» to get width and height for images from «bfg-pages». See: http://code.google.com/p/bfg-pages/
  • «desktop» to be able to open files with system handlers. See: http://pypi.python.org/pypi/desktop
  • «send2trash» to be able to send to the trash instead of deleting for ever!. See: http://pypi.python.org/pypi/Send2Trash
  • «hurry.filesize» to be able to format file sizes. See: http://pypi.python.org/pypi/hurry.filesize/
  • «Edit.py» ST2/3 Edit Abstraction. See: http://www.sublimetext.com/forum/viewtopic.php?f=6&t=12551

(Thank you so much!) Aleksandar Urosevic, bofm, Dalibor Simacek, Devin Rhode, Eric Eldredge, Hewei Liu, Jeremy Gailor, Joao Antunes, Leif Ringstad, MauriceZ, Nick Zaccardi, Patrik Göthe, Peder Langdal, Randy Lai, Raphael DDL Oliveira, robwala, Stephen Horne, Sven Axelsson, Till Theis, Todd Wolfson, Tyler Thrailkill, Yaroslav Admin

«None are so hopelessly enslaved as those who falsely believe they are free.» Johann Wolfgang von Goethe

This license apply to all the files inside this program unless noted different for some files or portions of code inside these files.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation. http://www.gnu.org/licenses/gpl.html

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.

Источник

Оцените статью