<div dir="ltr">Hi,<div><br></div><div>Sometimes, having an (XQuery) file open, I&#39;d like to do some experimentation in the XQuery Builder view. You add a couple of lines of code, try it out, etc. Then, I&#39;d like to comment out a line or a selection using Ctrl-Shift-, in this view, but this doesn&#39;t work. Apparently, the focus for this type of action remains with the previous file, and suddenly you get a comment where you cursor is in this file (or, if a selection was active, around it).<br>

</div><div><br></div><div>The behaviour is the same on Windows and Mac, latest 16.0, build 2014070913. These commands are listed under the &quot;Document&quot; menu item which is coherent with their behaviour (they apply to documents only, not to &quot;buffers&quot;), but I would argue that commands like this should be applicable in the window or view where the cursor is currently active, and this would be very useful there. Maybe that&#39;s not as easy as it sounds because of the Eclipse underpinnings?  Could you consider this for a future improvement?</div>

<div><br></div><div><div>cheers,<br>Jakob.</div>
</div></div>