After a few minutes of working and compilation my IDE lose the information feature that you have when the mouse is on a variable of a function eg: Go to Definition, Go to Symbol. I have to restart the IDE.Version: 2.3.2 Date: 2024-02-20T09:57:46.613Z CLI Version: 0.35.3 On a Mac Osx 12.7.3.
Hi @samourais. I'm going to ask you to post the debug logs that are produced by the "Arduino Language Server" tool used by Arduino IDE for these "context-aware" features.
This procedure is not intended to solve the problem. The purpose is to gather more information.
A. Enable Language Server Logging
- Use the Ctrl/Command+Shift+P keyboard shortcut to open the "Command Palette" in Arduino IDE.
- Select the "Preferences: Open Settings (UI)" command from the "Command Palette".
The "Preferences" tab will now open in the editor panel. - Type
arduino.language.login the "Search Settings" field. - Check the box under the "Arduino > Language: Log" setting.
- Close the Preferences tab by clicking its X icon.
- Select Arduino IDE > Quit Arduino IDE from the Arduino IDE menus.
All Arduino IDE windows will close.
B. Gather Logs
- Start Arduino IDE.
- Verify that the "information features" are working as expected.
- Wait for the "information features" to stop working.
- Select Sketch > Show Sketch Folder from the Arduino IDE menus.
The folder containing the sketch will open in your file manager. - ZIP the entire sketch folder.
- Instructions for Windows:
- Right click the sketch folder.
- From the context menu that opens, select "Send to".
- Select "Compressed (zipped) folder" from the "Send to" menu.
- Instructions for Linux:
- Right click the sketch folder.
- From the context menu that opens, select "Compress...".
- In the "Create Archive" dialog that opens, click the "Create" button.
- Instructions for macOS:
- Control-click the sketch folder.
- From the shortcut menu that opens, select "Compress"
- Instructions for Windows:
- Attach the "ZIP" file that was created to a reply here on this forum thread.
You can do this by drag and dropping the file onto a reply, copy/pasting the file, or by clicking the upward pointing arrow icon ("Upload") on the post composer toolbar.
C. Disable Language Server Logging
When language server logging is enabled, log files are saved to every sketch you open in Arduino IDE and they steadily grow in size whenever you are editing the sketch. So the logging is something you would usually want to disable whenever generation of logs is not needed.
- Use the Ctrl/Command+Shift+P keyboard shortcut to open the "Command Palette" in Arduino IDE.
- Select the "Preferences: Open Settings (UI)" command from the "Command Palette".
The "Preferences" tab will now open in the editor panel. - Type
arduino.language.login the "Search Settings" field. - Uncheck the box under the "Arduino > Language: Log" setting.
- Close the Preferences tab by clicking its X icon.
You are now welcome to delete the .log files that were added to the sketch folder.
After 45 minutes of working, the contextual menu stop working. Also a screen shot of the problem.
interrupteurSonoreV3.zip (4.3 MB)
