Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Enhance the outline view in vscode #2370

Closed
jhendrixMSFT opened this issue Mar 6, 2019 · 1 comment
Closed

Enhance the outline view in vscode #2370

jhendrixMSFT opened this issue Mar 6, 2019 · 1 comment

Comments

@jhendrixMSFT
Copy link
Member

We use the following tool to populate the outline view in vscode.

https://github.com/ramya-rao-a/go-outline

At present all it provides is package name and top-level functions. Compare this to the outline for say a node program where you get much more information (interfaces, enums, callbacks within funcs etc). At a minimum we should add the following info.

  • package-level constants and vars
  • interfaces
  • structs/typedefs and their associated methods

Once this is working we can investigate if there's any info inside funcs/methods we want to include.

@ramya-rao-a
Copy link
Contributor

When go.useLanguageServer setting is enabled and gopls is used, the outline feature is powered by the language server and it does show more useful information. Any further information we would like to see should be logged as a feature request to gopls in the go issue tracker

image

There are no plans to enhance the non-language server scenario at the moment, therefore closing this issue.

@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants