-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Content assist in LSP gets in the way and doesn't adhere to preferences #392
Comments
I am not sure if I understand you correctly. So you disabled the |
:-( I think this is a great highlight of a problem we have as we are transitioning from the traditional C/C++ editor to the LSP based one. There are a bunch of preference pages (and I am pretty sure this one is included) that doesn't apply to |
this is literally the definition of "re-inventing the wheel" , it's all coming together , it's the same problem i stated with refactoring tools that don't exists in the new editor, but do exists here, and now you have code assistant scattered around or not working, that need to be reimplemented again, all this, should come up exactly at it is (or as close as possible under Editor (LSP) and in the end, there should be a big button going "migrate preferences from legacy.." copying and converting everything to the new editor. (and now i've accidentally closed the issse) |
Yes, this is reinventing the wheel. The purpose of CDT LSP is to build on top of the clangd (or potentially other LSP servers) to keep CDT relevant going forward. It is a new tool set that is based on LSP (the same thing as VSCode). A key problem that CDT LSP is trying to solve is that no one has invested in the CDT parser in the last 5-ish years and the CDT parser does not work well with C++17 and newer language standards.
I am delighted to have the early feedback on your perception of CDT LSP. But, if it isn't suitable for your use case, I would stick to the default flow which is not CDT LSP. At the moment, as a user you need to opt-in to the new CDT LSP flows (by activating the editor as described here). Are you sure you want to be using CDT LSP yet? Are you writing C++17 (or newer) or otherwise writing C/C++ that isn't working will with CDT? In the meantime, we are accepting contributions, both on improving CDT LSP, and if you want to invest some time and money, on improving CDT's parser.
I have reopened it. |
thanks. |
thanks, i'm not sure what exactly goes on behind the scenes here, now if only column limit could be controlled the same way. |
The column limit issue if different because the tool for formatting is clang-format, which will be parametrized by a config file. |
|
I think the print margin has no influence on the line width in the LSP based editor since it can be exceeded. |
so from my POV there are 2 bugs here, here the first is that i'm not getting feedback from eclispe in the event .clang-format file is invalid, the other bug is probably on espressif for creating a bad default file. |
So when you remove the |
i removed the entire line, didn't know what else to put there, so removed it just to be safe. |
btw while this may work initially i've noticed that the setting "vanishes" after a few restarts. it's hard to pin point but i do recall setting , and then after a while it's just gone. but this is just a hack after all. |
Does only the |
no other setting , i may have a previous version of eclispe on the same workspace not sure, but i would expect far more then just that setting to be removed. |
for along time a lot of hidden things were bothering me in eclipse Content assist, that i couldn't put my finger on, but it's so annoying.
the first thing is the auto activation, it jumps up.. on .. every... single ... key stroke, which is insane, and probably takes up resources.
i can't seem to make it stop, now matter what i do, up to a point it jumps up in if statements which is very cumbersome,
i've tried to make the auto activation stop in preferences, but that doesn't seem to work. this behavior doesn't occur in the legacy c editor.
The text was updated successfully, but these errors were encountered: