Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Classic ASP Include ResolverNew to Visual Studio Code? Get it now.
Classic ASP Include Resolver

Classic ASP Include Resolver

Alex Hedley

|
1 install
| (0) | Free
Resolve Classic ASP include directives in the active file
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Classic ASP VSCode Extension

Classic ASP VS Code extension with include resolution preview.

JavaScript GitHub Copilot

Test Extension

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

  • Architecture: docs/architecture.md
  • Packaging & publishing: docs/packaging-publishing.md
  • Changelog: CHANGELOG.md
  • Branding guide: assets/brand/brand-guidelines.md

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
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft