News:

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

Main Menu

The 12 February 2011 build (6992) is out.

Started by killerbot, February 12, 2011, 05:31:34 PM

Previous topic - Next topic

stefanos_

Quote from: Loaden on February 18, 2011, 11:39:08 AM
Quote from: stefanos_ on February 18, 2011, 08:03:58 AM
Guys, I don't know if it's a minor bug or not, but it seems that AStyle "violates" Code::Blocks's Coding Style.

To reproduce this:
create a new class name Foo
enter your curly braces; it will automatically indent your cursor by a tab / 4 spaces size (if i am correct; if not correct me please!)
Enter either public:, or private, or protected:, and see them left indenting like the Bad example from Coding Style.

I know that is a minor issue, but I am trying to adapt the Code::Blocks's Coding Style in my programming life :)

Cheers.
Settings > Editor > Editor settings > Indent options > Smart indent
Please does not checked this option.

Loaden, thanks buddy :) I have checked it and now another problem arises. Everytime I open curly braces, it does not move cursor by single tab / 4 spaces, and that is even more irritating than before :D.

Anyway, thanks for the effort; I will stick with the smart indent then :) I don't mind.

Cheers

stefanos_

cacb

Quote from: dmoore on February 18, 2011, 06:00:37 PM
I decided not to replace tools with tools+ by default for transparency purposes (to make it clear for first timers to the plugin that this is a separate feature). Before the next release, maybe the devs collectively decide to do something different.

That was a good decision. I decided to keep the Tools menu and instead remove the Tools+. It works better for me.

I don't think it is wise if a plugin completely replaces existing "core" functionality. At least that decision should be left to the user, and that is what you did. So no problem thus far.

oBFusCATed

If a user wants tool+, it can't remove tools...
(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!]

dmoore

Quote from: oBFusCATed on February 19, 2011, 04:20:24 PM
If a user wants tool+, it can't remove tools...

As I noted above, you can choose to hide the tools menu using Tools+->Configure tools->Plugin Settings->Replace Tools Menu with Tools plus
Python plugins: [url="https://github.com/spillz/codeblocks-python"]https://github.com/spillz/codeblocks-python[/url]
Code::Blocks Daily Builds -- Ubuntu PPA: [url="https://launchpad.net/~damien-moore/+archive/codeblocks"]https://launchpad.net/~damien-moore/+archive/codeblocks[/url]

codeur

Quote from: dmoore on February 18, 2011, 06:00:37 PM
I decided not to replace tools with tools+ by default for transparency purposes (to make it clear for first timers to the plugin that this is a separate feature). Before the next release, maybe the devs collectively decide to do something different.

I am glad you kept the Tools menu. As Tools+ does not seem to yet cover the same functionality as Tools (in particular the various ways of launching standard shells, and I have not seen separators). That would have made impossible my current use of the Tools. I also like the simple appearance of the inbuilt Tools.

For now I have disabled Tools+ and kept Tools, but thanks for offering this new plugin. It could become quite useful when more mature.