espressif / idf-eclipse-plugin

Espressif-IDE (based on Eclipse CDT) for ESP-IDF CMake based projects 4.x and above
Eclipse Public License 2.0
300 stars 120 forks source link

Bug: Launch Configuration DropDown box doesn't update after a project is opened/closed (IEP-442) #280

Closed samsam4 closed 2 years ago

samsam4 commented 3 years ago

Describe the bug The Launch DropDown doesn't update its content on change of the open/close condition of projects in current workspace in Eclipse. So if a certain project was closed when Eclipse started, and then opened, the Launch Configuration DropDown box will not show it. The only work around I found so far is to close Eclipse (with already opened project of interest) and then close/open again Eclipse

To Reproduce Steps to reproduce the behavior:

  1. Open an Eclipse workspace with couple projects in
  2. Close some of the projects
  3. Restart Eclipse
  4. Open one of the closed projects
  5. Observe the content of the Launch configuration DropDown box

Expected behavior On every change of a project open/close, the Launch configuration DropDown box should update its content with adding or removing accordingly

Screenshots All the projects were closed on startup of Eclipse, the 'blink' project was opened after, but cant be build because it launch configuration is not seen: NoLaunchConfig

On startup of Eclipse, the 'esp-idf-ili9340-master' project was opened, later closed; the 'blink' project was closed, opened after: BugConfigurationDropDown

Environment Information: Operating System: windows 10

Java Runtime Version: 15.0.2+7-27 Eclipse Version: 4.19.0.v20210303-1800 Eclipse CDT Version: 10.2.0.202012191711 IDF Eclipse Plugin Version: 2.1.0.202104140338 (installed with 2.9beta online installer)

Eclipse Error log: Don't see any change in Error Log when open/close project or click on Launch DrpDown, but my error log will be attached on other issues I will reporting today

Thanks

sigmaaa commented 2 years ago

Hi @samsam4 fix for it is available in the latest release . Thanks