Go Back   Computer Forums > Web Design | Website Development > Web Programming
Click Here to Login
Join Computer forums Today

Thread Tools Search this Thread Display Modes
Old 08-29-2010, 12:25 PM   #1
Beta Member
Join Date: Aug 2010
Posts: 1
Default Setup MS Visual Studio 2008 for simple Javascript Projects

Taking an into to Javascript class and have Visual Studio 2008. I'd like to set it up for simple Javascript projects. Can anyone give me a step-by-step on what options to choose to do this without resorting to C#, VB or .NET project-specific files?



DblValve is offline   Reply With Quote
Old 10-07-2010, 12:33 PM   #2
In Runtime
Daeva's Avatar
Join Date: Dec 2005
Posts: 407
Send a message via AIM to Daeva Send a message via MSN to Daeva Send a message via Yahoo to Daeva
Default Re: Setup MS Visual Studio 2008 for simple Javascript Projects

I think that VS (any version) is way overkill.

What features of VS make you want to use that. Using VS for just that is like using a NASA supercomuter to add two numbers and print them to the screen.

I find that any text editor with syntax highlighting will serve you well for javascript coding.
Some examples are TextPad(my favorite), Programmers Notepad, Notepad++, or even just standard notepad.

If you are looking to debug javascript (step through code) which Visual Studio does now have, I would recommend using the following tools for firefox:
- Firebug
- Web Developer
- Console [sup]2[/sup]

If you insist on VS, you don't want a windows application. You want a website.
File->New->Website->(VB or C# doesn't matter for you).
It will create a bunch of files you don't need, but thats okay. Then you can just add a javascript file and work with it that way.

*Note: You have to have full Visual Studio suite or Visual Web Developer in order to do this.

**Official Self-proclaimed glorified excessive (insert additional adjectives here) post editor/modifier.
Edit = Best feature ever
Daeva is offline   Reply With Quote
Old 10-07-2010, 08:25 PM   #3
Site Team
berry120's Avatar
Join Date: Jul 2009
Location: England, UK
Posts: 3,434
Default Re: Setup MS Visual Studio 2008 for simple Javascript Projects

As above, VS is an IDE designed for enterprise level projects, if you're just hacking around with a bit of Javascript then it'll most likely hinder rather than help. What do you mean by a Javascript project anyway? Most websites are written in HTML with Javascript adding the dynamic features.

There are websites written entirely in Javascript (usually called web applications) but actually writing them in Javascript by hand is rarely done these days - it's a rather cumbersome and old fashioned approach. The norm in this situation is to write in something like Java and then use GWT / SmartGWT to compile down to minified Javascript, which is much better from all perspectives.
Save the whales, feed the hungry, free the mallocs.
berry120 is offline   Reply With Quote
Old 05-26-2011, 09:01 AM   #4
In Runtime
7D8's Avatar
Join Date: Oct 2006
Posts: 209
Default Re: Setup MS Visual Studio 2008 for simple Javascript Projects

maybe he's doing JScript for Windows development. You can write JScript (Micorosoft's JavaScript implementation) to script Windows. In any case, its still over-kill. Notepad my good man or if you want to go a step up (i would), Notepad++ or Notepad2. Both are excellent.
7D8 is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

All times are GMT -5. The time now is 05:27 AM.

Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0