Skip to content

Instantly share code, notes, and snippets.

@zoispag
Created April 1, 2022 08:38
Show Gist options
  • Save zoispag/b7a30f47ce4cdee76e9122a5eea00b99 to your computer and use it in GitHub Desktop.
Save zoispag/b7a30f47ce4cdee76e9122a5eea00b99 to your computer and use it in GitHub Desktop.

Revisions

  1. zoispag created this gist Apr 1, 2022.
    15 changes: 15 additions & 0 deletions ide.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,15 @@
    {
    "$schema": "https://laravel-ide.com/schema/laravel-ide-v2.json",
    "blade": {
    "directives": [
    {
    "name": "unlessroute",
    "prefix": "<?php if(Route::currentRouteName() !== ",
    "suffix": "); ?>"
    },
    {
    "name": "endunlessroute"
    }
    ]
    }
    }