OS: Linux or MAC OS X.
Editor: emacs
Languages: C/C++, Golang, Python, ZIG, HTML/Javascript/CSS/SASS.
Environment: Docker
Embedded environment: IDF ESP32, STM32.
Compilers: CLANG, GCC, zig compiler.
Package installer: ELPA/MELPA.
Installed packages:
- magit
- company
- yasnippet
- go-mode
- web-mode
- markdown-mode
- js2-mode
- emmet-mode
- prettier
Themes:
- dracula-theme
- gruvbox-theme
- material-theme
- atom-one-dark-theme
Run M-x package-refresh-contents
Run M-x package-install-selected-packages
Install go and gopls.
URL: https://pkg.go.dev/golang.org/x/tools/gopls
URL: https://cs.opensource.google/go/x/tools/+/refs/tags/gopls/v0.15.3:gopls/doc/emacs.md
GO111MODULE=on go install golang.org/x/tools/gopls@latest
In bashrc or zshrc:
export GOPATH="$(go env GOPATH)"
export PATH="${PATH}:${GOPATH}/bin"
Install python and python-lsp-server.
On MAC: brew install python-lsp-server
Install clang and clang tools extra (for clangd).
dnf install clang-tools-extra
Install ZIG.
dnf install zig
Install vscode-langservers:
npm i -g vscode-langservers-extracted