Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only works on root folder #4

Closed
derekperkins opened this issue May 8, 2018 · 5 comments
Closed

Only works on root folder #4

derekperkins opened this issue May 8, 2018 · 5 comments

Comments

@derekperkins
Copy link

This is only showing types and functions for the root folder. I want to see them for whatever folder my currently open file is in.

@766b
Copy link
Owner

766b commented May 8, 2018

Are you on Linux? I pushed a new version that fixes similar issue with Linux. Also there's slight issue with VS Code API where file change event does not fire sometimes, but it looks like it only happens on fresh instance and goes away if you open several files in series.

PS: It should change working directory based on current file (if there are valid .go files)

@derekperkins
Copy link
Author

I am on Mac. I tried updating to 0.0.6 and am still seeing the same behavior. I tried both switching to open files and opening files in directories that were never open, and neither works.

Also, I am super excited for this extension, so thanks for the work writing and releasing it!

@766b
Copy link
Owner

766b commented May 9, 2018

Did some changes, tried it on my old Mac, and it seems to work on root and sub-folders for me. Did the issue resolve itself for you?

@766b
Copy link
Owner

766b commented May 9, 2018

Pushed new version, hopefully that fixes you issue. Also tested on Mac and it worked fine with latest version. If issue still persist, let me know.

@766b 766b closed this as completed May 9, 2018
@derekperkins
Copy link
Author

It's working now. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants