zed icon indicating copy to clipboard operation
zed copied to clipboard

Multiple LSP-server completion result support sort

Open d1y opened this issue 1 year ago • 0 comments

Check for existing issues

  • [X] Completed

Describe the feature

Some plugins in the community provide LSP services As shown in the figure. Obviously, what I need is cx (gopls) instead of Cx (scls) 👀

sort1

So it would be great if could manually set the sorting of the results returned by LSP Just like this? ( /cc @maxdeviant )

{
	// global sort, scls want to put it at the back because it is the least related :_)
	"language_servers": ["!eslint", "...", "scls"],

	"languages": {
		// Scope go sort
		"Go": {
		    "language_servers": [ "gopls", "...", "scls" ],
		}
	}
}

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

No response

d1y avatar May 19 '24 05:05 d1y