Hi Bradley;

I did look at your Gist link, that's how I found out that the NB 8.2 plugin was no longer supported in NB25, and your post indicates that this has been since NB21.

Your approach to solving the issue is very good. But it has some flaws which concern me, and that is why I switched to Eclipse.

Let's look at NB 8.2. It no longer used. I suspect that the reasons are that the languages (Java, C/C++) have evolved beyond NB 8.2's ability to handle them, and NB has itself evolved to make it more usable to its audience. But note, NB 8.2 (well as later NB's) had an integrated environment able to support multiple languages within the same IDE, unlike Eclipse, and it is an excellent IDE. But it's not used because of its flaws.

Your solution, to wit, using NB21 for C/C++ work has the same flaws. NB21 is not going to evolve. It is what it is. Sooner or later language evolution and IDE evolution will make it unusable, requiring that the same effort as spent now will be spent again. And, since NB21, the languages have evolved, making it at best a partial solution. If NB25 is suitable for some efforts in which NB21 is insufficient, then development is in a non-integrated IDE, the same as Eclipse. The choice is whether I spend time learning two IDE's or one, given that both will evolve in time.

I like NB and have used it for a decade or two. I would dearly like to continue using it, but, it does not, and has not, supported C/C++ in a consistent and documented fashion. To my detriment, I'm a tool user, not a tool developer. And so, NB is not as good as Eclipse, and if I want to use development on any C/C++ effort, then I can use Eclipse, and for other languages, NB, or I can stay with a single framework.

art

On 4/6/2025 12:36 PM, Bradley Willcott wrote:
Check out my Gist link.

You will need NB v21. Therefore, you will have */two/* versions installed. One for C/C++, and one for Java.

On 6/4/25 00:55, slipbits wrote:
One note, I have NB 25, and in NB 25 there is no "Netbeans 8.2 Plugin Portal". There is an C/C++ plugin. That could be why when I select a new C/C++ project all I get is: "Lightweight C/C++ Project". And the rest of your description, then, does not apply.

When I eventually did establish a C/C++ environment (thanks to all of you), and did link it to (Cygwin)clangd, and did begin to edit a file, I also did notice that no syntax checking was done. Now this was sporadic. Sometimes there was syntax checking, sometimes there wasn't. I have two systems (a laptop and a worktop) and they are not identical. It could be that in one system I use a Cygwin clangd and in the other I use a Windows clangd. But I'm tired of trying to trace down and fixe errors done because of my lack of knowledge.

Now I know that all of the issues found were do to my lack of knowledge, and perhaps, proficiency. I know this. And I am absolutely certain that in time I will have (with all of your help) found answers to my issues, gained considerable knowledge, and if I feel sufficiently versed, will  have submitted a help file to NB for review and distribution . I know that. But I just don't want to spend another month or two getting to that point, and in the process, delaying my ongoing efforts.

I have found it so difficult to establish a C/C++ environment that I've decided to use Eclipse for my work. This is regretful. I have used NB for a couple of decades (?) and really, really like it. But I've got to get some work done, and Eclipse has tutorials, guides, and manuals to help me understand it and resolve issues.

Please, when (after what, 12 years) NB establishes a working and documented environment for C/C++ send me a notification so that I can use it again.

Thanks.
art

On 4/5/2025 2:33 AM, Bradley Willcott wrote:
Hi there.
I have been doing some investigating into this issue: "A lack of C/C++ support in Netbeans".

As the process includes a lot of screenshots, I have created a GitHub Gist:
https://gist.github.com/bewillcott/ddb8a4d6d08b4d9070daa1bc4399f7e6

I hope this comes though properly.

Brad.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Reply via email to