In case you also have to code ASP pages ( I really don’t like VB but what can you do…)…:
My favorite editor is Notepad++ because its fast, and has some cool features, like the styler. It also comes with a Auto-Completion feature. See this blog post on how to switch it on.It doesn’t work for *.asp files with the standard settings. But there’s a quick way to fix this:
All you need to do is go to C:\\Program Files\\Notepad++\\plugins\\APIs and copy vb.xml to asp.xml and restart Notepad++.
Another thing that I did : I deleted all functions except the ones that I use a lot from the list in asp.xml because I never use 80% of the functions in that list anyways. In addition you can add brackets after functions where you definately need them, e.g. for Replace(). I also added these “XXXXXXXX”s, because this way I can easily double-click-select them and replace these blocks with variables.
So the “R”-part of my asp.xml looks like this:
…
<KeyWord name=”Public Sub” />
<KeyWord name=”Public” />
<KeyWord name=”QUERY_STRING” />
<KeyWord name=”Response.Write XXXXXXXXXXX & br” />
<KeyWord name=”Response.Redirect” />
<KeyWord name=”Response.ContentType” />
<KeyWord name=”Replace(XXXXXXXX,XXXXXX,XXXXXXXX)” />
<KeyWord name=”Randomize” />
<KeyWord name=”Rnd” />
<KeyWord name=”Round(XXXXXXXX)” />
<KeyWord name=”RTrim” />
<KeyWord name=”ScriptEngine” />
….
These little tricks make writing VBScript code so much more pleasant…