Git Product home page Git Product logo

magento2-phpstorm-templates's Introduction

Magento 2 PHPStorm Preferences

Project Status: Abandoned โ€“ Initial development has started, but there has not yet been a stable, usable release; the project has been abandoned and the author(s) do not intend on continuing development.

This project is intended to setup useful PHPStorm Templates for Magento 2 Projects.

Disclaimer

This project overrides the default file template PHP Class.php to add a specific header comments. We need to edit this file instead of creating a new one because automatic Namespace only works on this specific template. All other templates are custom ones with a naming prefix 2m in order to make them unique.

Installation

  1. Just download the .jar file and import it in your PHPStorm File -> Import Settings

    • https://github.com/staempfli/magento2-phpstorm-templates/releases/<version>/stmpfl_2m_templates.jar
  2. Set your personal configuration for comments on PHPStorm Preferences -> Editor -> File and Code Templates -> stmpfl_variables

    Comments settings

Available Templates

Usage

All file and live templates namings start with 2m except PHP Class.php. We need to use the default PHP Class.php because automatic Namespace only works on this specific template.

Contribute

You can contribute with new templates following this manual:

Demo

Video Demo

magento2-phpstorm-templates's People

Contributors

audef1 avatar jalogut avatar osrecio avatar vincentmarmiesse 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.