sublime text 3插件
Package Control Messages
Emmet
emmet插件
Thank you for installing Emmet -- a toolkit that can greatly improve your workflow. Note that this plugin automatically downloads and installs PyV8 binary (see status bar message).
欢迎安装Emmet插件,它能极大的改善你的工作流。注意这个插件自动下载并安装PyV8引擎。
那么这个引擎对原生的Python有什么影响呢
Please restart editor
to finish installation process
after PyV8 was downloaded.
pyv8下载之后请重启完成安装过程
Tab key handler
By default, Emmet allows you to expand abbreviations with Tab key in HTML, XML, HAML and CSS/SASS/LESS/Stylus documents. As a side effect, you can’t use some of your ST2 snippets.
Emmet默认用tab键在html,xml,css等文件中控制缩进,副作用是某些st插件不好用
Please read https://github.com/sergeche/emmet-sublime#tab-key-handler about how Tab handler works and how to tweak its behavior to match your needs.
查看链接了解key handler工作原理,并学习如何调整
Enter key
In HTML and XML documents, Emmet overrides Enter key to insert formatted line breaks between opening and closing tags. In some cases it will break character input (for example, in Japanese language).
To disable Enter key handler, simply add the following option in your user's Preferences file:
"disable_formatted_linebreak": true
Actions shortcuts
Emmet has a number of actions with keyboard shortcuts that may override ones you're using commonly (for example, Ctrl-E or Ctrl-Down). Please read the project main page to get list of available actions and keyboard shortcuts and how to disable them:
https://github.com/sergeche/emmet-sublime
Documentation and examples:
http://emmet.io
Follow me on Twitter: @emmetio
Django Manage Commands
Django 管理命令插件
DjangoCommands for ST3
The best tool for your django development.
你django开发的最佳伴侣
This tool is a Sublime Text wrapper around django manage.py
commands.
这个工具对manage.py文件进行了包装
With it you can run django commands like Django: Run Server
, Django: Sync Database
, Django: Migrate
from Command Palette.
在这个工具的支持下你可以运行类似Django:Run Server等命令
You can also run Django: Custom Command
to access other manage.py commands. Try Django: Help
and you will get full list of commands provided by each application.
你可以通过Django:Custom Command来运行manage.py提供的其他命令,或者通过Django:Help来查看每个应用提供的各种命令
Or you can choose to use Django: Other Command
to list and run all commands available to manage.py
通过Django:Other Command来列出并运行manage.py中所有可用的命令
Currently tested on Windows 7/8, Mac OS, Ubuntu.
Everything tested and running!
- Virtualenv support
- Django boilerplate
- Install your dependencies
- Install new pip packages
- Open and search in django documentation from the editor
- Create new projects from ST
- Start new apps
- Run custom servers
- PostgreSQL specific features snippets
- And More!
Installation
Package Control
The easiest way to install this is with Package Control.
- If you just went and installed Package Control, you probably need to restart Sublime Text before doing this next bit.
- Bring up the Command Palette (Command+Shift+p on OS X, Control+Shift+p on Linux/Windows).
- Select "Package Control: Install Package" (it'll take a few seconds)
- Select
Django Manage Commands
when the list appears.
Package Control will automatically keep plugin up to date with the latest version.
Use
Commands
Currently supports following commands:
Django:
Django: New Project
Django: New App
Django: Run Server
Django: Run Custom Server
Django: Boilerplate
Django: Sync Database
Django: Test
Django: Test All
Django: Shell
Django: DB Shell
Django: Custom Command
Django: Other Command
Django: Check
Django: Help
Django: Open Docs
Django: Search in Docs
Django: Use Default Interpreter
Django: Make Migration
Django: SQLMigration
Django: Migrate Database
Django: Initial Schema Migration
Django: Schema Migration
Django: List Migrations
Django: Click
Virtual Environment:
Django: Set Virtual Environment
Django: Terminal Here
Django: Pip Freeze
Django: Pip Freeze To File
Django: Pip Install Packages
Django: Pip Install Requirements
Django: Set Project Interpreter
Settings
使用st3的django插件之前的设置
-
python_bin
: path to python interpreter Python解释器的路径 -
python_version
: default python interpreter version Python版本 -
python_virtualenv_paths
: list of paths where virtualenvs are located (ex:~/.virtualenvs/
)** virtualenv虚拟机的路径 -
server_host
: host for the runserver command 运行runserver命令的主机地址 -
server_port
: port for the server to listen 监听端口 -
linux_terminal
: Only Linux setting for command line emulator** 如果是Linux系统需要设置Linux命令行终端的路径 -
project_override
: (Boolean) Per project setting "python_interpreter" overrides "python_bin" 单独针对每个项目的设置,猜测是用Python manage.py shell代替系统的Python -
server_custom_command
: Per project setting to specify a custom server to run (ex: {"command": "gunicorn", "args":["--workers=3"]})***
每个工程都要设置的,自定的服务器
*It's important to set your envs directories 设置envs目录非常重要
*The folders in this list should be the parent folder of the virtualenv folder, not the virtualenv folder itself
**Check that your 'linux_terminal' setting uses an underscore "_"
***use any script you want
Please report any issue, bug, enhacement or comment here
We'll be glad to read and work on all of them
SublimeCodeIntel
SublimeCodeIntel
/ | _ | | | () __ ___ ___ / | | | | | __ | | | |
_ | | | | ' | | | ' _ \ / _ \ | / _ \ / _
|/ _ | || ' | / _ \ |
) | || | |) | | | | | | | | / || () | (| | __/| || | | | || __/ |
|/ _,|./|||| || |_|_|__/ _,|_||| ||____|_|
A full-featured code intelligence and smart autocomplete engine for Sublime Text.
(Code intelligence plugin ported from Open Komodo Editor to Sublime Text)
+-------------------------------- HELP WANTED ---------------------------------+
| Maintaining this project is hard, I do it in my spare time, but I'm |
| basically all alone. If anyone is interested in contributing, please |
| contact me. I really need much more help maintaining SublimeCodeIntel |
| |
| Follow me on twitter @germbravo |
| You can find us at #sublimecodeintel on irc.freenode.net |
| |
| If you like SublimeCodeIntel, please make a donation: |
| http://sublimecodeintel.github.io/SublimeCodeIntel/donate.html |
+------------------------------------------------------------------------------+
Features
Supports all the languages Komodo Editor supports for Code Intelligence (CIX, CodeIntel2):
JavaScript, Mason, XBL, XUL, RHTML, SCSS, Python, HTML, Ruby, Python3, XML, Sass, XSLT, Django, HTML5, Perl, CSS, Twig, Less, Smarty, Node.js, Tcl, TemplateToolkit, PHP.
Provides the following features:
- Jump to Symbol Definition - Jump to the file and line of the definition of a symbol.
- Imports autocomplete - Shows autocomplete with the available modules/symbols in real time.
- Function Call tooltips - Displays information in the status bar about the working function.
-
Shortcuts for jump to definition have changed:
For Mac OS X:
- Jump to definition =
Control+Click
- Jump to definition =
Control+Command+Alt+Up
- Go back =
Control+Command+Alt+Left
- Manual CodeIntel =
Control+Shift+space
For Linux:
- Jump to definition =
Super+Click
- Jump to definition =
Control+Super+Alt+Up
- Go back =
Control+Super+Alt+Left
- Manual CodeIntel =
Control+Shift+space
For Windows:
- Jump to definition =
Alt+Click
- Jump to definition =
Control+Windows+Alt+Up
- Go back =
Control+Windows+Alt+Left
- Manual CodeIntel =
Control+Shift+space
- Jump to definition =
Notes
** Restart Sublime Text after reading this **
More information
Please take the time to read the documentation:
In case of trouble, please read the Troubleshooting section in the README.
- Online - http://sublimecodeintel.github.io/SublimeCodeIntel/
- Git - https://github.com/SublimeCodeIntel/SublimeCodeIntel
IMPORTANT
Do NOT edit the default SublimeCodeIntel settings. Your changes will be lost
when SublimeCodeIntel is updated. ALWAYS edit the user SublimeCodeIntel settings
by selecting "Preferences->Package Settings->SublimeCodeIntel->Settings - User".
Note that individual settings you include in your user settings will completely
replace the corresponding default setting, so you must provide that setting in its entirety.