Has anyone had luck finding a Visual Studio Project Template for JavaScript and/or VBScript? I would like to use VS as my script IDE but get frustrating with the lack of integration.
I'm hoping someone else was just as frustrated as me and already came up with a solution.
Add a new project file With your project open in Visual Studio, right-click on a folder or your project node in Solution Explorer (right pane), and choose Add > New Item. In the New File dialog box, under the General category, choose the file type that you want to add, such as JavaScript File, and then choose Open.
First of all VBScript is an interpreted language and does not need to be compiled. Then, just open the file you want to debug with Visual Studio (via File --> Open --> File...) In order to start the debugger, just click "Tools / VBScript Debug".
You can write JavaScript or TypeScript code in Visual Studio for many application types and services.
Go to Documents\Visual Studio Version\Templates\ProjectTemplates and create a new folder to separate your template from the default templates of visual studio. You will see the newly created template as shown below. Give the name of the project and click on 'Ok' button.
If that's not what you're looking for, could you clarify?
VisualStudio 2008 sp1 has much improved javascript support. It isn't perfect, but it does a pretty good job of formatting, syntax highlighting and intellisense. There are a few things that would be nice to have like automatic doc creation, but for the most part it works about as good as any other js "ide".
Some articles...
http://weblogs.asp.net/scottgu/archive/2007/06/21/vs-2008-javascript-intellisense.aspx http://www.codeproject.com/KB/dotnet/vs2008JSIntellisense.aspx http://blogs.ipona.com/james/archive/2009/01/14/jquery-1.3-and-visual-studio-2008-intellisense.aspx
In addition to jayrdub's response, VBScript intellisense and formatting was last officially supported in Visual Studio 2005. But it was then later added back in for Visual Studio 2008 SP1 at the demand of the user community.
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=290845 https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=292379
So as long as you're not on VS 2008 RTM, you shouldn't have much of an issue.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With