Home > Backend Development > Golang > Does emacs support golang?

Does emacs support golang?

(*-*)浩
Release: 2019-12-14 11:29:37
Original
2490 people have browsed it

Does emacs support golang?

Emacs, a famous integrated development environment and text editor. Emacs is recognized as one of the most popular code editors for professional programmers, along with vim.                                                                                                                                                                           (Recommended learning: go)

EMACS, the abbreviation of Editor MACroS (Editor Macro), was originally developed by Richard Stallman (Richard Matthew Stallman) Completed in 1975 at MIT with Guy Steele.

This idea was inspired by TECMAC and TMACS, which are macro text editors written by Guy Steele, Dave Moon, Richard Greenblatt, Charles Frankston and others.

First download the golang official emacs mode:

http://golang.org/misc/emacs/go-mode.el
Copy after login

Download auto-complete

http://cx4a.org/software/auto-complete/#Downloads
Copy after login

Then unzip the file to any directory :auto-complete

cd auto-complete
make
make install
Copy after login

Select the directory to install

and then add

(add-to-list 'load-path "INSTALLPATH/auto-complete")
(require 'auto-complete)
(require 'auto-complete-config)
(add-to-list 'ac-dictionary-directories "INSTALLPATH/auto-complete/ac-dict")
(ac-config-default)
Copy after login

to the emacs configuration file from https://code. Download the two files below misc/emacs from google.com/p/go:

go-mode.el
go-mode-load.el
Copy after login

The above is the detailed content of Does emacs support golang?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template