Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Java Script Intellisense

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
Juxta Posted - Nov 26 2008 : 11:07:37 PM
Visual Studio 2008 does have intellisense for javascript but it is not very intelligent.
We are beginning to work extensively with WCF back end using javascript/browser front. Using widget libraries like Dojo to create our applications.
It would be if VA could parse the Dojo libraries giving full intellisense capabilities to VS.
Please Please Please.
12   L A T E S T    R E P L I E S    (Newest First)
Juxta Posted - Mar 31 2009 : 9:46:12 PM
it did seem to get the intellisence working better. Just not the listMethods.
i could see store._flatten() witch i could not see before.

Cool. Looking forward to more features as they come. Cheers.
sean Posted - Mar 31 2009 : 9:41:10 PM
case 21251 isn't closed yet because we are still working on the outline for dojo-like usage. Because it isn't closed, it doesn't show up in the change list. However, you should see improved members listboxes in javascript.
Juxta Posted - Mar 31 2009 : 9:16:35 PM
Really?
The change history only refers to javascript comment spell check and this case number is not mentioned. 21251
Are you sure the improvements you mention are in this build?
Outline and List Methods still do not work with inline class declarations. i.e. declare( { myfunc : function(test){...} } )
sean Posted - Mar 31 2009 : 8:22:17 PM
Build 1721 has improvements to the javascript parser that will help with dojo. We are continuing work in this area.
sean Posted - Dec 09 2008 : 8:18:25 PM
We're looking into ways to handle js like Dojo. We won't have it addressed in the initial 10.5 release, but are continuing to work on it for a follow-up build.
Juxta Posted - Dec 09 2008 : 5:58:37 PM
quote:
Originally posted by sean

We're looking into it. case=21251



Here is an idea.
All of the object hirachy are available at runtime in the debug viewer.
e.g. dojo.parser.parse() for instance, you can see the object with all its methods and variables.
How about obtaining this info at runtime and inserting it into the intellesense list in the context of the page and site you are working on and remember it in the intellsence when the debugger is stopped.
This would be well ahead of MS and give you guys an excellent value addition. Would turn VS with VAX into the best javascript debug environment outthere.
Is this posible?
sean Posted - Dec 01 2008 : 8:17:30 PM
We're looking into it. case=21251
Juxta Posted - Dec 01 2008 : 7:02:05 PM
quote:
Originally posted by feline

I don't know much about JavaScript, and nothing about Dojo.

What is "dojo.declare(" doing?

If the definitions are generated at run time then VA is going to have problems. VA parses the code, and then works from that. It cannot parse "code" that is generated at run time, since this does not exist while you are editing, which is when VA is parsing.


Aptana Studio seems to do a much better job. So it must be posible.

Im no JavaScript expert, infact, im a nube, but i am determined to use visual studio as MS and Visual Assist are improving very rapidly with Javascript support. (I prefer Visual studio to Eclipse)

The dojo javascript library is just an example of the type of large framework out there .I guess i was just hope the intellisence would work better with it. Its frustrating haveing to search through hundreds of .js files in order to locate a definition for a prototype or function.
I was hopeing that a Visual Assist developer in this area could create a project using these library and see for them selves, maybe notice some areas where the javascript parsing could be improved.
Maybe even infer some intellisense from surrounding standard documentations.
sean Posted - Dec 01 2008 : 4:42:19 PM
Juxta:
It would be great if you could put together minimal sample code demonstrating where VA could use improvement re: dojo.

If you are able to, please create a new topic in the beta forum:
http://www.wholetomato.com/forum/forum.asp?FORUM_ID=11

thanks
feline Posted - Nov 28 2008 : 08:21:58 AM
I don't know much about JavaScript, and nothing about Dojo.

What is "dojo.declare(" doing?

If the definitions are generated at run time then VA is going to have problems. VA parses the code, and then works from that. It cannot parse "code" that is generated at run time, since this does not exist while you are editing, which is when VA is parsing.
Juxta Posted - Nov 27 2008 : 12:13:26 AM
Wow! thanks for that amazing reply.
And that is 200% better.
But there are still a few layers of abstraction needed before we can detect Dojo members.
For instance: anything with dojo.declare(
is not recognised as the definisions a generated at runtime i guess.
Still, if the javaScript engine can do it. So can VA.
sean Posted - Nov 26 2008 : 11:36:21 PM
Please try out our 10.5 beta, build 1709:
http://www.wholetomato.com/downloads/getBuild.asp?1709

Some details for 10.5 are available here:
http://www.wholetomato.com/support/history.asp

Please post any feedback on the new javascript support in the beta forum:
http://www.wholetomato.com/forum/forum.asp?FORUM_ID=11

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000