News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

A single wish

Started by ashotisatoshi, May 27, 2017, 02:35:57 PM

Previous topic - Next topic

ashotisatoshi


Hi,

I'm new here, so apologies if this is not the right section to post to.

I have a single simple wish for code blocks..

On the status bar, could there be the name of the function I am currently in?
Sometime when working within a function which is more than one page long, I some time forget
which function I am working on - or even when just browsing through my code quickly I have
to page up to know what function it is that I am looking at - showing the function that
currently the cursor is in would be handy

Thanks.

Ps - Code::Blocks is so great btw !!

Ash

oBFusCATed

We already have this feature.
Just enable the code completion plugin and make sure the code completion toolbar is visible.
(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!]

ashotisatoshi


Hi,

Cheers for the reply -

some of my code is several hundred thousand lines in length, and I have found code completion really slows down
editing - is there a way a plugin can achieve what I am after ?


oBFusCATed

Yes, but you need to write a parser for c/c++ and probably get the same effective slowdown.

p.s. I hope you don't have files larger than ten thousand lines. :)
p.p.s. I'm using codeblocks to edit a project that is 2-3 milion lines of code and it works fine!
(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!]

ashotisatoshi


Yes,

Avg line count of files in project are 80k lines,
largest being 232k lines..

Not ideal, but client is a bank with some very strange rules

oBFusCATed

 :o  :-X  ???

It will be interesting if you can gather some profiles with something like perf or vtune.
(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!]

ashotisatoshi

#6
Because the client is a Bank, - I can't expose anything regarding this project -
however, i have another project , with source files in the 10s of thousands of lines

perf1.txt & perf2.txt attached

ashotisatoshi

Here is the output of my embedded profiler

oBFusCATed

I was talking about profiling Code::Blocks on a large project so we can see what is slow and not profiling your application.
I'm not interested in improving your application's performance. :)
(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!]