A good IDE for classic ASP?

2020-02-09 11:43发布

问题:

I'm using Dreamweaver, but it doesn't give me classes, functions, subs names when I am starting to write..

Are there any good alternatives?

回答1:

There isn't anything, since Classic ASP is a scripting language. Visual Studio has very rudimentary Intellisense but only for very basic features and I've found it doesn't help. Your best bet is to stick with Dreamweaver or just use a lightweight text editor with syntax highlighting. I recommend Notepad++



回答2:

In the seven years since this question has been asked, the IDE landscape has changed quite a bit. Reading Classic ASP code on Linux or any other platform is now possible with Visual Studio Code. Visual Studio Code is not Visual Studio, but a completely different editor based on Electron.

Yes, Microsoft is now shipping code written in NodeJS that runs naively on Linux!



回答3:

As much as it pains me to say so, visual studio.net 2003 works quite well as an IDE with asp classic pages. Plus, if you use Whole Tomatoe's Visual Assist addin with it, they actually make classic asp fun to code in. Seriously. Totally tolerable AND debuggable. And if you toss in AspUnit for classic, you can easily run/maintain unit tests right alongside all your pages.

It works for classic Asp just like the big boys use for their .Net coding minus a few of the .net niceties, of course

With vs.net 2003 you can actually step though code one line at a time. you get breakpoints. You also get all locals variables shown while stepping and a working call stack which is nice if you have nested objects/procs/includes.

If you get the 'Visual Assist' addin-- and you use option explicit-- you also get a very workable version of Intellisense for all your vbscript objects and procedures. Pretty amazing to get Intellisense in a scripting language however they manage to pull that off.

And for testing your classic code AspUnit is perfectly functional "red/green" visual component.

It took me forever to finally get it all set up together and running proper but it was well worth it for a buttload of legacy code I inherited. Here's some links to all the stuff ref'ed above:

Visual Studio 2003 (not cheap, but stepping though script code-- priceless):

  • http://www.amazon.com/Microsoft-Visual-Studio-Professional-English/dp/B00008I9K2

    Setting up vs.net 2003 to work with asp classic:

    • http://www.devx.com/tips/Tip/18204

Whole Tomato Visual Assist:
- http://www.wholetomato.com/

AspUnit:
- http://aspunit.sourceforge.net/



回答4:

I heavily use Expression Web 4 (affordably priced) and recently the new free WebMatrix, both from Microsoft. Both come with intellisense for ASP classic and current languages like .Net/Razor.



回答5:

I think that VS2005 is best the way for classic ASP. VS2005 supports debugging and code highlighting. And Whole Tomato's Visual Assist X is necessary add-in. It improves code-highlighting, intellisense for VS2005 and it'll accelerate your works. And you can see VA view like class outline view.



回答6:

Use Sublime with SublimeCodeIntel package



回答7:

Primal script 2012. Awsome for classic asp



标签: asp-classic