Arm Mbed OS support forum

1.30 update -> Add Line Comment shortcut not working

Hi!
With Mbed Studio 1.2.1 I was able comment out a section with CTRL + K + C, and uncomment with CTRL +K + U.
This is not working for me in 1.3.0 anymore. If i use CTRL + Shift + P to find the command and klick “Add Line Comment” there, it works as expected.

CTRL+# to toggle a line comment is still working.

Kind regards,
Stefan

Hi Stefan,

Thanks for the bug report. I’ve added it to our bug tracker and we’ll work on a fix for a future release.

We’re also hoping to add UI to let you customise the keybindings soon too.

Thanks,
Matthew
Mbed Studio team

We’re also hoping to add UI to let you customise the keybindings soon too.

That would be great. I’m looking forward to this feature :slight_smile:

Hi Stefan,

You should still be able to use:
ctrl+ / - toggle line comment, supports commenting multiple lines when more than one line is selected
shift + alt + a - toggle block comment, supports commenting multiple lines when more than one line is selected

As Matthew mentioned next release of Studio should allow to view and modify all shortcuts. Here is a sneak peek into this feature:

That works. Thanks for the response.