How to enable code completion for C/C++ in NetBeans 29 on Ubuntu #9351
Unanswered
discordDOTtest
asked this question in
Q&A
Replies: 2 comments
-
|
ccls/clangd will provide completion, but they require additional setup. The corresponding hint is shown at the top of each C file:
You'll need to create a |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
The file compile_commands.json was the key. For others who need a starting point: Create a simple main.c file in a folder - in this example in /home/user-name/netbeans/hello-world add this compile_commands.json to the same folder and set the path to the json file in Project Properties. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
how do I turn on the code completion for C/C++ in NetBeans 29 on Ubuntu 24.04?
The plugin is installed

Ccls in installed

But C/C++ is missing in this menu

And there is no code completion for C/C++. (Code completion for PHP is working)
Ctrl+Spacebar says "no suggestions.
Thanks for your help :)
Beta Was this translation helpful? Give feedback.
All reactions