[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [orion-dev] Try out a new outline view for Javascript
|
yea, I wasn't really thinking of this as a project. Maybe "jsnamer" would be better?
I intend to implement the algorithm for Traceur as well.
jjb
On Thu, Sep 1, 2011 at 10:34 AM, Simon Kaegi
<Simon_Kaegi@xxxxxxxxxx> wrote:
re: uglifoc
How is that pronounced again? Another developer with similar project naming talent comes to mind...
John J Barton ---09/01/2011 12:08:47 PM---Any chance you would consider breaking out your plugin into a new github repro? Then I could fork it
Any chance you would consider breaking out your plugin into a new github repro? Then I could fork it and incorporate uglifoc,
https://github.com/johnjbarton/uglifoc
which has a more elaborate heuristic for names based on the work of Salman Mirghasemi.
jjb
On Thu, Sep 1, 2011 at 8:40 AM, Mark MacDonald <Mark_MacDonald@xxxxxxxxxx> wrote:
Recently I've been experimenting with UglifyJS's parse-js library [1] for building _javascript_ syntax trees. I've used it to provide a version of the outline view that shows your _javascript_ functions in a tree, rather than the flat list we currently get from JSLint.
It's packaged as an Orion plugin, which you can try out like this:
1. Make sure you're running an Orion build from 08/29 or later
2. (Workaround for Bug 355895) Open the file /org.eclipse.orion.client.core/web/defaults.pref and comment out this line:
3. Log into Orion, go to the Plugins page, uninstall jslintPlugin.html
4. Install the new plugin:
5. The next time you edit a _javascript_ file, you'll see the outline tree in the left-hand pane.
_______________________________________________
orion-dev mailing list
orion-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/orion-dev
![GIF image](gif3SHFzAsHe9.gif)
![GIF image](gifJYGP5Q2kq1.gif)