PTVS
PTVS copied to clipboard
Navigation bar is not working
Describe the bug
Steps to Reproduce
Expected behavior
Navigate bar displayed at the top of each editor window and includes a tow-level list of definitions. i. Left drop-down contains top-level class and function definitions in the current file. ii. Right drop-down displays a list of definitions within the scope shown in the lest.
This should be handled here:
https://dev.azure.com/devdiv/DevDiv/_git/VSLanguageServerClient?path=%2Fsrc%2Fproduct%2FRemoteLanguage%2FImpl%2FFeatures%2FNavbar%2FRemoteLanguageDropdownBarClient.cs&_a=contents&version=GBdevelop
Not sure why it isn't.
I don't get the nav bar. Not sure how this is showing up for you @ttSpace
@ttSpace how did you get the nav bar to show up?
@rchiodo you can go to Tools > Options > Text Editor > Python > General > Navigation bar (The option is checked by default)
Hmm, I have that set but I still don't see nav bars.
This should be fixed when goto definition gets fixed by #6541
@greazer
Go to definition works well on this build. But the Navigation bar is still not show up.
In today's build I see the Navigation bar, but there is nothing in the the Navigation bar.
In toady's build 17.1.0 Preview 3.0 [32030.14.main]
, the Navigation bar still does not work properly.
This still needs to be investigated. If I had to guess, I'd say pylance is not properly sending the list of methods and properties to the LSP client or they are getting lost along the way.
This doesn't repro in vscode, so pylance is most likely doing the right thing here. PTVS or the VS LSP Client is most likely responsible.
In today's latest build:17.6.0 Preview 1.0 [33331.318.main],Python Package:17.0.23031.1
Navigation bar is missing and go to Tools > Options > Text Editor > Python > General > Navigation bar(it is disabled)
Yes that's disabled as a short term fix since the navigation bar isn't showing anything. Need to come up with a long term fix for this one.