vscode-supercollider icon indicating copy to clipboard operation
vscode-supercollider copied to clipboard

Method name autocompletion sometimes prefers partial matches over exact matches

Open jamshark70 opened this issue 1 year ago • 3 comments

Here are a couple of examples where autocompletion of a method name prefers a fuzzy match that is alphabetically earlier, over a more exact match is alphabetically later:

// should match `sampleRate`
// actually matches `sampleAccurate`
in.sampleR

// should match 'numChannels`
// actually matches 'numAnalogInChannels`
in.numC

In both cases, there is a hovering completion tag with the incorrect match -- this is the one that is inserted upon <return> -- and also a pop-up list of possible completions. The pop-up list contains correct matches, but I didn't find a key binding to insert the text from this list. The return key inserts only the wrong one.

1899796499

jamshark70 avatar Nov 04 '23 07:11 jamshark70