-
-
Notifications
You must be signed in to change notification settings - Fork 488
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
unable to hide non-public tags using the "v" key #860
Comments
This may be a limitation of ctags. Can you confirm the output of running ctags on the file to see if it has the
|
This is the output:
|
Ok this looks to be an issue with ctags itself then. Tagbar keys off the field
You can open an issue on the universal-ctags github page. Once ctags supports it, we can confirm the correct behavior within tagbar. If you do open an issue on universal-ctags, feel free to link this issue to that one so we can help track it. |
Ok I will do but I do not understand why tagbar is able to mark ("-" minus sign) the variable
as private and afterwards tagbar is not able to hide it using the "v" key?! From what you have written it is not clear to me if we are talking about a universal-ctags bug or a missing feature for the Go programming language (maybe it is only a matter of taste). |
That is actually a good question. When I try to repro I don't see the access modifier in front. I just see I can confirm that when I open a C++ file that has the access modifiers in the ctags output, I see the Can you provide the file you are using as well as your vim version information? |
This
|
These are my tagbar related configurations
I have the vim-go plugin installed but it is not loaded. This is my runtimepath
|
I took a look through the plugins and nothing jumps out that I can see that would impact how tagbar sees the tags. Sorry I can't be of more help on this. If you figure it out, I'd be curious how you are seeing the access modifier in your setup. Otherwise we can wait to see if the ctags enhancement gets implemented, and check to ensure the correct behavior here in tagbar. |
I have not yet raised a universal-ctags issue, but I have just detected that the "v" toggling seems to work for "struct"s instead of "funtion"s. I have opened the tagbar for test suite file knib-lib-gologger_test.go.
This is the corresponding
|
I have a .go file that has a private variable
In the tagbar "variables" section I see an entry that is marked as private
If I press the "v" key nothing happens?! This
is the map of the "v" key. Please let me know if I understand something wrong or if I should provide further information.
The text was updated successfully, but these errors were encountered: