Spacevim Language Module Erlang

Source: Internet
Author: User

Original link: https://spacevim.org/cn/layers/lang/erlang/

    • Module Introduction
    • Functional characteristics
    • Enable module
    • Shortcut keys
      • Language-specific shortcut keys
      • Interactive programming
Module Introduction

This module provides Erlang development support for Spacevim, including code completion, syntax checking, and formatting of code.

Functional characteristics
    • Code completion
    • Document Query
    • Jump definition at

Spacevim also provides interactive programming and language server capabilities for Erlang development. To enable a language server, you need to load the lsp module.

Enable module

You can enable the module by adding the following configuration to the configuration file:

[[layers]]  name = "lang#erlang"
Shortcut key language Exclusive shortcuts
Key function Description
SPC l d/K Show cursor functions or variables related documents ( lsp module required)
SPC l e Rename cursor function or variable (requires lsp module)
g d Jump to function or variable definition (requires lsp module)
Interactive programming

Start erl The interactive process, the shortcut key is: SPC l s i .

Transfer code to the REPL process execution:

shortcut Keys Description
SPC l s b Send entire file contents to REPL
SPC l s l Send current line contents to REPL
SPC l s s Send the selected content to REPL

Spacevim Language Module Erlang

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.