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

support vscode built in command #3695

Open
qqaimh opened this issue Feb 28, 2025 · 1 comment
Open

support vscode built in command #3695

qqaimh opened this issue Feb 28, 2025 · 1 comment
Labels
WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Milestone

Comments

@qqaimh
Copy link

qqaimh commented Feb 28, 2025

support vscode built in command:
vscode.provideDocumentSemanticTokens
vscode.provideDocumentRangeSemanticTokens

@gopherbot gopherbot added this to the Untriaged milestone Feb 28, 2025
@h9jiang
Copy link
Member

h9jiang commented Mar 4, 2025

Hi qqaimh,

Thank you for reporting this issue.

Are you referring to Semantic Token Provider under vscdoe extension semantic highlight?

The language server gopls have implementation can report semantic token informations. The semantic token is disabled by default but you should be able to enable it by setting. (There is an open issue to make this enable by default see #2286)

  "gopls": {
    "ui.semanticTokens": true,
  }

See semantic token capabilities from gopls.

For range specifically, I think this is supported from the client side see source. Also supported in server.

If this is not you are looking for, could you share more detail?

@h9jiang h9jiang added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Projects
None yet
Development

No branches or pull requests

3 participants