On 03/06/2014 02:01 AM, Max Rydahl Andersen wrote:Max, Angelo,
Yes, thats what I would like too and note, even if we fork I hope weI understand that, but I think we should working together.Hope you will understand what I mean. But Im I am honored by yourYes, I completely understand.
proposal.
Thank's
We are still looking and playing with it but if we continue to find
it
really
good (we do right now ;) we'll look into somehow fork it and do our
own version/release of tern.java and possibly angular.js.
Hope you understand that too.
don't
have to deviate much. We want to contribute as much as possible on a
shared project.
I tell you thatThats kinda now.
because as I said you, I have a lot of ideas to improve tern.java
features.
But we will speak about this topic when and if you wish to integrate
tern.java to JBoss Tools.
Denis and Victor looking at it and seeing what we can do
for our upcoming beta1 and beta2.
I was able to build angular-eclipse and torn.java as jbosstools modules from my forks with changes in root pom.xml files only:
- angular-eclipse/pom.xml
- torn.java/pom.xml
I had to add jbosstools-build/parent/pom.xml 4.2.0.Beta1 and remove references to external repositories.
Probably we need to change something in modules with p2repos if we want them look the same as all p2repos for jbosstools modules.
There is only one dependency org.eclipse.license feature is missing in JBoss Tools TP to make it usable for angular-eclipse and torn.java builds.
In terms of dependencies angular-eclipse depends from org.json.simple plugin v 1.1.1 in torn.java.
It looks like we can use forks with minimal deviations and pull updates form upstream when we need it.
Denis
Maybe easier to chat on IM ? you can reach us on #jbosstools on irc or
via Skype (send you my details on twitter ;)
/max
Thanks,
/max
Regards Angelo/max
. I
have a lot and lof of idea to improve it not only for angular butlets see what the performance impacts are - jsdt isn't exactly fast
for
Javascript features like refactoring, hover, validation.
I think tern.java should be refactored again and IMHO I think we
should
waiting that tern.java is stable if you wish to integrate to
JBoss. More
some tests of performance must be done (I believe that Victor
works on
that).
either.
This feature is managed just with a simple JSON :
"on": {Yeah I like this - much simpler than other typedef descriptions
"!type": "fn(events: string, selector?: string, data?: ?,
handler: fn(+jQuery.Event)) -> jQuery.fn",
"!url": "http://api.jquery.com/on/",
"!doc": "Attach an event handler function for one or more
events to the selected elements."
},
found in
things like vjet and others.
It declares just that handler is a function which waits a
jQuery.Event
and
that's all!Not really - I just don't want it to fail in a default
I'm studying how to manage validation with Tern. here a screenshot
with
CodeMirror :
[image: Images intégrées 1]
Today I think node.js doesn't please you,
install...i.e.
should bundle a node.js engine
by default so no external node js is required (can still allow
users
override that but make the default
experience be a "it just works")
but tern.java provides an API to
use tern.js with other javascript engine (I had implemented withIt is worth trying but since nashorn only runs on Java 8 it is not
Rhino,
but
it's too slowly and outofmemory problem, but what about java8
nashorn?
something we can/should depend on
while Java 6 is still big, but luckily java 7 is getting better ;)
Having nashorn as an option when you are running with jdk 8 would
be
interesting to see if it
works better or worse than rhino/node.js.
/max
Regards Angelo
/max
2014-03-05 7:38 GMT+01:00 Max Rydahl Andersen
<manderse@redhat.com>:
On 1 Mar 2014, at 19:06, Angelo zerr wrote:
Hi,[TernCompletionJQuery.png]
For your information, I have created a getting started for
AngularJS
Eclipse at
https://github.com/angelozerr/angularjs-eclipse/wiki/Getting-Started
which explains how to install and configure (node.js, angular
syntax
directive, tern console, etc)
Cool!
Hope it will help you more to see features of AngularJS Eclipse.
Yeah, I like it. Really would like to find a way to integrate itsmoothly into eclipse/jboss tools.
more
/max
Regards Angelo
2014-02-28 18:05 GMT+01:00 Angelo zerr <angelo.zerr@gmail.com>:/max
Hi,
At first I have commited an improvment about Node.jsjbosstools-dev@lists.jboss.org
preferences. Now
you
can set the node.js path. See attached screenshot.
The combo is filled with default path according the OS. If your
node
is
not installed in the default path, it searchs in your PATH env
if you
have
a node path to retrieve the well path.
I updated the plugin and I can see the node and npm binaries
are not
executableanswer
so I get an error like:0.201402271715/nodejs/node-v0.10.22-macosx-x86_64/bin/node"
Cannot run program
"/Users/max/products/eclipse/luna/eclipse/plugins/tern.
eclipse.ide.server.nodejs.embed.macosx.cocoa.x86_64_1.0.
(in directory "/Users/max/Documents/workspace-luna3/dfdf"):
error=13,x86_64. What kind of problem it could be: the problem of OSX
Permission denied
When I chmod +X those files it seem to start working.
I wasn't required to change "executable" attribute on my
Fedora 20
or
wrong
executable attribute for "node" and "executable" binaries in
repository?
It's my friend Pascal who has created this embed node.js, I
will
you but now he is on holiday.
But with my improvement, you can try to install node.js in your
computer
and use "Native Node.js".
If you want to see the command line of node.js + teh JSON
request/response
used with tern server, you can see those traces in Eclipse
Console.
See https://github.com/angelozerr/tern.java/wiki/Tern-Console
Perhaps it should better to have an install URL per OS?
idea.
noo - not necessary. You can mark a bundle to just apply to aINF/MANIFEST.MF#L9
specific
OS via Eclipse-PlatformFilter
See
https://github.com/jbosstools/jbosstools-xulrunner/blob/
master/plugins/org.mozilla.xulrunner.gtk.linux.x86/META-
as an example.
I would suggest making the feature default require theseMany thank's for your information. I will speak to Pascal
plugins so
any
install by default would work.
about this
Today Eclipse freezes, but I must do that in background.
Is there an issue for this somewhere ?
* "Parse JS file of tern doc with monitor" =>There is 2 issues about tern performance :
https://github.com/angelozerr/tern.java/issues/5
* "Improve performance with JS Editor and tern completion" =>
https://github.com/angelozerr/tern.java/issues/6
Can we avoid it have to parse
jbosstools-dev mailing listconstantly ?jbosstools-dev mailing list
_______________________________________________can one just tell it to parse one file as oppose to allWhen you open completion, it parses one time the whole files
files all
the
time
?
and
after
it
parses the current file.
I must improve the completion performance by using the
"part"
feature
of
tern (not need to parse each time the whole file).
Today I use Tern for completion, find type in HTML editor.
But
Tern
is
enable to manage search and refactoring.
Have you found the bundled binaries to work across various
OS's ?
No I have just Windows and my friend pascal has Linux.Have a nice days.
Regards Angelo
2014-02-26 21:36 GMT+01:00 Victor Rubezhny
<vrubezhny@exadel.com
:/max
jbosstools-dev mailing list
jbosstools-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbosstools-dev
_______________________________________________
jbosstools-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbosstools-dev
_______________________________________________
https://lists.jboss.org/mailman/listinfo/jbosstools-dev
http://about.me/maxandersen
[TernCompletionEvent.png]
[TernLintDemo.png]
http://about.me/maxandersen
http://about.me/maxandersen
/max
http://about.me/maxandersen
_______________________________________________
jbosstools-dev mailing list
jbosstools-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbosstools-dev