Repository navigation
some tweaks to code completion - #115
Conversation
|
Looks great, thanks! Do you think there's any value in showing the full params instead of I'm not at PC to test, but from screenshot in #111 maybe they're shown when selected - not sure if one way might seem better than the other? I should probably see how it feels at a PC.. I think there are also a bunch of places now where we display similar info we should probably review to see if improvements made in some places are missing in others (for ex. if there are other places still displaying uppercase kinds and maybe duplicate logic for converting to the Code kinds). |
|
Definitely more room for iteration here. The TS completion just shows names when not selected, not This current implementation is pretty close to how the TS completer displays things. Not sure if we want to match that or look for improvements where possible. Other code completion UIs I'm familiar with show the full method+sig for all items, not just the selected one. I'd like to see how it all fits together w/ the param completer; I'm not very familiar w/ what that looks like. It would be nice if we could complete more of the item. In atom, you can specify some insertion points and placeholders for params. So something like Don't think VSCode has support for this though - completing w/ instructions for how to tab between placeholders. |
I think the TS one is a good reference to roughly copy, but if we think we can improve it (we've already seen it has "quirks") then I think we should try it out!
I made a start on trying to implement this using the
Yeah, I agree. Maybe it's worth raising a feature for Code? (maybe including a screenshot of how Atom handles it will help). |
A follow-up to #111: