-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
Sticky Scroll feature - that works with XML (this case being AAD B2C Custom Policies - when working with User Journeys, Technical Profiles etc.) #157720
Comments
@nzcoderguy how does your XML look in the Outline view? @aiday-mar my guess is that the |
I suggest you look for an extension which provides an XML language server. |
Do you recommend any XML extensions that would provide the same type of feature/functionality? |
You may install the XML Language Support by Red Hat from the market place |
https://marketplace.visualstudio.com/items?itemName=redhat.vscode-xml is popular and populates the Outline, as shown in its first screenshot. Unfortunately it classifies the symbols as |
I'm getting some stickiness in XML that I'm testing with the current 1.71 Insiders, so something is changing in this area. @aiday-mar can you share any information yet about this? |
Hi thank you for all your feedback on all the open issues. I am currently testing the changes proposed by the PR #157466 on all kinds of files. So far it would seem the correct sticky lines are stuck (comments and decorators are no longer stuck). I am still in the process of testing and will be doing so for XML files too. |
@gjsjohnmurray Indeed with the latest refactoring of the sticky scroll (specifically after removing the comparison against different symbol kinds), the sticky scroll sticks XML headers to the top. As the issue does not have a specific example, I am currently not able to reproduce it. |
Our suggestion is to install an extension that registers a document symbol provider for XML (such as the redhat xml extension). Otherwise, we also have #157165 which tracks using a different method for computing sticky lines, based on indentation. |
I have the RedHat XML Extension installed - but its not behaving like @aiday-mar 's snipping clip - or is that in the latest build not released yet of VSC? I'm also not seeing anything in the Outline window still. |
You need to be using Insiders edition. Download it from https://code.visualstudio.com/insiders/ You can install it alongside the general release version, aka Stable. |
Thank you so much. Insiders version + RedHat XML extension + B2C extension, and enabling this sticky scroll = working brilliantly. The Outline window is populating with the XML structure/tree now, along with the breadcrumb/current selected branch too - looks great! |
Excellent! 1.71 is expected to ship in early September. See #157454. |
When working with AAD B2C Custom Policies using VSC - the Stick Scroll feature would be nice to have - but it doesn't appear to make any difference for Xml files when writing/reading Technical Profiles/User Journeys etc. would help immensely.
The text was updated successfully, but these errors were encountered: