Skip to content

jtjoo/vscode-classic-asp-extension

Repository files navigation

Marketplace Version Installs Rating The MIT License contributions welcome

Classic ASP Language Support

Adds Syntax highlighting and snippets to ASP files in VSCode.

Originally converted from TextMate's ASP bundle

Encouragement by Donation & Contribution

Personally, I survived from last stage of lung cancer and I am starting second chance of my life. On July 2018, my brain cancer relapsed 2 times, it have been eliminated by radiation treatment. These days I am fine, I survived. I've been lazy for this development, but I will respond your feedbacks. Thank you for your all support! Your support and contribution is always welcome! I will work for maintaining this tools for all of you.

You can support by donate me via:

paypal

You can donate by PayPal. If you have PayPal account, paypal.me/jtjoo could be easier.

And also, CONTRIBUTIONS are very welcome and greatly appreciated.
Please fork this repository and open a pull request to add snippets, make grammar tweaks, etc.

I am not so smart to develop this alone, so cooperation is always welcome!

Snippets

You can use many useful snippets more than original tmbundle.

And I am updating those!

Snippet Commands Description or Example
out <%=Variable or Some String%>
for For i = Value To Value in ... Next
forin For item in object ... Next
if If Condition Then ... End if
while While Condition ... Loop
dowhile Do While Condition ... Loop
dountil Do Until Condition ... Loop
sel Select Case Variable ... End Select
case Case Value:
sub Sub Subname ... End Sub
fun Function Name ... End Function
inc <!-- #include file or virtual="filePath" -->
req Request
reqf Request.Form("...")
qs Request.QueryString("...")
res Response
wr Response.Write("...")
ri Response.Redirect("URL")
cook Response.Cookie("...")
app Application("...")
sess Session("...")
obj Server.CreateObject(Object Name)
dbcon Set DB Connection and Close
rs Set Recordset and Open Query and Close
class Set Class

Known Issues

  1. If you enable this extension, Auto Close extension (which is built in vscode last update) will doesn't work. See Issue

  2. Spell Right Extension doesn't work on this extension. See Issue

  3. It doesn't support <script language=vbscript" runat="server"> yet

Let me know if you having trouble with using this extension.

Release Notes

0.1.3

  • Added pairs like (), "" Thank you abdelilah-tezrali for contribution!
  • I am so sorry I haven't given attention to this project for years, I was so busy to dealing with my life and I even forgot how to use git and all coding stuffs lol. Well I checked pull-request and updated! Thank you for using this extension :)
  • Oh, and I debut as musician last year, if you interested check out my linktree

0.1.2

  • Added comment/uncomment support by thismat. Thank you!

0.1.1

Added syntax support End With

0.0.9

Added Class snippet Fixed bug syntax color problem with End Class

0.0.8

Added Snippet Command Manual

0.0.7

Added useful snippets more than tmBundle!

0.0.6

Fixed #5 0.0.4 Syntax Highlighting Issues

0.0.5

Changed extension name from Classic ASP w/HTML to Classic ASP Language Support

0.0.4

Modified Icon

0.0.3

Added Icon

0.0.2

Added snippet converted from TextMate's ASP bundle

Fixed HTML snippet to work on ASP file.

0.0.1

Wrote new extension fixing HTML problem from ilich's vscode-classic-asp

This extension created first by

Jintae Joo

About

Classic ASP Language Support and some basical snippets from tmBundle

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published