-
Notifications
You must be signed in to change notification settings - Fork 121
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
Cannot open declaration (IEP-1313) #1036
Comments
Hi @MrDuby Could you please check this #995 (comment) |
I have the same problem and I do many ways to solve the problem include the way you said in other topic, but the problem still remain. |
None of these solutions work for me. |
Hi @Ignisuti Could you please share an error log and LSP log? Error log https://preview-docs.espressif.com/projects/espressif-ide/en/latest/troubleshooting.html?#error-log LSP logs can be enabled from the preferences. |
Sorry, I wasn't more clear in my response. Yes, I have navigated there and only see an empty folder. |
Same problem here. with 3.0. Previous versions have no issues. |
Espressif, if you're listening, you have free developers, like myself, at your disposal to help you better understand this issue. Please just tell us what data you need to troubleshoot this and how to get it, and we'll try to get it to you. I tried to provide the log, but Eclipse isn't outputting the log. So, maybe that's where we need to troubleshoot first... |
Hi @Ignisuti, The logs could also be viewed in the console. Can you see them there? Make sure to switch to the language server console first like here: Language.server.console.mp4Also, please take a look if clangd settings are set: Here are short explanations of these variables:
Also, after building the project "C/C++ Language Server" process runs inside the IDE, and you can track it in the bottom right corner of the IDE. After this process finishes you should able to open declarations. |
Hi @Ignisuti, would it be possible to connect on MS Teams to work through this issue together? The problem is quite unusual, and we have not been able to reproduce it on our end. If this works for you, please write to [email protected] with your time zone and a suitable time. We will then send you an invite. Best regards, |
Can you please share an error log? Most likely, the clangd server might be failing during processing. |
This has no effect on my system. The language were enabled already. In previous editions, the index was enabled and no option for language servers are available in preferences. Not sure if that is helpful. |
Hi @ua100k, The LSP editor was included to the IDE in the version 3.0.0 and higher and was intended to replace default C/C++ editor. Could you share what your preference is for clangd? Like here Also, make sure that you are opening c/c++ files with LSP editor (right-click on the file -> open with C/C++ Editor (LSP)). Or just set this in the preferences like this: Please note that after building the project, the C/C++ Language Server should appear as running in the bottom-right corner for a short period. Once this process completes, you can use Ctrl + Left Click (default) to open declarations. |
Describe the bug
I installed the Eclipse base ide, Espressif IDE v3.0.0 on windows 10 professional. When I start a project or import any project I have no way to open function or variable declaration. On right click I cannot even find the option "Open Declaration" in the menu. Tried CTRL+click but I'm not even getting the Hyperlink to click to find declaration. When I select lets say the function and press F3 I get a pop-up message saying "The operation is not applicable to the current selection. Select a hyperlink target". The code compiles correctly though.
The text was updated successfully, but these errors were encountered: