Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 276484 - JavaScript code formatter
Summary: JavaScript code formatter
Status: RESOLVED FIXED
Alias: None
Product: DLTK
Classification: Technology
Component: JavaScript (show other bugs)
Version: 1.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: dltk.common-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-15 08:42 EDT by Vladimir Belov CLA
Modified: 2009-05-15 10:00 EDT (History)
2 users (show)

See Also:


Attachments
JavaScript formatter patch (1.11 MB, patch)
2009-05-15 08:44 EDT, Vladimir Belov CLA
alex.panchenko: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Belov CLA 2009-05-15 08:42:41 EDT
Build ID: M20090211-1700

Steps To Reproduce:
Stable version of JavaScript code formatter.

Supported features:

+ preference page to control formatter settings
+ support for multiply formatter implementations and coding profiles.
+ indentation options and tab policy
+ braces options
+ control-flow options
+ whitespace options
+ XML in source code (E4X)

JavaScript formatter requires referenced components: 

- the latest version of DLTK from source code repository at dev.eclipse.org 

- ANTLR run-time plug-in (org.antlr.runtime v3.0.0). 

You can get it from the page: 
http://download.eclipse.org/tools/orbit/downloads/drops/R20080807152315/ 

or use direct link to download: 
http://download.eclipse.org/tools/orbit/downloads/drops/R20080807152315/bundles/org.antlr.runtime_3.0.0.v200803061811.jar

More information:
Comment 1 Vladimir Belov CLA 2009-05-15 08:44:00 EDT
Created attachment 135973 [details]
JavaScript formatter patch
Comment 2 Alex Panchenko CLA 2009-05-15 10:00:05 EDT
Committed.