2017 © Pedro Peláez
 

library phpstorm-bundle

Symfony bundle that assists you in updating your PhpStorm project config file

image

codelovers/phpstorm-bundle

Symfony bundle that assists you in updating your PhpStorm project config file

  • Wednesday, August 26, 2015
  • by dVelopment
  • Repository
  • 2 Watchers
  • 1 Stars
  • 115 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

PhpStormBundle

Symfony bundle that assists you in updating your PhpStorm project config file., (*1)

Important notice

This bundle is in a very early stage and has ony been tested with PhpStorm 7 so far. So before using it with any older version, make sure you backup your .idea folder., (*2)

Installation

Install the bundle using composer (see http://getcomposer.org/ for more information about composer) by adding it to your composer.json file and running composer update:, (*3)

    // composer.json

    "require": {
        // ...
        "codelovers/phpstorm-bundle": "dev-master"
    }

Then just add the bundle to your AppKernel.php file:, (*4)

<?php
// in AppKernel::registerBundles()
$bundles = array(
    // ...
    new CodeLovers\PhpStormBundle\CodeLoversPhpStormBundle(),
    // ...
);

Usage

Currently there's only one command installed which will update your template data language config according to your configuration., (*5)

Configuration

In a typical environment you will only need to configure your template_data_languages., (*6)

code_lovers_php_storm:
    template_data_languages:
        - { pattern: "*.js.twig", dialect: "JavaScript" }
        - { pattern: "*.css.twig", dialect: "CSS" }
        - { pattern: "*.less.twig", dialect: "LESS" }

Additionally you can configure the path to your .idea folder and multiple source folders to process. Following are the default values:, (*7)

code_lovers_php_storm:
    config_folder:  "%kernel.root_dir%/../.idea"
    source_folders:
        - "%kernel.root_dir%/../src"

Update template data languages

Simply execute the command codelovers:phpstorm:processTemplates., (*8)

php app/console codelovers:phpstorm:processTemplates

If PhpStorm has been running, restart it, so it reloads the project configuration., (*9)

The Versions

26/08 2015

dev-master

9999999-dev

Symfony bundle that assists you in updating your PhpStorm project config file

  Sources   Download

MIT

The Requires

 

by Daniel Holzmann