eclipse-theia/theia

Command execution buttons (Run | Debug) not available in a JAVA project until we refresh the widget

Open

#7,748 opened on May 5, 2020

View on GitHub
 (9 comments) (0 reactions) (0 assignees)TypeScript (2,478 forks)batch import
bughelp wantedjavapreferences

Repository metrics

Stars
 (18,676 stars)
PR merge metrics
 (Avg merge 15d 4h) (75 merged PRs in 30d)

Description

Bug Description:

It looks like there is an event missing for codelens when the editor needs a refresh after a font change. When I change the font, the "RUN" | "Debug" command are missing over the main class in a JAVA project until I refresh (Just use the scroll button) to refresh the widget.

Steps to Reproduce:

1.Have JAVA dependencies available (JAVA pack + maven) in my configuration 2. git clone git@github.com:ryanluker/vscode-coverage-gutters.git ( Create a test environment) 3. Open a file in a JAVA project ( App.java) --> Observe the buttons: "Run " | "Debug" showing over the main class 4. Open the preference and change the "editor.fontSize": 22 5. Return to the JAVA file --> The "Run" | "Debug" buttons are not available until you scroll to refresh the widget

Additional Information

  • Operating System: Ubuntu 18.04
  • Theia Version: latest commit 57f4c937c94f68f17c27010543be536cfb93d34b

RefreshMissingAfterFontChange

Contributor guide