jbangdev / jbang-vscode

JBang extension for Visual Studio Code
MIT License
12 stars 2 forks source link

completion on partial dependencies #98

Open maxandersen opened 1 year ago

maxandersen commented 1 year ago

can the search/lookup for deps do partial search instead of requiring perfect match?

ie. can //DEPS picocli have a quickfix to look up "info.picocli" as an option?

fbricon commented 8 months ago

Content assist searches for both groupId and artifactId. info.picocli is listed. I'm not sure what kind of quickfix you're after.

Screenshot 2024-03-09 at 19 49 53
maxandersen commented 8 months ago

Content assist rarely pops up for me so a quick fix would make for easy explicit lookup?

fbricon commented 8 months ago

For performance reasons, content assist for dependencies is triggered via ctrl+space (cmd+space on mac), unless - or : is typed, in which case it's triggered automatically

maxandersen commented 8 months ago

Understood. That's more reason to have access to do explicit Quick fix available on a red line on DEP line. At that time the UI tells you to press quick fix keys not any of the "magic" content assist keys.

Could a quick fix not just be to activate content assist on it?

maxandersen commented 1 month ago

i really really could use this :)

couldn't a quick fix be added that triggers search/autocomplete?