News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Comment mapping gone

Started by teto, September 03, 2014, 12:14:58 PM

Previous topic - Next topic

teto

Hi,

I am using nightlies and the binding to comment code (Ctrl+Shift+C) disappeared (Uncomment still functional). I believe it got stolen by the "help plugin". I disabled it but it does not seem to be back. Is a restart mandatory (I've lots of tabs sorted in different panels so I am a bit reluctant to) or is there a way to know what plugin stole the mapping (via a verbose restart for instance ?)

Jenna

Works fine here on linux (newest trunk) !

Why do you think it's the help-plugin ?

Check the settings in "Settings -> Editor -> Keyboard shortcuts".

teto

Works perfectly thanks there are so many options (which is good) in CB that sometimes I can't find them.

QuoteWhy do you think it's the help-plugin ?
Because after installing contrib, I typed Ctrl + shift + C as usual and it tried to launch a *.chm file with the name of the current project. When I disabled the plugin Ctrl+shift+C did nothing. I've tried reenabling theplugin and the mapping to see if it would steal the mapping again but it didn't. This might have been a glitch due to my chaotic setup so I don't think it's worth investigating.

thanks again !

teto

With the keybinder plugin it's easy to track keybindings and I was wrong, it was no the help plugin but the doxyblocks plugin that steals Shift+Alt+C and maps it to "Run CHM". I find this a bit aggressive since the commenting shortcut is quite useful, at least more than "Run the CHM".

Alpha

@devs: This seems to be a rather common complaint (and in my opinion, a plugin should not override shortcuts provided by core anyways).  Is there any objection to stripping default bindings from DoxyBlocks?

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

MortenMacFly

Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

Jenna


Alpha

Done.

I will leave it for someone else to decide if the other bindings it provides (which are for functions that I do not believe are commonly used) should be removed; and if/what the default shortcuts for inserting line/block comments should be added (more common usage).