You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I start typing json., I expect to get results from all json packages (probably ranked/ordered somehow, with any imports being at the top). Pressing enter on a result from an unimported package should import that package.
However, LSP does not suggest results from anything you have yet to import. This greatly inhibits the code-complete functionality:
First I have to go find the exact package of the thing I'm looking for (already the major purpose of code completion for me is lost)
I have to manually add it
I have to be careful not to save file in vscode, which will run goimports, which will remove my import because nothing uses it
Perform auto-complete
Save
This is not an ideal situation. It would be greatly alleviated if I could have just use autocomplete to search for the method I'm looking for across all packages.
I realize this is probably hard in a GOPATH-less world, FWIW.
The text was updated successfully, but these errors were encountered:
If I start typing
json.
, I expect to get results from alljson
packages (probably ranked/ordered somehow, with any imports being at the top). Pressing enter on a result from an unimported package should import that package.However, LSP does not suggest results from anything you have yet to import. This greatly inhibits the code-complete functionality:
This is not an ideal situation. It would be greatly alleviated if I could have just use autocomplete to search for the method I'm looking for across all packages.
I realize this is probably hard in a GOPATH-less world, FWIW.
The text was updated successfully, but these errors were encountered: