Adds Syntax highlighting and snippets to ASP files in VSCode.
Originally converted from TextMate's ASP bundle
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:
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!
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 |
-
If you enable this extension, Auto Close extension (which is built in vscode last update) will doesn't work. See Issue
-
Spell Right Extension doesn't work on this extension. See Issue
-
It doesn't support
<script language=vbscript" runat="server">
yet
Let me know if you having trouble with using this extension.
- 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
- Added comment/uncomment support by thismat. Thank you!
Added syntax support End With
Added Class
snippet
Fixed bug syntax color problem with End Class
Added Snippet Command Manual
Added useful snippets more than tmBundle!
Fixed #5 0.0.4 Syntax Highlighting Issues
Changed extension name from Classic ASP w/HTML
to Classic ASP Language Support
Modified Icon
Added Icon
Added snippet converted from TextMate's ASP bundle
Fixed HTML snippet to work on ASP file.
Wrote new extension fixing HTML problem from ilich's vscode-classic-asp