Equation of variables



  • How do you put the code refacturing, particularly for variables, in sublime editors and JetBrains products?

    Example of JS:

    var name = 'a',
        secondName = 'b';
    

    var obj = {
    name: 'a',
    secondName: 'b'
    }

    Example PHP

    public $name = 'a';
    public $secondName = 'b';

    And after the refacturing, the code is:

    Example of JS:

    var name       = 'a',
    secondName = 'b';

    var obj = {
    name : 'a',
    secondName: 'b'
    }

    Example PHP

    public $name       = 'a';
    public $secondName = 'b';



  • IDEA has many flames, for example. https://plugins.jetbrains.com/plugin/?idea&id=6546 ♪ In addition, it is possible to generate external utilises that are formatting the references. Up to https://plugins.jetbrains.com/plugin/1605?pr=idea which will replace an external designer with an built-in. So it's a big choice: look for what you can and get on.




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2