Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 355962 - EGL actions not enabled in visual editor source tab
Summary: EGL actions not enabled in visual editor source tab
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Xiao Bin Chen CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-26 11:07 EDT by Justin Spadea CLA
Modified: 2017-02-23 14:16 EST (History)
3 users (show)

See Also:


Attachments
fix (22.67 KB, patch)
2011-09-15 05:43 EDT, Huo Zhen Zhong CLA
lasher: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Spadea CLA 2011-08-26 11:07:39 EDT
The source actions such as formatting, toggle comment, and organize imports are not enabled in the visual editor source tab.

They do not appear in the context menu, and the shortcuts do not work (Ctrl+f, Ctrl+/, ctrl+shift+o). These work fine in the regular source editor.
Comment 1 Huo Zhen Zhong CLA 2011-09-15 05:43:31 EDT
Created attachment 203393 [details]
fix
Comment 2 Huo Zhen Zhong CLA 2011-09-15 05:44:10 EDT
fixed
Comment 3 Justin Spadea CLA 2011-09-15 11:20:40 EDT
While some of the functions work okay, like ctrl+/, others still do not.

Open a service file in the basic source editor. Now open a RUI handler in the VE. Right-click inside the source tab of the VE > EGL Source > Format. It switches back the the service file and formats that one instead of the RUI handler. Same thing if I use ctrl+shift+f.

For "Organize Imports" and ctrl+shift+o, it doesn't seem to do anything in the VE. Add import does work though.
Comment 4 Huo Zhen Zhong CLA 2011-09-16 01:58:33 EDT
Hi, Justin

I tested in linux in the nightly build. Only the format function does not work well. The defect 357904 has opened to the owner. Could you specify which other function does not work?

About the Organize Imports function, it is used to delete the useless import. You can try to add a useless import and then use the function to delete it to verify.
Comment 5 Brian Svihovec CLA 2011-09-20 15:42:59 EDT
Organize imports (Ctrl+Shift+0)does not work in the Source tab of the VE on Windows.
Comment 6 Xiao Bin Chen CLA 2011-10-24 02:22:43 EDT
fixed
Comment 7 Justin Spadea CLA 2011-10-31 15:47:35 EDT
Verified