grpc-federation-language-server

command
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 6 Imported by: 0

README

gRPC Federation Language Server

Features

Syntax Highlighting

Semantic Highlighting allows for accurate recognition of gRPC Federation options. Syntax highlighting is available in quoted value. So, this is especially effective in CEL value.

Goto Definition

It supports jumps to the following definition sources.

  • Imported file name

    • e.g.) import "path/to/foo.proto"
  • Type of field definition

    • e.g.) Foo foo = 1
  • gRPC method name

    • e.g.) def { call { method: "foopkg.FooService/BarMethod" } }
  • Alias name

    • e.g.) option (grpc.federation.message).alias = "foopkg.Bar"
Diagnostics
Code Completion

Installation

$ go install github.com/mercari/grpc-federation/cmd/grpc-federation-language-server@latest

Usage

Usage:
  grpc-federation-language-server [OPTIONS]

Application Options:
      --log-file=    specify the log file path for debugging
  -I, --import-path= specify the import path for loading proto file

Help Options:
  -h, --help         Show this help message

Clients

The list of extensions or plugins for the IDE.

Visual Studio Code

https://marketplace.visualstudio.com/items?itemName=Mercari.grpc-federation

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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