Bug 66518 - [Manifest][Editors] Formatting plugin manifests
Summary: [Manifest][Editors] Formatting plugin manifests
Status: NEW
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: PDE-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: bugday, noteworthy
: 152991 207995 293761 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-06-10 11:06 EDT by Curtis d'Entremont CLA
Modified: 2012-06-20 10:46 EDT (History)
12 users (show)

See Also:


Attachments
Patch #1 (15.97 KB, patch)
2006-06-20 12:22 EDT, Mike Pawlowski CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Curtis d'Entremont CLA 2004-06-10 11:06:05 EDT
This is something to think about for the future..

I would like to be able to format my plugin.xml file, in the same way as with 
the JDT and java source files. This would involve having a preference page for 
the style/formatting, then hitting CTRL-SHIFT-F would reformat my plugin.xml 
file in a nice consistent format.
Comment 1 Mike Pawlowski CLA 2006-06-20 12:20:12 EDT
Janek has implemented the format MANIFEST.MF functionality and will 
concentrate on the format plugin.xml functionality at a later date.

Work done with respect to the format MANIFEST.MF functionality

* Moved the "Format" context menu entry to the top-level under "Open" action
  - added mnemonics

* Refactored "Format" context menu contribution to the PDESourcePage
  - disabled contribution for all pages except the BundleSourcePage

* Added Format manifest action to the PDEFormEditorContributor class

* Created extensions to implement the Ctrl+Shift+F key binding
  - disabled key binding for all pages except the BundleSourcePage
  - externalized all strings for extension point names and descriptions

* Refactored FormatManifestAction to the actions package
  - created new interface for PDE editor action definition IDs

See attached Patch #1
Comment 2 Mike Pawlowski CLA 2006-06-20 12:22:08 EDT
Created attachment 44924 [details]
Patch #1
Comment 3 Janek Lasocki-Biczysko CLA 2006-06-20 13:34:08 EDT
Thanks for the patch - released.
Comment 4 Janek Lasocki-Biczysko CLA 2006-06-20 13:34:32 EDT
Reopening for XML related enchancements...
Comment 5 Wassim Melhem CLA 2006-08-07 14:33:13 EDT
*** Bug 152991 has been marked as a duplicate of this bug. ***
Comment 6 Brian Bauman CLA 2007-10-30 10:52:45 EDT
*** Bug 207995 has been marked as a duplicate of this bug. ***
Comment 7 Brian Bauman CLA 2008-01-08 15:41:37 EST
Hi Mike, just checking in :)

I was wondering if you have found time to work on this bug.  If your other work is taking all your time please let me know and we can go ahead and take care of it.

Comment 8 Peter Friese CLA 2008-12-05 05:26:00 EST
Any progress on formatting plugin.xml files? I'd really love to see this. Looking into plugin.xml files really can hurt your eyes at times, mostly due to formatting issues (using tabs and spaces on the same line and stuff like that).
Comment 9 Mike Pawlowski CLA 2008-12-05 10:30:24 EST
Unfortunately no.
Haven't been able to find spare time in a long time to do PDE work.
As a result, I will return this back to the inbox.
Comment 10 Darin Wright CLA 2009-03-13 13:44:12 EDT
Not planned for 3.5
Comment 11 Curtis Windatt CLA 2009-10-30 10:30:42 EDT
*** Bug 293761 has been marked as a duplicate of this bug. ***