microsoft / XmlNotepad

XML Notepad provides a simple intuitive User Interface for browsing and editing XML documents.
https://microsoft.github.io/XmlNotepad/
MIT License
966 stars 206 forks source link

Feature Request - Keyboard shortcut to comment/uncomment nodes #396

Open mark05e opened 1 month ago

mark05e commented 1 month ago

I would like to suggest a new feature that I believe would be good user experience. It would be incredibly helpful to have keyboard shortcuts to quickly comment and uncomment nodes. Specifically, keyboard shortcuts like Ctrl + K or Ctrl + / would make this process more efficient.

Would you be open to implementing it in a future release?

Thank you!

lovettchris commented 4 weeks ago

Hi Mark, great idea. This would be similar to the "Edit->ChangeTo" menu, where you can change an element to a Comment then later you can change it back from a Comment to an Element.

mark05e commented 4 weeks ago

Yes exactly!

mark05e commented 3 weeks ago

Made a quick Autohotkey script to help me out for the moment. https://gist.github.com/mark05e/95e7097de92149d3487d61eab6816efc