Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lsp registration on Initialisation + dynamic codeLens-Title #90

Open
wants to merge 2 commits into
base: anytext
Choose a base branch
from

Conversation

alexander-hert
Copy link
Collaborator

No description provided.

TitleFunc = (modelRule, context) =>
{
context.TryGetReferences(modelRule, out var references);
return $"{references.Count()} References";
Copy link
Contributor

Choose a reason for hiding this comment

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

Diese Lens könnten wir vermutlich fast in die ElementRule verschieben, oder? Zumindest, wenn der SymbolKind != null ist (aber dafür müssten wir erstmal den DocumentSymbol-Branch mergen)

},
TitleFunc = (modelRule, context) =>
{
context.TryGetReferences(modelRule, out var references);
Copy link
Contributor

Choose a reason for hiding this comment

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

TryGetReferences könnte false zurückliefern

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.

2 participants