Writing JScript Code with Visual Studio
The Visual Studio Integrated Development Environment (IDE) provides some of the same tools for JScript development that are available for other languages. The New File dialog box includes several templates that provide a framework for various JScript files.
IDE Procedures
To write new JScript code using Visual Studio
Start Microsoft Visual Studio.
From the File Menu, click New File.
In the Categories dialog box, click the Script folder.
In the Templates dialog box, choose JScript File or JScript .NET Web Form and click Open.
To edit JScript code using Visual Studio
Start Microsoft Visual Studio.
From the File Menu, click Open, and then click File.
In the Open File dialog box, browse to your source file, select it and click Open.
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.
To save JScript code in Visual Studio
From the File Menu, click Save<File name> or Save <File name> As.
Note
You cannot compile JScript code in the Visual Studio IDE. This step must be performed from the command line or by the ASP.NET page.
See Also
Concepts
Building from the Command Line
Debugging JScript with Visual Studio
Debugging JScript with the Common Language Runtime Debugger
Other Resources
Writing, Compiling, and Debugging JScript Code