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

Request: Intellisense ordering by context relevance

Open DracheTek opened this issue 3 years ago • 2 comments

Feature Request

When typing parameter for functions, I am hoping that Intellisens put the most relevant entries on top. 微信截图_20231125102830

take this for example, function prototype is follows:

void PORT_PinmuxConfig(PORT_ID_t portId, PORT_GPIONO_t gpioNo,PORT_PinMuxFunc_t pinMuxFunc)

I defined enum type for this parameter elsewhere, and I'm hoping the enum entry {PORT_A,PORT_B,PORT_C......} come on top of the list, instead of all keywords coming out together in alphabetic order Visual Studio support this feature natively IIRC.

DracheTek avatar Nov 25 '23 02:11 DracheTek

Yes, we're aware of this feature -- we had a pre-existing issue tracking this, but I can't seem to locate it right now.

sean-mcmanus avatar Nov 28 '23 21:11 sean-mcmanus

I could not find the existing ticket for this, so let's use this one instead.

bobbrow avatar Mar 25 '24 17:03 bobbrow