News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Editor will automatically add "-----" chars

Started by ollydbg, February 28, 2020, 02:22:58 AM

Previous topic - Next topic

ollydbg

I'm using the latest 64bit C::B nightly build The 08 February 2020 build (11957) is out..

When I wrote some thing like below:


    //----


After save the file, it becomes below:

    //----  ----------------------------------------------------------------------------------------------------


So, why those extra chars were automatically added?
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.

stahta01

One of the three old new plugins is likely doing it.

Try disabling tidycmt

Tim S
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

ollydbg

Quote from: stahta01 on February 28, 2020, 02:51:00 AM
One of the three old new plugins is likely doing it.

Try disabling tidycmt

Tim S
Hi, Tim, thanks for the help, disable tidycmt plugin fixes this issue.
Tidycmt plugin - CodeBlocks
I'm not sure how to configure this plugin's feature, maybe it can select some comment styles, but I don't know where is the config panel of this plugin. :)
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.