matthiasblaesing commented on PR #6305:
URL: https://github.com/apache/netbeans/pull/6305#issuecomment-1670142241

   > Well, if you are OK with the limitations, why not simply provide compile 
commands that only contain `{}`? That should be roughly the same as starting 
the server without the file, no?
   
   Sure, but it is an extra step. I had to use a debugger to know why basic 
C/header support was not there, although the LSP was configured.
   
   > How well the features will work I think depends on the content of the 
file. E.g. JNI uses macros, and the parser seems to have hard time to recover 
from the missing macro definitions, and seems things tend to basically not work 
reasonably.
   
   Yes, but the same is true for java. Sometimes I work on Liferay and NetBeans 
does badly at loading the projects. The dependencies are not properly resolved 
and so on, yet it is better than nothing and often enough to work with it. For 
Java we even allow opening the files without any project configured, while I 
have zero instances, where a single java file can be compiled (yes I know, that 
it is possible).
   
   Is ccls or clangd really that broken, that they make matters even worse?
   
   > I think I know a thing or two about the warning - but it is not clear to 
me it is prominent enough (esp. if things will be 50% working and 50% broken - 
will the user notice some warning at the top, while there will be errors 
scattered across the file?).
   
   It is the same warning users will see, when they did not configure compile 
commands and get zero help.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to