-
Notifications
You must be signed in to change notification settings - Fork 89
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
Copy xpath of current element in xml doc - FR #85
Comments
Thanks for the suggestion! This is a feature I've been wanting to add, I just haven't had the time recently to do it. I'm hoping to pick this project back up again in a week or two, so perhaps I can squeeze this one in. |
Hi Josh, |
@MrLesh, no I unfortunately haven't had time yet to revisit this extension. If anyone gets to it before me and wants to submit a PR, I'm more than happy to merge it in! :) |
As an alternative or addition to this enhancement, it would be handy to show the xpath to the currently selected node in the status bar (or somewhere else) |
I need this too!! |
@cori +1 on showing the xpath in the status bar! the extension JSONPath StatusBar ( |
This commit also moves some shared code to a common class. Issue: #85
This will be in the next release, albeit in an "experimental" state. Please feel free to beat up the feature a bit and report back any bugs. Thanks! |
Great work, but I still can't get the correct xPath. When extracting I receive /AppiumAUT/XCUIElementTypeApplication/XCUIElementTypeWindow[10] instead of /AppiumAUT/XCUIElementTypeApplication/XCUIElementTypeWindow[1] |
Hi, @Phoenixcat - Can you submit a new issue with a copy of the XML that you're having trouble with? Thanks! |
Feature Request:
Is there currently an option to copy the current xpath of a selected element within an open XML doc?
I use this function all the time in some other editors and am trying to get the same functionality to work within VS Code. I've installed this extension but it doesn't seem to do that. If possible, I'd like to see this functionality added.
There is an extension that provides this functionality to Visual Studio (not VS Code) here:
Notepad++ extension:
The text was updated successfully, but these errors were encountered: