# jscript/ECMA intellisense and VS200\*

**URL:** <https://boards.straightdope.com/t/jscript-ecma-intellisense-and-vs200/343992>\
**Category:** Factual Questions\
**Created:** [February 11, 2006, 2:50pm UTC](https://boards.straightdope.com/t/jscript-ecma-intellisense-and-vs200/343992 "2006-02-11T14:50:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![enipla](https://avatars.discourse-cdn.com/v4/letter/e/54ee81/32.png) [@enipla](https://boards.straightdope.com/u/enipla)\
**Post date:** [February 11, 2006, 2:50pm UTC](https://boards.straightdope.com/t/jscript-ecma-intellisense-and-vs200/343992/1 "2006-02-11T14:50:19Z")

</div>

I’m currently working in VS2003 and am about to go to VS2005. From what I have read, intellisense should work in .js files. For example from microsoft.com [sub]That’s not the problem, IE was installed first.(Though they are talking InterDev and not VS)[/sub]

In another article MS says that

> [@MS](#):
>
> Keywords are colorized according to the language used in each file. As you edit code, context-applicable help will appear in the Dynamic Help window.

Fair enough. And key words are colorised but no intellisense (I know some people hate it anyway).

Intellisense does work in .aspx.vb and .aspx files. Just not .js.

Any ideas?

[sub]I want to thank SamStone, Rysto and Chrisk for answering my last jscript - .aspx.vb question. I ended up going the AJAX route. Works great.[/sub]

---

<div class="post-metadata">

**Author:** ![enipla](https://avatars.discourse-cdn.com/v4/letter/e/54ee81/32.png) [@enipla](https://boards.straightdope.com/u/enipla)\
**Post date:** [February 11, 2006, 3:08pm UTC](https://boards.straightdope.com/t/jscript-ecma-intellisense-and-vs200/343992/2 "2006-02-11T15:08:32Z")

</div>

Submited too soon…

If intellisense for jscipt in VS 2003/05 works for you, would you let me know? I am going to be building a new box in a week or so. My old box will run IIS and the XML web service. The new on will run VS.

I have had some problems over the last few months with software that seems incompatable. I am going to be spliting it up on two different boxes. I don’t want to go on a wild goose chase trying to get intellisense for jScript to work if it’s just not available.

Thanks.

---

<div class="post-metadata">

**Author:** ![Reply](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/reply/32/15952_2.png) [@Reply](https://boards.straightdope.com/u/Reply)\
**Post date:** [February 12, 2006, 2:17am UTC](https://boards.straightdope.com/t/jscript-ecma-intellisense-and-vs200/343992/3 "2006-02-12T02:17:29Z")

</div>

You might want to read [this page](http://blogs.crsw.com/mark/articles/648.aspx).

VS2003 does support JavaScript, it’s just that most of the IntelliSense functions are hidden when editing plain .js files because VS doesn’t know what context the JavaScript is going to be used in. As soon as you embed the script inside a HTML page, the full IntelliSense becomes available.

I dunno when you’d ever want to use JavaScript outside the context of a webpage, but I guess MS has its own ideas.

---

<div class="post-metadata">

**Author:** ![enipla](https://avatars.discourse-cdn.com/v4/letter/e/54ee81/32.png) [@enipla](https://boards.straightdope.com/u/enipla)\
**Post date:** [February 12, 2006, 2:26pm UTC](https://boards.straightdope.com/t/jscript-ecma-intellisense-and-vs200/343992/4 "2006-02-12T14:26:10Z")

</div>

Thanks Reply.

From Reply’s link-

> [@](#):
>
> Keep in mind, you can edit javascript (.js files) files as well. However, since javascript files do not have a context by themselves, you will not get the full Intellisense available. This is because the JavaScript code in the .js files is not within the context of an HTML document.

Well that sorta sucks. I’ll have to try it in an HTML file and see if jScript has intellisense available there. I’m doubting it. I think I would have noticed. Can’t test it till Monday.
