Summary

As an extension of #61038, can we also add a windsurf and cursor bucket to the gopls/client counter. New definition:

  • Counter: gopls/client:{vscode,vscode-insiders,vscodium,code-server,eglot,govim,neovim,coc.nvim,sublimetext,windsurf,cursor,other}
  • Title: Editor Distribution
  • Description: measure editor distribution for gopls users.
  • Type: partition
  • Program: golang.org/x/tools/gopls

Why?

This may help us answer the questions, why is the "gopls/client:other" is growing over the past year:

Other: 1122, VSCode: 5254 https://telemetry.go.dev/charts/2024-12-26_2025-01-01

Other: 2935, VSCode: 5830 https://telemetry.go.dev/charts/2025-07-14_2025-07-20

The percentage of other LSP client is increasing faster than vscode LSP client.

Does it carry sensitive user information?

No.

How?

Same as #61038.

[Trace - 7:30:52 PM] Sending request 'initialize - (0)'.
Params: {
    "processId": 8180,
    "clientInfo": {
        "name": "Windsurf",
        "version": "1.99.3"
    },
    "locale": "en",

[Trace - 7:32:39 PM] Sending request 'initialize - (0)'.
Params: {
    "processId": 22744,
    "clientInfo": {
        "name": "Cursor",
        "version": "1.99.3"
    },

Proposed Config Change

CL 693115

Comment From: gopherbot

Change https://go.dev/cl/693115 mentions this issue: internal/chartconfig: add windsurf and cursor to gopls client chart

Comment From: gopherbot

Change https://go.dev/cl/693095 mentions this issue: gopls/internal/server: add windsurf and cursor as language client

Comment From: findleyr

This shouldn't be a problem, since it's just additional buckets of an existing counter. Nevertheless, let's leave open for the week before accepting, as a matter of process.