Skip to content

Add lsp stub services#125

Draft
ssmifi wants to merge 1 commit into
mainfrom
ssm/lsp-stub-services
Draft

Add lsp stub services#125
ssmifi wants to merge 1 commit into
mainfrom
ssm/lsp-stub-services

Conversation

@ssmifi

@ssmifi ssmifi commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator

WIP

Closes #28

Mostly ports from langium with go-idiomatic mechanisms for customization.

# Feature Pattern Provider auto-registered? Notes
1 Declaration Provider-only ✅ Yes Meaningful default (delegates to Definition)
2 Implementation Filter ✅ Yes Meaningful filter default (include-all)
3 Type Definition Provider-only ✅ Yes Meaningful default (cross-reference heuristic)
4 Semantic Tokens Contributor (separate service) ✅ Yes ⚠️ No default contributor, provider does real work
5 Inlay Hint Computer (constructor-injected) ✅ Yes ⚠️ No default computer, provider does real work
6 Signature Help Computer (constructor-injected) ✅ Yes ⚠️ No default computer, provider does real work
7 Call Hierarchy Interface-only ❌ No --
8 Type Hierarchy Interface-only ❌ No --
9 Code Actions Interface-only ❌ No --
10 Code Lens Interface-only ❌ No --
11 Document Links Interface-only ❌ No --
12 Commands Interface-only ❌ No --

Tests the defaults and the override mechanisms.

@ssmifi
ssmifi force-pushed the ssm/lsp-stub-services branch 2 times, most recently from 1b9c746 to 154c364 Compare July 24, 2026 09:34

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.50.

Benchmark suite Current: 8be8f2b Previous: d803417 Ratio
BenchmarkWorkspaceCycle (typefox.dev/fastbelt/examples/statemachine) - MB/s 13.82 MB/s 5.21 MB/s 2.65

This comment was automatically generated by workflow using github-action-benchmark.

@ssmifi
ssmifi force-pushed the ssm/lsp-stub-services branch from 154c364 to a9cbd1c Compare July 24, 2026 09:53
@ssmifi
ssmifi force-pushed the ssm/lsp-stub-services branch from a9cbd1c to 8be8f2b Compare July 24, 2026 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Stub services for various LSP features

1 participant