Author Topic: When will the strongly typed enum class auto completion bug be fixed?  (Read 892 times)

Offline Hyena

  • Single posting newcomer
  • *
  • Posts: 7
https://sourceforge.net/p/codeblocks/tickets/176/

It's been 3 years and this bug hasn't been fixed, yet a patch for it seems to be done. Are there any known workarounds?

I have a project with a lot of enum classes and I absolutely need the auto completion for them.
Fortunately I can remove the strong type as a workaround but I would very much appreciate it if this gets resolved.

Is there any specific reason for this to take so long?

Thanks!

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5226
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: When will the strongly typed enum class auto completion bug be fixed?
« Reply #1 on: February 08, 2019, 03:58:00 am »
https://sourceforge.net/p/codeblocks/tickets/176/

It's been 3 years and this bug hasn't been fixed, yet a patch for it seems to be done. Are there any known workarounds?

I have a project with a lot of enum classes and I absolutely need the auto completion for them.
Fortunately I can remove the strong type as a workaround but I would very much appreciate it if this gets resolved.

Is there any specific reason for this to take so long?

Thanks!

Oh, I think I just forgot that ticket. I will commit the patch in that ticket ASAP.
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.

Offline raynebc

  • Almost regular
  • **
  • Posts: 210
Re: When will the strongly typed enum class auto completion bug be fixed?
« Reply #2 on: February 08, 2019, 05:56:56 pm »
Sorry to butt into this thread, but there's another code completion bug that has been a mild nuisance for me for over six years:
https://sourceforge.net/p/codeblocks/tickets/25/
It was labeled to be fixed in the next release, which by now has already occurred.  Was this something that could be easily solved?

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5226
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: When will the strongly typed enum class auto completion bug be fixed?
« Reply #3 on: February 09, 2019, 09:07:48 am »
Sorry to butt into this thread, but there's another code completion bug that has been a mild nuisance for me for over six years:
https://sourceforge.net/p/codeblocks/tickets/25/
It was labeled to be fixed in the next release, which by now has already occurred.  Was this something that could be easily solved?
Oh, sorry, this ticket also get lost. Now, the two tickets in this discussion thread are put in my first TODO.  ;)
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.

Offline raynebc

  • Almost regular
  • **
  • Posts: 210
Re: When will the strongly typed enum class auto completion bug be fixed?
« Reply #4 on: February 09, 2019, 09:55:20 am »
Thank you kindly!

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5226
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: When will the strongly typed enum class auto completion bug be fixed?
« Reply #5 on: February 11, 2019, 03:38:12 am »
Both two tickets were fixed in trunk now.
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.