-
-
Notifications
You must be signed in to change notification settings - Fork 469
Closed
Labels
conclusion: resolvedIssue was resolvedIssue was resolvedcriticality: mediumOf moderate impactOf moderate impactphase: designWork is in the design phaseWork is in the design phasepriority: mediumResolution is a medium priorityResolution is a medium prioritytopic: codeRelated to content of the project itselfRelated to content of the project itselftype: imperfectionPerceived defect in any part of projectPerceived defect in any part of project
Description
Describe the problem
Right clicking on the sketch editor view opens a context menu that offers various useful operations that can be done on the selection:
🐛 The "Refactor..." and "Source Action..." context menu items don't appear to be usable with Arduino sketches. They increase the complexity and clutter of the Arduino IDE user interface without adding anything of value.
To reproduce
- Select any code in the sketch editor view.
- Right click on the selection.
- Select "Refactor..." from the context menu.
😕 A tooltip appears: "No refactorings available" - Right click on the selection.
- Select "Source Action..." from the context menu.
😕 A tooltip appears: "No source actions available"
Expected behavior
All items in the editor context menu are useful.
Arduino IDE version
2.0.0-rc9.2.snapshot-20cc34c
Operating system
Windows, Linux
Operating system version
Windows 10, Ubuntu 20.04
Additional context
Additional Reports
- chore: Theia 1.37.0 #2027 (review)
- https://forum.arduino.cc/t/arduino-ide-refactoring-does-not-work-macos/1063461 / https://forum.arduino.cc/t/outils-du-menu-contextuel-dans-lediteur/1063025
- https://forum.arduino.cc/t/refactoring-still-not-working/1036055
- https://forum.arduino.cc/t/code-navigation/1033135/3
Issue checklist
- I searched for previous reports in the issue tracker
- I verified the problem still occurs when using the latest nightly build
- My report contains all necessary details
Metadata
Metadata
Assignees
Labels
conclusion: resolvedIssue was resolvedIssue was resolvedcriticality: mediumOf moderate impactOf moderate impactphase: designWork is in the design phaseWork is in the design phasepriority: mediumResolution is a medium priorityResolution is a medium prioritytopic: codeRelated to content of the project itselfRelated to content of the project itselftype: imperfectionPerceived defect in any part of projectPerceived defect in any part of project