Giter VIP home page Giter VIP logo

blade.tmbundle's Introduction

A Textmate Bundle for PHPStorm to give Laravel Blade Templates Syntax highlighting.

Disclaimer

This is my first stab at creating a bundle and I'm still fairly new with PHPStorm. Blade.tmbundle is based on the Laravel Blade Highlighter by Eric Percifield [here](https://sublime.wbond.net/packages/Laravel%20Blade%20Highlighter here).

Results may vary. Feedback is welcome and encouraged!

Installation

  • Download and unzip Blade.tmbundle. Rename Blade.tmbundle-master to Blade.tmbundle, and place the bundle in a safe place (On OS X ideally in ~/Library/Application Support/TextMate/Bundles so it is also available to TextMate 2).

  • Follow the tutorial to register Blade.tmbundle in PHPStorm. TextMate bundles require the TextMate bundles support Plugin is active in Settings->Plugins. The follow warning can safely be ignored when you activate Blade.tmbundle:

    Some extensions declared in attached bundles are already used by native file types.

  • Check Settings->File Types->Files supported via TextMate bundles to ensure that only *.blade.php is listed. If it is not listed, click on the + button and add it. If you get a warning something to the effect that something will be reassigned, do it. Reassign the extension to this bundle.

    Note: I've found that *.blade.php will appear twice. If you can't get the bundle to work, add *.blade.php a second time.

  • You will also need to associate TextMate bundles to your theme in Settings->TextMate Bundles, or you may get a horribly ugly looking Blade template. Thanks to @laravelnews and kennonb for pointing this out.

Changes

  • January 24, 2014:
    • Removed HTML Bundle requirement
    • Add improved PHP highlighting
    • Bundle works with light themes now
    • Tested on PHPStorm 7.1 with OS X and Fedora 17
    • Renamed from LaravelBlade to Blade

ToDo

  • Add auto complete

blade.tmbundle's People

Contributors

outofcontrol avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.