Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Alias HighlighterNew to Visual Studio Code? Get it now.
Alias Highlighter

Alias Highlighter

OmarSakr

|
13 installs
| (1) | Free
Add support for alias that works as config file for bat generator library made by Omar Sakr
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Alias Highlighter

Alias Highlighter is a Visual Studio Code extension designed to provide syntax highlighting for .alias files used with the batch file generator created by Omar Sakr. This extension enhances the readability of alias definitions, making them intuitive and visually clear. It complements the Python Batch File Generator seamlessly.


Features

Syntax Highlighting for .alias Files:

  • Operators (>>): Highlighted in gray.
  • Aliases: Highlighted in orange.
  • Variables: Variables like $1, $2 are highlighted in green.
  • Works seamlessly with .alias files located in the alias folder of the Python Batch File Generator.

How to Use

  1. Install the Alias Highlighter extension from the Visual Studio Code Marketplace.
  2. Open any .alias file in Visual Studio Code.
  3. Syntax highlighting is applied automatically.

Example .alias File

php artisan serve --port=$1 >> srv
echo "$1" >> eco
npm run dev >> dev

Output

  • >> Operator: Displayed in gray.
  • Aliases: E.g., srv, eco, dev are displayed in orange.
  • Variables: E.g., $1 is displayed in green.

Related GitHub Project: Python Batch File Generator

The Alias Highlighter extension is tailored for .alias files utilized by the Python Batch File Generator, a tool for managing and creating batch files for Python scripts and custom aliases.

Python Batch File Generator Features:

  • Global Access: Run Python scripts and aliases from any directory.
  • Automated Batch Generation: Automatically generates .bat files for Python scripts and aliases.
  • Custom Aliases with Arguments: Supports arguments like $1, $2 in .alias files, which are converted to %1, %2 for batch execution.

Integration with .alias Files

Aliases defined in .alias files (e.g., php artisan serve >> srv) are converted into .bat files (e.g., srv.bat). The Alias Highlighter ensures these .alias files are easy to read and maintain in Visual Studio Code.


GitHub Repository

Explore the Python Batch File Generator on GitHub.


Install Now

Install Alias Highlighter today to streamline editing .alias files and boost efficiency. Pair it with the Python Batch File Generator for the ultimate batch file management workflow.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft