Classic ASP VSCode Extension
Classic ASP VS Code extension with include resolution preview.


Command
Run Classic ASP: Open Resolved Include Preview to open a side-by-side virtual document where
<!--#include file="..."--> and <!--#include virtual="..."--> directives are resolved.
You can also click the preview button in the editor title (top-right) when an .asp, .asa, or .inc file is active.
The preview auto-refreshes when you edit, create, delete, or save the main ASP file or included .asp, .asa, and .inc files.
The preview also uses the same language mode as the source document so syntax highlighting is preserved.
Each resolved include block is annotated with its source file path, and you can click the path to open that include file based on your configured open side.
Settings
classicAsp.includeOpenSide (left | right, default left)
left: open clicked include files in the source editor group
right: open clicked include files beside the preview
Example
index.asp
<!DOCTYPE html>
<html>
<body>
<h3>The time is:</h3>
<p><!--#include file="time.inc"--></p>
</body>
</html>
time.inc
<%
Response.Write(Time)
%>
Resolved preview output:
<!DOCTYPE html>
<html>
<body>
<h3>The time is:</h3>
<p><%
Response.Write(Time)
%></p>
</body>
</html>
Documentation
Brand Assets
- Extension icon:
/assets/icon.png (source: /assets/brand/icon.svg)
- Logo:
/assets/brand/logo.png (source: /assets/brand/logo.svg)
- GitHub social preview:
/assets/brand/github-social-preview.png (copy at /.github/social-preview.png)
- Brand guide:
/assets/brand/brand-guidelines.md