zed icon indicating copy to clipboard operation
zed copied to clipboard

golang gopls semanticTokens support

Open youngxhui opened this issue 1 year ago • 1 comments

Check for existing issues

  • [X] Completed

Describe the feature

Unable to distinguish between package names or struct names by color.

setting ui.semanticTokens, but not work.

In vscode:

ui.semanticTokens: false

image

ui.semanticTokens: true

image

package name's color different struct name.

In zed

config

  "lsp": {
    "gopls": {
      "ui.semanticTokens": true,
      "symbolStyle": "Dynamic"
    }
  }

image

package name'color same as struct name.

If applicable, add mockups / screenshots to help present your vision of the feature

No response

youngxhui avatar Apr 26 '24 01:04 youngxhui

Slightly related, but more general:

  • https://github.com/zed-industries/zed/issues/5345

JosephTLyons avatar Apr 26 '24 18:04 JosephTLyons