Today, when I clicked on Package Control: Install Package from Command Shift P, I got "There are no packages available for installation" error. This error is happened with network error.
First get IPV4 address of sublime.wbond.net, run this command line on terminal ping sublime.wbond.net
. The IPv4 address is 50.116.34.243
. Then edit the hosts file of your system, open /etc/hosts
(OS X /Linux/Unix) or C:\Windows\system32\drivers\etc\
(Windows), add this line
50.116.34.243 sublime.wbond.net
Now, let's play with Package controller.
Addition share my Sublime Text 2 preference file
# Preference → Settings - User { "color_scheme": "Packages/Color Scheme - Default/Solarized (Dark).tmTheme", "font_size": 16.0, "ignored_packages": [ "Vintage" ], // Indent 4 spaces per tab "tab_size": 4, "translate_tabs_to_spaces": true, "trim_trailing_white_space_on_save": true, "word_wrap": true }
My Key Bindings Settings, you can find more information about this from Sublime Text Unofficial Documentation.
# Preference → Key Bindings - User [ { // Custom shortcut key for PhpCodeGen package "keys": ["ctrl+s"], "command": "php_code_gen" } ]
Recommended Packages
- Package Control
Package Control is an amazing plugin developed by Will Bond that allows you to easily search for, install, manage, remove, and update other packages. Package Control adds a nice menu to easily manage your packages. This is by far the most important plugin as it allows you to easily add and manage the other plugins.
- PhpCodeGen by bteryek
PhpCodeGen is a Sublime Text 2 and 3 Plugin that generates Object Oriented Code from a simple shorthand syntax.
- DocBlockr by spadgos
DocBlockr is an Sublime Text 2 plugin that autocompletes your doc blocks, all you need to do is start the doc block with a /** and hit enter to complete it. DocBlockr also includes snippets for adding documentation to the doc block speeding up and standardizing your doc blocks.
- Alignment by Will Bond (wbond)
Will Bond comes to the rescue again with a simple but very useful plugin that automates the alignment of special characters in a selection. This is very useful for aligning '=' characters in variable assignment or '=>' characters in array definitions. This eliminates all of the wasted time spent writing clean code and makes you much more productive.
- Emmet by sergeche
Emmet is a plugin for many popular text editors which greatly improves HTML & CSS workflow
- ConvertToUTF8 by seanliang
With this plugin, you can edit and save the files which encodings are not supported by Sublime Text currently, especially for those used by CJK users, such as GB2312, GBK, BIG5, EUC-KR, EUC-JP, etc. ConvertToUTF8 supports both Sublime Text 2 and 3.
- PHP Syntax Checker by naomichi-y
This package is plugins for Sublime Text 2 and 3. When you save PHP file, perform syntax check of PHP.
- Pretty JSON by dzhibas
Prettify/Minify/Query JSON plugin for Sublime Text 2 & 3.
- HTML-CSS-JS Prettify by victorporof
HTML, CSS, JavaScript and JSON code formatter for Sublime Text 2 and 3 via node.js
- SFTP by Will Bond (wbond)
Commercial SFTP/FTP plugin - upload, sync, browse, remote edit, diff and vcs integration
- Codecs33 by seanliang
CJK library files missing in the embedded Python of Sublime Text 3.
- GoSublime by DisposaBoy
A Go plugin collection for the text editor SublimeText 2 providing code completion and other IDE-like features.
- SyncedSideBar by sobstel
Sublime Text 2 plugin to sync project sidebar (folder view) with currently active file.
- LaTexTools by SublimeText
LaTeX plugin for Sublime Text 2 and 3.
- ApacheConf.tmLanguage by GreyWyvern and radiosilence
Apache Conf Syntax Highlighting
- INI by clintberry
INI syntax highlighting for Sublime Text 2
- nginx by brandonwamboldt
Improved syntax support for Nginx configuration files.
- Git Config by robballou
Sublime Text 2 language file for .gitconfig
and .gitignore
files.
- Terminal by Will Bond (wbond)
Launch terminals from the current file or the root project folder.
Open Terminal at File Press Ctrl Shift T on Windows and Linux, or Command Shift T on OS X
Open Terminal at Project Folder Press Ctrl alt Shift T on Windows and Linux, or Command alt Shift T on OS X
- GitGutter by jisaacks
A sublime text 2/3 plugin to show an icon in the gutter area indicating whether a line has been inserted, modified or deleted.
- Markdown Preview by revolunet
Preview and build your markdown files quickly in your web browser from sublime text 2/3.
- DiffView by CJTozer
Side-by-Side Git, SVN and Bazaar Diff Viewer for Sublime Text 3.
- LogView by FlashSystems
Logfile viewer and highlighter for Sublime Text 3.
etc ...
Related Articles Atom Essential Packages