Re: Netbeans 17; macOS Monterey
Hi,
Docs say to have ‘.ccls’ in the project directory and have it contain:
g++
-xc++
-Iinclude
-std=c++17
************
Also, lightweight C/C++ requires ‘BUILD/Compile’ commands;
__________________________'CLEAN’ commands;
__________________________ ‘RUN’ commands.

Q1, What are the required commands for build, clean and run to fully function?

Q2, How is ‘.CCLS’ setup correctly on a Mac using ‘/usr/bin/clangd?
*********
clangd is a language server that provides IDE-like features to editors.

It should be used via an editor plugin rather than invoked directly. For more 
information, see:
        https://clangd.llvm.org/
        https://microsoft.github.io/language-server-protocol/

clangd accepts flags on the commandline, and in the CLANGD_FLAGS environment 
variable.

I[18:26:36.388] Apple clangd version 14.0.0 (clang-1400.0.29.202)
I[18:26:36.388] Features: mac+xpc
I[18:26:36.388] PID: 3388
I[18:26:36.388] Working directory: /Users/owner
I[18:26:36.388] argv[0]: /Library/Developer/CommandLineTools/usr/bin/clangd
I[18:26:36.389] Starting LSP over stdin/stdout
******
Thx for reply,
L
* C++ newbie *

Reply via email to