Skip to content

Add inline completion (ghost text) support for Liberty config files #402

@venmanyarun

Description

@venmanyarun

Summary

Add support for textDocument/inlineCompletion (LSP 3.18 feature) to the Liberty Language Server (liberty-ls) to provide inline completion suggestions (ghost text) for Liberty configuration files (server.env, bootstrap.properties).

Motivation

Inline completion provides a better developer experience by showing completion suggestions directly in the editor as grayed-out text at the cursor position, similar to GitHub Copilot. This is more intuitive than traditional completion popups and helps developers discover Liberty configuration properties faster.

Proposed Solution

Implement inline completion using an adapter pattern that reuses existing completion logic from LibertyPropertiesCompletionProvider. This ensures:

  • Zero code duplication
  • Consistency between traditional and inline completions
  • Easy maintenance

Metadata

Metadata

Assignees

Labels

LCLSLiberty Config Language ServerenhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions