[Sublime Text 3+][] Package. **Install via** an updated version of [Package Control 2][]. Just **DON'T install manually**.
# Sidebar Enhancements
### In other languages
Japanese - <http://taamemo.blogspot.jp/2012/10/sublime-text-2-sidebarenhancements.html?m=1>
Russian - <https://www.youtube.com/watch?v=8I0dJTd58kI&feature=youtu.be&a>
## Description
# [Sublime Text 3+][] Package, It does NOT WORK with ST2, DOES NOT; Use Sublime Text 3 Please.
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)
Provides the basics: new file/folder, edit, open/run, reveal, find in selected/parent/project, cut, copy, paste, paste in parent, rename, move, delete, refresh....
The not so basic: 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.
![][]
## Installation
To install SideBarEnhancements, Install Package Control 2 First. See: <https://sublime.wbond.net/installation>
Then after restarting, with package control Install this Package.
WARNING: Manual installation:
- We don't have time to workaround, provide support and follow threads of all the possible problems that installing manually can cause.
- Most users will clone this repo, with sublime opened, which will Install the version of the package for ST2 on ST3, if you do this with ST3 and opened, the installation is likely screwed up.
- Install with package control please.
Troubleshooting Installation:
If you have problems with the installation, do this:
- 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 via Package Control.
- 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:
<!-- -->
{
"S:/www/domain.tld":{
"url_testing":"http://testing",
"url_production":"http://domain.tld"
},
"C:/Users/luna/some/domain2.tld":{
"url_testing":"http://testing1",
"url_production":"http://productiontld2"
}
}
### With relative paths
Imagine we have a project with the following structure
Project/ < - root project folder
Project/libs/
Project/public/ < - the folder we want to load as "http://localhost/"
Project/private/
Project/experimental/ < - other folder we may run as experimental/test in another url "http://experimental/"
Then we create configuration file:
`Project/.sublime/SideBarEnhancements.json`
with content:
{
"public/":{
"url_testing":"http://localhost/",
"url_production":"http://domain.tld/"
},
"experimental/":{
"url_testing":"http://experimental/",
"url_production":"http://domain.tld/"
},
"":{
"url_testing":"http://the_url_for_the_project_root/",
"url_production":"http://the_url_for_the_project_root/"
}
}
...
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:
[
{ "keys": ["f12"],
"command": "side_bar_open_in_browser" ,
"args":{"paths":[], "type":"testing", "browser":""}
},
{ "keys": ["alt+f12"],
"command": "side_bar_open_in_browser",
"args":{"paths":[], "type":"production", "browser":""}
},
{
"keys": ["ctrl+t"],
"command": "side_bar_new_file2"
},
{
"keys": ["f2"],
"command": "side_bar_rename"
},
]
## 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.
<!-- -->
//application 1
{
"caption": "Photoshop",
"id": "side-bar-files-open-with-photoshop",
"command": "side_bar_files_open_with",
"args": {
"paths": [],
"application": "Adobe Photoshop CS5.app", // OSX
"extensions":"psd|png|jpg|jpeg", //any file with these extensions
"args":[]
}
"open_automatically" : true // will close the view/tab and launch the application
},
## FAQ
Q: Why the menu is not shown on `Open Files`?
- It should be mentioned that the package's context menu is only available for files and folders **in a project (section** `Folders` **in the side bar)**, and *not* on the open files listed at the top of the side bar, due to a limitation of ST.
Q: Can the package stop "show preview in a **right** click to a file".
- No, I'm sorry, can't figure out how to prevent it.
## 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
<https://github.com/titoBouzout/SideBarEnhancements>
## Forum Thread
<http://www.sublimetext.com/forum/viewtopic.php?f=5&t=3331>
# Contributors:
(Thank you so much!)
- bofm
- Dalibor Simacek
- Devin Rhode
- Eric Eldredge
- Hewei Liu
- Jeremy Gailor
- Joao Antunes
- Leif Ringstad
- Nick Zaccardi
- Patrik Göthe
- Randy Lai
- Raphael DDL Oliveira
没有合适的资源?快使用搜索试试~ 我知道了~
Sublime3(插件+PHP编译版本)
共2000个文件
png:691个
py:540个
cache:259个
3星 · 超过75%的资源 需积分: 15 16 下载量 72 浏览量
2017-10-13
10:30:42
上传
评论
收藏 38.03MB RAR 举报
温馨提示
该工具已安装代码高亮,代码提示,代码格式错误提示,PHP在线编译,等以及其它基础配套插件
资源推荐
资源详情
资源评论
收起资源包目录
Sublime3(插件+PHP编译版本) (2000个子文件)
01524fae79697630d0454ba3fabd9414 2.86MB
ad7758d143e99a76034aad71ae2a1f3b 881B
imesupport_hook.c 4KB
Package Control.ca-bundle 3KB
Package Control.ca-bundle 3KB
Package Control.ca-list 77B
Package Control.ca-list 77B
Startup.cache 273KB
PHP Source.sublime-syntax.cache 28KB
PHP.tmLanguage.cache 26KB
Matlab.tmLanguage.cache 24KB
Objective-C.tmLanguage.cache 18KB
Meta Info Summary.cache 10KB
D.tmLanguage.cache 8KB
Clojure.tmLanguage.cache 7KB
AppleScript.tmLanguage.cache 7KB
Python.sublime-syntax.cache 7KB
ActionScript.tmLanguage.cache 7KB
CSS.sublime-syntax.cache 7KB
Ruby.tmLanguage.cache 7KB
Ruby.sublime-syntax.cache 6KB
Python.tmLanguage.cache 6KB
JavaScript.sublime-syntax.cache 5KB
JavaScript.tmLanguage.cache 5KB
CSS.tmLanguage.cache 5KB
Perl.tmLanguage.cache 5KB
C.tmLanguage.cache 5KB
OCaml.tmLanguage.cache 4KB
Erlang.tmLanguage.cache 4KB
Groovy.tmLanguage.cache 3KB
Shell-Unix-Generic.tmLanguage.cache 3KB
LaTeX.tmLanguage.cache 3KB
Syntax Summary.cache 3KB
Emmet.tmLanguage.cache 3KB
Markdown.tmLanguage.cache 3KB
Java.tmLanguage.cache 3KB
SQL.sublime-syntax.cache 2KB
SQL.tmLanguage.cache 2KB
HTML.tmLanguage.cache 2KB
Go.tmLanguage.cache 2KB
HTML.sublime-syntax.cache 2KB
C#.tmLanguage.cache 2KB
Haskell.tmLanguage.cache 2KB
TeX Math.tmLanguage.cache 2KB
ASP.tmLanguage.cache 2KB
Scala.tmLanguage.cache 2KB
Tomorrow-Night-Eighties-Stormy.tmTheme.cache 2KB
Ruby on Rails.tmLanguage.cache 2KB
C++.tmLanguage.cache 2KB
XML.tmLanguage.cache 2KB
Cobalt.tmTheme.cache 2KB
Tcl.tmLanguage.cache 1KB
JSON.tmLanguage.cache 1KB
XML.sublime-syntax.cache 1KB
Amy.tmTheme.cache 1KB
Textile.tmLanguage.cache 1KB
OCamllex.tmLanguage.cache 1KB
YAML.tmLanguage.cache 1KB
Lua.tmLanguage.cache 1KB
OCamlyacc.tmLanguage.cache 1KB
JSON.sublime-syntax.cache 1KB
Ruby on Rails.sublime-syntax.cache 1KB
JavaDoc.tmLanguage.cache 1KB
Regular Expressions (Python).tmLanguage.cache 1KB
reStructuredText.tmLanguage.cache 1KB
Monokai (SL).tmTheme.cache 1KB
Dawn.tmTheme.cache 1KB
Monokai.tmTheme.cache 1KB
Regular Expressions (Python).sublime-syntax.cache 1KB
Pascal.tmLanguage.cache 1KB
YAML.sublime-syntax.cache 1005B
Blackboard.tmTheme.cache 983B
HTML (Tcl).tmLanguage.cache 968B
Ruby Haml.tmLanguage.cache 955B
Ruby Haml.sublime-syntax.cache 947B
R.tmLanguage.cache 893B
All Hallow's Eve.tmTheme.cache 836B
Bibtex.tmLanguage.cache 798B
TeX.tmLanguage.cache 792B
DOT.tmLanguage.cache 778B
Batch File.tmLanguage.cache 744B
Java Server Pages (JSP).tmLanguage.cache 712B
Lisp.tmLanguage.cache 706B
Diff.tmLanguage.cache 679B
Indentation Rules.tmPreferences.cache 657B
XSL.tmLanguage.cache 648B
RegExp.tmLanguage.cache 611B
HTML (Rails).tmLanguage.cache 597B
LaTeX Log.tmLanguage.cache 584B
Miscellaneous.tmPreferences.cache 540B
Rd (R Documentation).tmLanguage.cache 530B
Makefile.tmLanguage.cache 508B
Build.tmLanguage.cache 485B
LaTeX Memoir.tmLanguage.cache 474B
Widget - blue.stTheme.cache 459B
Indentation.tmPreferences.cache 457B
JavaScript (Rails).tmLanguage.cache 447B
Miscellaneous.tmPreferences.cache 435B
Indentation Rules.tmPreferences.cache 420B
Widget - Soda Dark.stTheme.cache 412B
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
资源评论
- Cenlym2018-12-15不是3,并且install不管用了,weiss_19972019-02-16是3版本的哦,可能是比较老的版本了!之后再上传最新的3版本的
weiss_1997
- 粉丝: 1
- 资源: 5
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功