Sublime Text 3 Development Go

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

Http://www.sublimetext.com/3

have been using sublime Text 2 development Go, recently inadvertently saw ST3 added a feature:

    • Added Jump back and jump Forward commands, available from the Goto menu
Although there are plug-ins to achieve similar ideas under the ST2, but compared with the ST3 comes from the function of the weak explosion, ST3 can almost unlimited return (the depth of the return has not been tested)
This function is mainly used when browsing, for example:
Func Fooa () {Foob ()}func Foob () {FOOC ()}

then browse to Fooa, with Goto definition to see the Foob code, in Foob may continue to see FOOC code, so several times to go back to Fooa after the more trouble

if Fooa, Foob and FOOC are not a good file, after all, switching files can directly find the location of these functions
If Fooa and Foob are in the same file and are far away, they need to scroll manually or find the way to Fooa

Friends who develop with vs know the ability to navigate, but there is no ST2 in the liteide, and there is no such function in the
After discovering that ST3 has this function, it has been tried, and the effect is very good, similar to the effect of vs.

Just ST3 is still in beta, there are some plugins can not be more troublesome, such as: Go Build, but personally feel that the ST3 itself is done well


ST3 previously installed the package control more trouble, and now also changed to ST2 the same way, very convenient,Ctrl+' Bring up the console, enter the following code return

Import Urllib.request,os; PF = ' package control.sublime-package '; IPP = Sublime.installed_packages_path (); Urllib.request.install_opener (Urllib.request.build_opener (Urllib.request.ProxyHandler ())); Open (Os.path.join (IPP, PF), ' WB '). Write (Urllib.request.urlopen (' http://sublime.wbond.net/' + pf.replace (', '%20 ')) . Read ())

Gobuild can not be used, direct ctrl+b bring up the console, manually input go build on it



Related Article

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.