-
Notifications
You must be signed in to change notification settings - Fork 208
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
"XML Reload" removes loaded XSLT #385
Comments
Ah, sounds like a great idea, so if you are on the XSLT transform tab and the XML file changes, and the user clicks Reload, then automatically rerun the transform. Is this what you want? |
Good question .. I would say: the base feature should be to not! lose the connection to the XSL. The "rerun/reload" topic can be seen in a complex way: Maybe some "possible combinations" are useless, but at the moment I don't have an idea which combinations are useful and how to handle it. But I think that's not the highest priority ;-) |
Got it so how about we add to the Options dialog
Where the property has a drop down with 3 values [Always, Prompt, Never], where the behavior we see today is [Prompt] for XML and [Never] for XSL. If you change it to [Always], [Always] you get the fully "live" reload behavior (which is what VS code does). Maybe the status bar will tell you that a reload happened. Could also play with:
|
For me this would be fine, but I'm always hoping for some comments of other users. |
Ok, I did some of this in version 2.9.0.13 you will see a new setting under "Editor" called "Prompt before reload" which defaults to True. If you change it to false, the XSLT page will auto-reload the XML and retransform to show the new content in the xslt output with zero user input. |
Works fine,thank you Chris. |
To reproduce:
Could you modify this behaviour to keep the connection between XML and XSLT alive?
The text was updated successfully, but these errors were encountered: