Try the following:
NB: Tools -> Plugins -> Settings:
Activate: Netbeans 8.2 Plugin Portal
Switch to -> Updates:
Click on: [Check for Updates]
Switch to -> Available Plugins:
Install: "C/C++" plugin
Hope this helps.
Brad.
On 18/1/22 05:17, slipbits wrote:
NB 12.5
Windows 7
Cygwin
I'm trying to host all my C/C++ projects on Netbeans (because I like
NB) and am having some difficulty. NB tools->options->C/C++ requires
either a ccls or clangd
<https://github.com/clangd/clangd/releases/tag/13.0.0>protocol server.
I downloaded clangd
<https://github.com/clangd/clangd/releases/tag/13.0.0> for windows
<https://github.com/clangd/clangd/releases/download/13.0.0/clangd-windows-13.0.0.zip>
as a zip file and then extracted clangd-index-server-monitor.exe,
clangd-index-server.exe. clangd-indexer.exe to my cygwin /bin
directory. Then, in turn, I changed the C/C++ "clangd Location" to
each of the files (/bin/<filename>). In all cases I was then unable
to modify my project file (below).
How can I get some functionality out of NB w/C/C++? I know, I know,
I've asked this question before, and the answer was something like
File->New Project->C/C++ etc. Then enter the compile and build
commands. But no previous guidance on clangd, although there was
guidance on using the NB 8.2 plugin for C/C++ (which is not listed as
available in NB 12.5). So, I'm stumped.
===== project code =====
/*
* Click
nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt
to change this license
* Click
nbfs://nbhost/SystemFileSystem/Templates/cpplite/CPPTemplate.cpp to
edit this template
*/
int main(int argc, char* argv[]) {
exit 1;
}