Adds Syntax highlighting and snippets to ASP files in VSCode.
Originally converted from TextMate's ASP bundle
Personally, I have lung cancer and it is last stage.
Main cancers in my lung are almost eliminated, but there are some metastatic cancers.
Of course I am taking treatments, and my condition is mostly okay but sometimes cancer pain makes me hard.
So, there are some reasons makes me difficult to develop this extension.
First thing is I don't have much life time to develop this extension.
And other thing is I don't have lots of time to study or look over the extension development.
If you like this extension, you could donate via 2 ways.
You can donate by PayPal. If you have PayPal account, paypal.me/jtjoo could be easier.
Or, you can donate bitcoin via BlockChain.Info or Scan QRcode below:
It will encourage me to make this extension and fighting against my cancer.
And it will encourage my family.
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.
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 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