News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Shortcut key to comment in CB like in vs code?

Started by giftofshivaji, March 29, 2023, 08:51:09 AM

Previous topic - Next topic

giftofshivaji

In vs code you can press ctrl / to comment, what's the shortcut key  for it in codeblocks?

ollydbg

Hi, there is a plugin named "Keyboard shortcuts", there you can define any shortcut key to any command.

If you look at the Menu->Comment, you will see the current shortcut key.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.