Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 423072 - Provide formatting hooks on save
Summary: Provide formatting hooks on save
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 12.0   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: 13.0   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 496437
  Show dependency tree
 
Reported: 2013-12-03 12:29 EST by Michael Rennie CLA
Modified: 2016-07-07 17:56 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Rennie CLA 2013-12-03 12:29:49 EST
It would be nice if there were some hooks to be able to format JavaScript source when the editor is saved.

It might also be useful to provide a command to format the source on demand.
Comment 1 John Arthorne CLA 2015-05-05 14:42:44 EDT
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:

https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html
Comment 2 Michael Rennie CLA 2016-06-27 11:44:58 EDT
Reopening and moving to platform.

We should provide the 'format on save' options in the editor, and make the formatting command / service a platform hook that plugins can contribute to per content type.
Comment 3 Olivier Thomann CLA 2016-07-06 11:58:41 EDT
Not sure how to get that working as the formatting would be async from the save. I'll make some experiments.
Comment 4 Olivier Thomann CLA 2016-07-07 17:56:42 EDT
Delivered.