Espressif IDE tooltips not displaying correctly

atouron
Posts: 6
Joined: Mon Sep 05, 2022 4:50 am

Espressif IDE tooltips not displaying correctly

Postby atouron » Thu Aug 22, 2024 11:20 pm

When I initially used Espressif, I encountered no issues. However, after performing a fresh install of my OS, I tried to reinstall Espressif, and found that the tooltip system appears to have broken. Whenever I type within the IDE, I am presented with an error message: "Error while computing completion", with the explanation: "java.util.concurrent.CancellationException". I am using Windows, with IDE v3.0.0, and IDF v4.4.8. I have tried uninstalling and reinstalling, but this does not seem to fix the issue. Any help is much appreciated, as this issue makes navigating the IDE far less convenient. Attached is a screenshot of the error message.
Attachments
IssueScreenshot.PNG
IssueScreenshot.PNG (14.29 KiB) Viewed 5053 times

https.atta
Posts: 2
Joined: Wed Sep 18, 2024 9:44 am

Re: Espressif IDE tooltips not displaying correctly

Postby https.atta » Wed Sep 18, 2024 9:46 am

Did you solve it?

https.atta
Posts: 2
Joined: Wed Sep 18, 2024 9:44 am

Re: Espressif IDE tooltips not displaying correctly

Postby https.atta » Thu Sep 19, 2024 5:19 am

In case you did not, the PATH should not have spaces, instead use "_".

ESP_kondalkolipaka
Posts: 188
Joined: Wed Jul 17, 2019 5:26 pm

Re: Espressif IDE tooltips not displaying correctly

Postby ESP_kondalkolipaka » Mon Sep 23, 2024 11:51 am

Hello,

Please check this.
https://github.com/espressif/idf-eclips ... 2225815025

The problem is because of the incompatability of 3.0.0 LSP editor with the IDF v4.4.8. which requires 5.0.0 and higher.

You have two options to resolve this issue:
1. Upgrade to ESP-IDF 5.0.0 and higher
2. Download the required clang toolset as described here https://github.com/espressif/idf-eclips ... 2227979245 and continue to work with the IDF v4.4.8

PollysCracker
Posts: 5
Joined: Fri Jul 19, 2024 11:08 pm

Re: Espressif IDE tooltips not displaying correctly

Postby PollysCracker » Mon Oct 14, 2024 3:11 pm

Same problem, installed multiple framework version to no avail, working with ide 3.1.0 and framework 5.3.1.

managed to get clang working within the file itself using the guide provided above, but esp ide can't find freertos and possibly other headers.

So i cant "GoTo" or jump to a function description inside my .c file to see the details of fe a function/struct.
How can I now get ctrl+click to work and open the associated header file and jump to whatever i ctrl+clicked on?

please help, it's a total nightmare trying to program without this feature :? .

To me it's very weird that in the latest install setup the esp-clang is not included and needs manual install.
With the default installation it didn't work whatsoever and showed me the same error msg as shown above.

view after installing clangd after freshly installing esp: Image

Also might i suggest you guys add a auto save feature to this forum, it's now the second time i have to redo an entire post that was initially very detailled and long and after pressing submit/preview it stated that i need to login, after logging in my entire post is gone.. very, very, veeeery frustrating :evil: .

ESP_kondalkolipaka
Posts: 188
Joined: Wed Jul 17, 2019 5:26 pm

Re: Espressif IDE tooltips not displaying correctly

Postby ESP_kondalkolipaka » Tue Oct 15, 2024 11:28 am

Hello,

For some users ctrl+click is not working because of the conflicting settings in the preferences.

Can you please check the below post and see if that helps.
https://github.com/espressif/idf-eclips ... 2276935107

Could you please share the sample code/project where it was unable to resolve the headers? It would help us to troubleshoot the problem.

PollysCracker
Posts: 5
Joined: Fri Jul 19, 2024 11:08 pm

Re: Espressif IDE tooltips not displaying correctly

Postby PollysCracker » Tue Oct 15, 2024 4:16 pm

Hello,

I've checked the setting in preferences -> keys and i have everything the same as you print screened with the exception of the "U" under User for 'open hyperlink'.

I've tried commenting out freertos include, but as i suspected, it seems it can't find any include whatsoever.

i've made some screenshots, using the build in example for ethernet example, unedited (started new idf project with example template)
if i'm correct then IDF_PATH should be: C:\Espressif\frameworks\esp-idf-v5.3.1 and seems to be correct.

What i see when i open powershell: https://ibb.co/Fm923Dn
errors list:https://ibb.co/cQ10sHf
Build log after trying to build the example: https://ibb.co/dfH8Hbb

settings/preferences.
editor(lsp): https://ibb.co/0ZXTwbM
clangd: https://ibb.co/vLL8nrz
indexer: https://ibb.co/bKb7RCC
language server: https://ibb.co/R3QHGc7

PollysCracker
Posts: 5
Joined: Fri Jul 19, 2024 11:08 pm

Re: Espressif IDE tooltips not displaying correctly

Postby PollysCracker » Fri Oct 18, 2024 5:39 pm

Ok so the online installer 2.3 is broken!
the only way i got the IDE and IDF and builder to work was to completely uninstall, download esp-idf-tools-setup-espressif-ide-3.0.0-with-esp-idf-5.2.2.
Perform a full install, then update to the latest framework using the idf manager.
After doing this i was able to use everything i had issue's with.

what a painfull expierence this was! I can't believe I am the only one encountering all these issue's, i've tried the installation on 3 devices (all of wich windows 11/10) none worked (ide 3.1.0 with fw5.3.1) Basicly IDE 3.1.0 is broken, the clangd is not being installed and probably some other things aswell.

username
Posts: 536
Joined: Thu May 03, 2018 1:18 pm

Re: Espressif IDE tooltips not displaying correctly

Postby username » Tue Oct 22, 2024 10:08 pm

I can't believe I am the only one encountering all these issue's
your not, I had the same issue. Just didn't post about it.

ESP_kondalkolipaka
Posts: 188
Joined: Wed Jul 17, 2019 5:26 pm

Re: Espressif IDE tooltips not displaying correctly

Postby ESP_kondalkolipaka » Thu Oct 24, 2024 7:51 am

Hello,

We apologize for the inconvenience caused.

We have identified that the esp-clang tool was not packaged with the installers. We will provide updated installer builds with a fix soon.

Workaround:

- Open the ESP-IDF Manager in the IDE.
- Remove the currently selected ESP-IDF version.
- Re-add it. This will detect any missing tools and install them again, including esp-clang.

Thank you.

Who is online

Users browsing this forum: No registered users and 61 guests