Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>AL Preprocessor ExplorerNew to Visual Studio Code? Get it now.
AL Preprocessor Explorer

AL Preprocessor Explorer

Ravi Verma

|
10 installs
| (1) | Free
This help you navigate and manage preprocessor directives in AL (Microsoft Dynamics 365 Business Central) projects.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

AL Preprocessor Explorer

Visual Studio Code extension for discovering and navigating AL preprocessor symbols with ease.


🔍 Features

  • 📄 Scans your entire workspace for AL preprocessor directives like #define, #if, #elif, #if not.
  • 🧠 Intelligently extracts symbols even from complex conditions (and, or, not).
  • 📁 Groups occurrences by object type (Tables, Pages, Codeunits, etc.).
  • 🌳 Displays all symbols and their usages in a custom Explorer Tree View.
  • ✨ Click-to-navigate directly to the exact location in your .al files.
  • 🧼 Ignores commented lines to ensure accurate symbol detection.
  • 🕵️‍♂️ Clean, modern UI with collapsible tree nodes.
  • 🔤 Automatically sorts symbols alphabetically for quick discovery.

🚀 Getting Started

  1. Install the extension from the Visual Studio Code Marketplace.
  2. Open a Business Central AL project in VS Code.
  3. Open the Command Palette (Ctrl+Shift+P / Cmd+Shift+P).
  4. Run: AL: Explore Preprocessor Symbol.
  5. Check the "AL Preprocessor Explorer" view on the left side panel.

📸 Screenshots

🧭 Find the Command

Command Pallet

🌲 Explorer Tree View

Shows all detected preprocessor symbols in a collapsible tree, grouped and sorted:

Tree View

📂 Example

#define CLEAN26

#if not CLEAN26 and CLEAN27
    // conditional logic
#endif
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft