acme-lsp

command module
v0.0.0-...-639bd63 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2024 License: BSD-3-Clause Imports: 12 Imported by: 0

README

acme-lsp

Acme-lsp is Language Server Protocol integration for Acme.

This is in development so it isn't stable yet. Please file a bug if you have find a bug.

Installation

This app requiers gopls.

To install:

$ go install golang.org/x/tools/gopls@latest
$ go install github.com/lufia/acme-lsp@latest

Usage

You can run Local acme-lsp by 3 button of mouse in Acme window anywhere, usually tag line. Then app starts watching events that Go source files is opened.

Features

Jump to definition or declaration

When 3 button is clicked on the top of token in the Go source file, acme-lsp searches definition or declaration of that token, then prints filename and line number onto other window in Acme.

If acme-lsp couldn't find definition or declaration of the token, will search the token as simple text within same file.

Document

TODO

  • go-fmt before saving (textDocument/formatting)
  • run go-test
  • didOpen after Get

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package lsp implements the language server protocol client.
Package lsp implements the language server protocol client.
Package outline implements file address converter.
Package outline implements file address converter.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL