Instructions for installing Sublime Text
Sublime Text is a cross-platform code editor that is widely used and popularized by programmers. The software supports multiple programming languages and markup languages, and users can add functions with free plugins. Sublime Text possesses a simple interface, does not take up too many computer system resources. And in the process of using, we need to install some additional plugins to support the process of using Sublime Text. The following article will guide the installation of Sublime Text.
1. Instructions to install Sublime Text
1. Install Sublime Text
We visit the link below to download the latest version of the software for computers with different operating systems.
http://www.sublimetext.com/
2. Install Package Control
Package Control allows you to install and manage packages such as percussion, theme, and so on. At the interface, click View> Show Console , paste the following code and press Enter to execute.
Sublime Text 2
import urllib2,os,hashlib; h = '6f4c264a24d933ce70df5dedcf1dcaee' + 'ebe013ee18cced0ef93d5f746d80ef60'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); os.makedirs( ipp ) if not os.path.exists(ipp) else None; urllib2.install_opener( urllib2.build_opener( urllib2.ProxyHandler()) ); by = urllib2.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); open( os.path.join( ipp, pf), 'wb' ).write(by) if dh == h else None; print('Error validating download (got %s instead of %s), please try manual install' % (dh, h) if dh != h else 'Please restart Sublime Text to finish installation')
SubLime Text 3
import urllib.request,os,hashlib; h = '6f4c264a24d933ce70df5dedcf1dcaee' + 'ebe013ee18cced0ef93d5f746d80ef60'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)
Then you check and see as the picture has successfully installed.
3. Install Vietnamese
We go to Preferences> Package Control> Install Package in the list and enter Vn Ime to search. Click on the result to install.
After setting you press F2 to turn on / off Vietnamese typing mode , below the status bar will notify VN IME: ON or VN IME: OFF for your convenience.
2. Main features of Sublime Text
Command Palette
You can search for what you want without having to navigate through menus or memorize keyboard shortcuts. Press Ctrl + Shift + P and enter the desired option.
Goto Anything
Quickly navigate to files, icons, words or lines. Press Ctrl + P and then do one of the following:
- Type part of the file name to search for and open the file
- Type @ and the method name to jump to that method
- Type: and the line number to move to the corresponding line
- Type # to search for a word in the file
Multiple Selections
Allows you to change multiple lines at once, rename variables easily and manipulate files faster. We hold Ctrl and left click on multiple locations to select and edit multiple pieces of code at once.
When highlighting a piece of text, press Ctrl + D to highlight the next locations where the text appears.
Distraction Free Mode
Screen editing mode, press Shift + F1.
Split Editing
We can work 2 parallel windows on Sublime Text by clicking View> Layout> Columns: 2 .
You should read it
- Sublime Shortcuts - Summary of Sublime Text 3 keyboard shortcuts
- How to Create a Javascript Console in Sublime Text
- 10 tips for Microsoft's cross-platform code editing tool - Visual Studio Code
- Text - Text in CSS
- Top 6 best tools to erase text on photos today
- 6 best code editor apps for Mac
- 7 best application notes for programmers
- How to Edit Text After Scanning
May be interested
- How to Do Curve Fitting in MatLabcurve fitting is an important tool when it comes to developing equations that best describes a set of given data points. it is also very useful in predicting the value at a given point through extrapolation. in matlab, we can find the...
- How to Use Scratchscratch is a great educational tool developed by mit. it enables nearly anyone to experiment with the basics of vector art, animation, and game development. you can create projects by yourself, or you can collaborate with other creators...
- How to Make a Game on Scratchscratch is a popular visual programming language developed by mit media lab as a children's educational tool. it is available online, with desktop versions available for mac os, windows, chrome os, and android. this wikihow teaches you the...
- GitHub introduces a new feature that allows you to write code directly in the browsergithub has launched codespaces - a feature that allows you to write code directly on the web without setting up any additional requirements.
- Microsoft officially announced the Rust / WinRT project on GitHubrust is an emerging programming language, designed for high performance systems, strong security capabilities.
- Visual Studio Code review: Microsoft's cross-platform code editorvisual studio code is a lightweight but powerful code editor running on computers, available for windows, macos and linux. vscode comes with integrated support for javascript, typescript and node.js.