Hi,
Some comments below.
On 05/04/2022 16:39, Graham Horner wrote:
Hi
I've been using NB 11.2 for some C/C++ projects (Kodi and linux
kernel). For some reason, NB never completes the background scan to
parse all the symbols but does parse some of them. I thought I'd try
NB13 to see if it got better. It didn't.
First I couldn't open my projects, even after adding the C/C++ Lite
plugin. So back to the 8.2 C/C++ plugin. Now I can open my projects
and background scanning starts and runs for an hour or more then
eventually stalls with the progress bar at 100%, CPU usage stuck at 100%
and maybe some of those 'Parsing ....' progress bars stuck as well. I
can't stop the background scanning from the GUI or even kill NB itself.
Only logging out gets me back to a usable machine.
We're still working on Apache NetBeans C/C++.
Currently the most advanced branch is
https://github.com/vieiro/netbeans/tree/feature/cnd-lsp-2 , with LSP
(clangd) support. You're welcome to test it (but you'll have to build
that branch yourself).
No debugger yet, though, but it's on its way at
https://github.com/apache/netbeans/pull/3909 to the "cnd" branch.
In the future the most advanced branch would be
https://github.com/apache/netbeans/tree/cnd (again you'll have to build
the branch yourself).
If we are lucky we could have C/C++ in NB14 or NB15.
NB is running on Linux Mint 20.3 with 8GB RAM which goes up to 70% usage
and 5GB swap (which is not touched). JVM is 11.0.14.1.
Apache NetBeans C/C++ will delegate many parsing/completion/semantic
highlighting features to the clangd LSP server https://clangd.llvm.org/
Any pointers to how I can get NB 13 working at least as well as my 11.2
and hopefully with full code assistance?
AFAIU, C/C++ Lite stores projects in NetBeans preferences system. You
should copy the preferences from the previous NetBeans version to the
new one.
In windows, recursively copy the following folder
C:\Users\[YOUR_USER]\AppData\Roaming\NetBeans\11.X\config\Preferences\org\netbeans\modules\cpplite
To the NetBeans 13 version:
C:\Users\[YOUR_USER]\AppData\Roaming\NetBeans\13\config\Preferences\org\netbeans\modules\cpplite
You should recover your projects then.
If you use Linux then I think the folder is in
$HOME/.netbeans/config/preferences/org/netbeans/modules/cpplite (cannot
check this right now).
HTH,
Antonio
TIA
---------------------------------------------------------------------
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
---------------------------------------------------------------------
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