Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>Formatter Blade AuRS LaravelNew to Visual Studio Code? Get it now.
Formatter Blade AuRS Laravel

Formatter Blade AuRS Laravel

Andra Ryanda

|
10,068 installs
| (1) | Free
Simple format magic (AuRS) for Laravel Blade - Aryand
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Formatter Blade AuRS Laravel

A U U RRRR SSS A A U U R R S AAAA U U RRRR SSS A A U U R R S A A UUUU R R SSSS

ℹ️ Description

The Formatter Blade AuRS Laravel extension provides convenient formatting options for Laravel Blade templates. With this extension, you can quickly convert asset URLs, remove formatting from code blocks, and more.

🚀 Usage

To use this extension, follow these steps:

  1. Select the code block you want to format.
  2. Right-click to open the context menu.
  3. Choose the appropriate formatting option from the available command list.

⚙️ Formatting Options

This extension provides the following formatting options:

  • A (Asset): Convert asset URLs to the asset() format.
  • U (URL): Convert asset URLs to the url() format.
  • R (Remove Format): Remove formatting from code blocks.
  • S (Secure Asset/URL): Convert asset URLs to the secure_asset() or secure_url() format.

🌟 Example Usage

Here are some example scenarios and how you can format them using the Formatter Blade AuRS Laravel extension:

  • Converting to Asset Format:

    • Original code: <script src=""></script>
    • Formatted code: <script src="{{ asset('#') }}"></script>
    • Steps:
      • Place your cursor inside the asset URL.
      • Right-click and select "Convert to Asset" (symbol: A) from the context menu.
  • Converting to URL Format:

    • Original code: <img src="" alt="">
    • Formatted code: <img src="{{ asset('#') }}" alt="">
    • Steps:
      • Place your cursor inside the asset URL.
      • Right-click and select "Convert to URL" (symbol: U) from the context menu.
  • Converting to Secure Asset Format:

    • Original code: <link rel="stylesheet" href="">
    • Formatted code: <link rel="stylesheet" href="{{ secure_asset('#') }}">
    • Steps:
      • Place your cursor inside the asset URL.
      • Right-click and select "Convert to Secure Asset" (symbol: S) from the context menu.
  • Converting to Secure URL Format:

    • Original code: <img src="" alt="">
    • Formatted code: <img src="{{ secure_url('#') }}" alt="">
    • Steps:
      • Place your cursor inside the asset URL.
      • Right-click and select "Convert to Secure URL" (symbol: S) from the context menu.
  • Removing Format:

    • Original code: <script src=""></script>
    • Formatted code: <script src=""></script>
    • Steps:
      • Place your cursor inside the block code.
      • Right-click and select "Remove Format" (symbol: R) from the context menu.

Feel free to try out these examples with the Formatter Blade AuRS Laravel extension to see how it simplifies your formatting tasks.

MIT

This project is licensed under the MIT License.

Symbols used:

  • ℹ️: Information
  • 🚀: Launch
  • ⚙️: Settings
  • 🌟: Example
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft