Javascript Plugin anyone?

Hello,

could anyone tell me how to get the new Javascript Plugin, and JSHtmlBridge working? I've just downloaded and installed build 3212 but I don't seem to have anything in the IDE to be able to look at these plugins.

Thank You
Andrew

8 comments
Comment actions Permalink

Hi,

Create html file, add script tag to the head, have nice js editing
(completion, folding, etc) inside. Stay tuned for the same in jsp.


Andrew wrote:

Hello,

could anyone tell me how to get the new Javascript Plugin, and JSHtmlBridge working? I've just downloaded and installed build 3212 but I don't seem to have anything in the IDE to be able to look at these plugins.

Thank You
Andrew



--
Maxim Mossienko
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

I tried doing this. I'm getting unresolved keywords all over the place. Tried it using inline js, as well as a .js file but they both aren't resolving the words. "Reformat code..." kinda works. It indents everything besides the js.

I'll keep investigating.

Andrew

0
Comment actions Permalink

Hi,

We need particular keywords or even better the sample file.

Andrew wrote:

I tried doing this. I'm getting unresolved keywords all over the place. Tried it using inline js, as well as a .js file but they both aren't resolving the words. "Reformat code..." kinda works. It indents everything besides the js.

I'll keep investigating.

Andrew


--
Maxim Mossienko
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

Maxim,

I've noticed that its most of the javascript keywords like 'document', and 'window', 'getElementById' etc. Another thing is that any "global" variables defined in a script block, are not resolved in any other blocks on the page. And at the moment external js files that are included via the script tags don't have there functions resolving either.

I know it still in beta, so I'll just wait eagerly for the next release.

BTW, I am a MASSIVE fan of IDEA. Our company was a strict JBuilder community before I started evangelizing about the virtues of IDEA, and now we're all using IDEA (and loving it). Its an incredible tool. Well done to everyone involved in it.

Andrew

0
Comment actions Permalink

Andrew,

As the matter of fact those document and window aren't keyword but impicit
variables 'declared' by environment javascript engine is running in. javascript
applications aren't limited to client side web scripting actually. Nevertheless,
of course we'll support those embedments for various environments really
son. Thanks for the feedback and kind words!

-


Maxim Shafirov
http://www.jetbrains.com
"Develop with pleasure!"

Maxim,

I've noticed that its most of the javascript keywords like 'document',
and 'window', 'getElementById' etc. Another thing is that any "global"
variables defined in a script block, are not resolved in any other
blocks on the page. And at the moment external js files that are
included via the script tags don't have there functions resolving
either.

I know it still in beta, so I'll just wait eagerly for the next
release.

BTW, I am a MASSIVE fan of IDEA. Our company was a strict JBuilder
community before I started evangelizing about the virtues of IDEA, and
now we're all using IDEA (and loving it). Its an incredible tool. Well
done to everyone involved in it.

Andrew




0
Comment actions Permalink

Kind of OOT, but the same thing happened at my company. The standard used to
be mostly Eclipse and some Forte (ugh!), and with a good deal of
evangelization we're now all developing with pleasure :)

Vince.


0
Comment actions Permalink

Guys, fon't forget that the included scripts can be strange sometimes. For example, I use Struts and my *.js files are in fact *.jsp files , so I can use internationalization in the javascripts. Hope U'll have this in mind too.

Greetings for the good work, btw. :))))

0
Comment actions Permalink

This file (attached) causes IDEA to hang on 100% processor usage.



Attachment(s):
htmlarea.js
0

Please sign in to leave a comment.