Replies: 1 comment 1 reply
-
We can add an extra transformation pass similar to what we do with There are 2 problems, however:
We also need to properly design the protocol messages so the same feature could be implemented in the Rider plugin |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there any mechanism to derive the control from the caret position in a xaml file? As in the VS extension, if you move the caret around in the text view, you could easily get the reference to the control the current xaml block corresponds to, such as clicking on a
<Panel>
tag, or within it, will highlight the bounds of the panel in the designer view. This is possible and a feature of the WPF/UWP designer.I'm working my way through some features I'd like to get included into the VS extension to improve it and this is something I think could be really useful. Note, I'm not trying to invent a full designer - I know the general consensus on that - but being able to scroll the preview bitmap to the current control being edited in xaml, or highlight and maybe display some layout characteristics could be a really nice feature. The
IWPFTextView
has an event that listens for caret changes not related to text changes which can retrieve the xaml position, but I haven't found a way to translate that text position to the control it corresponds to.Technically, this should work both ways - such that specifying a control can retrieve the xaml declaration position, but one step at a time.
Beta Was this translation helpful? Give feedback.
All reactions