Author Topic: Code-completion in modern C++, when new release?  (Read 1055 times)

Offline Hyena

  • Multiple posting newcomer
  • *
  • Posts: 21
Code-completion in modern C++, when new release?
« on: March 02, 2020, 11:55:06 am »
It's been so many years since you made the last release and some of the crucial code-completion aspects are not working with the new C++ features such as brace initialization and typed enum classes.

I am starting to consider switching the IDE because of this, but maybe you are just about to make the next official release? If that's the case, I'd be willing to wait a couple of months. Let me know if there is any hope for the next release yet or not. Thanks!

Offline Khram

  • Multiple posting newcomer
  • *
  • Posts: 25
  • 3D-tensor mathematics - vector space
    • ShipDesign
Re: Code-completion in modern C++, when new release?
« Reply #1 on: March 02, 2020, 01:12:54 pm »
A very long wait, I agree. And also, version 17.12 is not working absolutely.  :'(
C++ & Fortran in MinGW-GCC-4.3.3 & Equation-GCC-10.1 with CB-12169

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12735
    • Travis build status
Re: Code-completion in modern C++, when new release?
« Reply #2 on: March 04, 2020, 06:33:02 pm »
There would be a release soon, but I'm not sure it will fix your CC problems. You can try a night build to see if this is the case.
(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 Hyena

  • Multiple posting newcomer
  • *
  • Posts: 21
Re: Code-completion in modern C++, when new release?
« Reply #3 on: March 05, 2020, 11:49:02 am »
There would be a release soon, but I'm not sure it will fix your CC problems. You can try a night build to see if this is the case.

Is the source code available from git somewhere?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12735
    • Travis build status
Re: Code-completion in modern C++, when new release?
« Reply #4 on: March 05, 2020, 08:32:07 pm »
The source of the release? Yes it is in the release 20.xx branch on my repo or in svn.

https://github.com/obfuscated/codeblocks_sf/commits/release-20.xx
(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 Hyena

  • Multiple posting newcomer
  • *
  • Posts: 21
Re: Code-completion in modern C++, when new release?
« Reply #5 on: March 06, 2020, 12:41:53 pm »
The source of the release? Yes it is in the release 20.xx branch on my repo or in svn.

https://github.com/obfuscated/codeblocks_sf/commits/release-20.xx

How do you keep them in synch?

Is there any way I could verify SVN and your git repo contain the same code?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12735
    • Travis build status
Re: Code-completion in modern C++, when new release?
« Reply #6 on: March 07, 2020, 12:35:46 am »
I use git svn fetch/git push combos. You can download them both and do some check summing or diffing if you want to be 100% sure. If you want minimal reassurance then you can check the git commits for the svn revision (they have it in the commit message)...
(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 Hyena

  • Multiple posting newcomer
  • *
  • Posts: 21
Re: Code-completion in modern C++, when new release?
« Reply #7 on: March 09, 2020, 01:31:39 pm »
I built codeblocks 20.xx branch. The program starts but is unusable. See the attached screenhots. I am unable to open an existing project and there are no plugins either which I could enable to satisfy the first error message.

Also, when I click help -> about, the program crashes

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12735
    • Travis build status
Re: Code-completion in modern C++, when new release?
« Reply #8 on: March 09, 2020, 11:27:24 pm »
How have you built the plugin? If you've used make install (without passing custom --prefix to configure) you've mess your system up. Also you have to uninstall the old codeblocks if you're going to install in the default location (/usr/local/).
(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 Hyena

  • Multiple posting newcomer
  • *
  • Posts: 21
Re: Code-completion in modern C++, when new release?
« Reply #9 on: March 10, 2020, 12:22:37 pm »
How have you built the plugin? If you've used make install (without passing custom --prefix to configure) you've mess your system up. Also you have to uninstall the old codeblocks if you're going to install in the default location (/usr/local/).

I didn't install anything. Just executed the binary in the src/src folder.

edit:

I tried both:

./configure --with-contrib-plugins=all

and

./configure --prefix=/usr --with-contrib-plugins=all,-help

same results

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12735
    • Travis build status
Re: Code-completion in modern C++, when new release?
« Reply #10 on: March 10, 2020, 08:53:07 pm »
You need to do make install if you want to have a working binary. Using --prefix=/usr is even worse than using the default. It will mess with the files of the package manager and it might break it. Use a prefix in your home folder to be safe or something like /opt/codeblocks/...
(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!]