Go language learning, using sublime Text 2 to build the environment

Source: Internet
Author: User
This is a creation in Article, where the information may have evolved or changed.

Construction Environment Reference:

http://blog.csdn.net/love_se/article/details/7754274


Solve GBK coding problems:

Then use Ctrl+shift+p to open the command-line mode and enter the install package inside to search for the package you need. General use of "ConvertToUTF8"

http://www.fuzhaopeng.com/2012/sublime-text-2-with-gb2312-gbk-support/

http://my.oschina.net/rc6688/blog/162043

Http://www.iplaysoft.com/sublimetext.html

Skills:

http://blog.csdn.net/zqtsx/article/details/15505071

Video reference:

http://v.youku.com/v_show/id_XNTc2ODM2Njk2.html?f=19068429

Multi-line editing features:
1) simultaneously edit multirow (Ctrl+shift+l (Win) or command+shift+l (MAC))
To add a character "a" to the last face of the selected multiline text, select the multiline text you want to edit, and then press the shortcut key, at which point each line will have an input cursor at the end, then press the end key to position the mouse at the end of the line and enter the letter A. To exit multi-line edit state, press the ESC key.
2) Select the next same text down (press Ctrl+d (Win) or command+d (MAC) again)
3) Select all the same text at once (ALT+F3 (Win) or ctrl+command+g (MAC))
4) Vertical Multi-line selection (shift+ right mouse button (Win) or option+ left mouse button (MAC))
5) Manually select multiple different text (CTRL + left mouse button (Win) or command+ left mouse button (MAC))


Positioning:
Jumps to the specified line (ctrl+g (Win) or command+g (MAC)) or ctrl+p after entering the character ":"
Quick List/Jump function is Ctrl+r (Mac is command+r)
List html each ID element and function ctrl+p after you enter the @ number or press Ctrl+r


Command panel: ctrl+shift+p
Toggle the selected part to case

Sublime Text shortcut key:


Ctrl+shift+p: Open command Panel
Ctrl+p: Search for files in Project
Ctrl+g: Jump to the first few lines
Ctrl+w: Close the currently open file
Ctrl+shift+w: Close all open files
Ctrl+shift+v: Paste and Format
Ctrl+d: Select a word, repeat to increase the selection of the next same word
Ctrl+l: Select a row, repeat to select the next line
Ctrl+shift+l: Select multiple lines
Ctrl + Shift+enter: Insert new row before current line
Ctrl+x: Delete current line
Ctrl+m: jump to corresponding parenthesis
Ctrl+u: Soft undo, undo cursor Position
Ctrl+j: Select label Content
Ctrl+f: Find content
Ctrl+shift+f: Find and replace
Ctrl+h: Replace
Ctrl+r: Go to method
Ctrl + N: New window
Ctrl+k+b: Toggle Sidebar
ctrl+shift+ M: Check the contents of the current parenthesis, repeating the parenthesis itself
Ctrl+f2: Set/Remove tags
ctrl+/: Comment Current line
ctrl+shift+/: Current position Insert Comment
ctrl+alt+/: block comment, and focus to the first line, Write the comment description with the
Ctrl+shift+a: Select the current label before and after the
F11: Full screen
Shift+f11: fullscreen mode, edit the current file only
Alt+f3: Select all the same words
Alt +. : Closed label
alt+shift+ number: Split screen display
ALT + number: Toggle Open nth File
shift+ right-drag: cursor more than, used to change or insert column contents
The forward and backward key of the mouse to toggle tab file
Press CTRL, Click or select to edit multiple locations
Press ctrl+shift+ up and down, alternate lines

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.