Forum Discussion
JRHans09
Resolver II
8 years agoCtrl + / not working for commenting in DAX
I am no longer able to use Ctrl + / as a keyboard shortcut to comment out sections of code in DAX. Any ideas why this is happening? I have upgraded to the latest version (Oct 2018). After the upgrade...
- 8 years ago
That would be my guess.
markus_zhang
Advocate III
7 years agoI think this is a bug. I'm pretty sure, with the most recent version, Ctrl + / still works 5 minutes ago, because I'm testing two pieces of code to see which one is more efficient, so I have to Ctrl + / a lot. Somehow it stops working suddenly. Alt+SHIFT+A still works but unable to remove comments added with Ctrl + /
Update:
It comes back and I figured out what happened.
Basically when you select the rows to comment/uncommet, you cannot select the full top row. For the top row and top row only you have to select the part starting from //, you cannot select the full row. If you select the full row, the color sometimes changes from blue to grey, as if focus leaves the editor.