Categorygithub.com/mercari/grpc-federationcmdgrpc-federation-language-server
package
1.6.0
Repository: https://github.com/mercari/grpc-federation.git
Documentation: pkg.go.dev

# 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