Author Topic: A single wish  (Read 582 times)

Offline ashotisatoshi

  • Single posting newcomer
  • *
  • Posts: 9
A single wish
« on: May 27, 2017, 02:35:57 pm »

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

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 10396
Re: A single wish
« Reply #1 on: May 27, 2017, 05:15:47 pm »
We already have this feature.
Just enable the code completion plugin and make sure the code completion toolbar is visible.
<debugger plugin maintainer>
(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!]

Offline ashotisatoshi

  • Single posting newcomer
  • *
  • Posts: 9
Re: A single wish
« Reply #2 on: May 27, 2017, 05:31:10 pm »

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 ?


Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 10396
Re: A single wish
« Reply #3 on: May 27, 2017, 08:03:42 pm »
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!
<debugger plugin maintainer>
(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!]

Offline ashotisatoshi

  • Single posting newcomer
  • *
  • Posts: 9
Re: A single wish
« Reply #4 on: May 28, 2017, 11:49:54 am »

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

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 10396
Re: A single wish
« Reply #5 on: May 28, 2017, 01:39:18 pm »
 :o  :-X  ???

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

Offline ashotisatoshi

  • Single posting newcomer
  • *
  • Posts: 9
Re: A single wish
« Reply #6 on: May 28, 2017, 04:49:42 pm »
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
« Last Edit: May 28, 2017, 05:03:26 pm by ashotisatoshi »

Offline ashotisatoshi

  • Single posting newcomer
  • *
  • Posts: 9
Re: A single wish
« Reply #7 on: May 28, 2017, 05:08:16 pm »
Here is the output of my embedded profiler

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 10396
Re: A single wish
« Reply #8 on: May 28, 2017, 06:13:24 pm »
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. :)
<debugger plugin maintainer>
(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!]