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

Outline navigation #1725

Closed
uudashr opened this issue Jun 9, 2018 · 4 comments
Closed

Outline navigation #1725

uudashr opened this issue Jun 9, 2018 · 4 comments

Comments

@uudashr
Copy link
Contributor

uudashr commented Jun 9, 2018

Steps to Reproduce:

  1. Open go file
  2. Open command palette (mac: cmd + shift + p)
  3. Type "Focus on outline"
  4. Tap from the outline, will open "Untitled-1" editor

screen shot 2018-06-09 at 10 12 44

Expect navigate to the symbol

@ramya-rao-a
Copy link
Contributor

ramya-rao-a commented Jun 11, 2018

@uudashr and others (@konrin, @lcg635, and @amsokol) who have upvoted this issue:

This is fixed in master. Please give it a try by following the below steps and share any feedback you have.

@uudashr
Copy link
Contributor Author

uudashr commented Jun 12, 2018

Awesome... The outline works.

A thought:
Seems vscode make the outline based on currently opened file. Go may best shown based on packages. The idea is that the outline view can be replacement for the file based tree view.

Found similar https://marketplace.visualstudio.com/items?itemName=766b.go-outliner, but this extension can't navigate to sub package, still require tree view to do that.

@ramya-rao-a
Copy link
Contributor

We have the Go: Browse Packages command to browse packages and files under them.
The outline feature from VS Code is still in its preview state.
Let's wait and see how it evolves and re-visit this later

@ramya-rao-a
Copy link
Contributor

This is now fixed in the latest update to the Go extension.

@vscodebot vscodebot bot locked and limited conversation to collaborators Jul 26, 2018
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