Skip to content
This repository has been archived by the owner on Dec 3, 2020. It is now read-only.

MicroShed/microprofile-language-server

Repository files navigation

MicroProfile Language Server

⚠⚠ This repository is deprecated! See Eclipse LSP4MP instead. ⚠⚠

MicroProfile language server implementation for Java files.

Clients

This repository only contains the server implementation. The following clients consume this server:

To Build

  1. Compile and build jar.
mvn clean package
  1. Find the packaged jar in the target directory.
  2. Follow the build instructions for the client that you are building to consume the above jar.

Language Capabilities

Demo

For a demo of the below capabilities, see MicroProfile Language Support for VS Code.

Diagnostic Warnings and Quick Fix

  • MP Health: Liveness/Readiness/Health annotations, HealthCheck interface implementation
  • MP Rest Client: CDI injection with Inject and RestClient annotations, diagnostic warning for RegisterRestClient annotation

Code complete suggestions with additional info

  • MP Health: Liveness/Readiness/Health annotations

Source actions

  • MP OpenAPI: Right-click in a class to generate Operation OpenAPI annotation via source actions
    • If there is already an Operation annotation on the current method, the Generate OpenAPI Annotations option will not appear.
    • An Operation annotation will be generated for any number of methods in a single class with a Response return type who do not already have an Operation annotation.

Code snippets with fields that you can fill in

  • MP OpenAPI: OpenAPI Operation and Parameter annotations

Logging

  • To log, see logMessage() method in MicroProfileLanguageServer.java

Releases

No releases published

Packages

No packages published

Languages