Skip to content

Since PhpStorm 2020.1 the way to import Code Style and Template it's changed #7

@fromthestone

Description

@fromthestone

Hi,
I have PhpStorm 2021.2 On Mac and I followed the README.
Since your commit about set up instructions the way it's. changed.
More info here -> https://www.jetbrains.com/help/phpstorm/directories-used-by-the-ide-to-store-settings-caches-plugins-and-logs.html

Code Style

  1. Download the F3 codes style xml and I imported it in my document folder
  2. Preferences -> Editor -> Code Style -> gear icon -> import scheme (look at the picture)
    image
  3. Select the Scheme and apply it
    image
  4. Select hard wrap at 90 columns

Live Template

  1. Download F3 Templates on your Mac
  2. Open with SHIFT + COMMAND + G the finder on ~/Library
    image
  3. go to ~/Library/Application Support/JetBrains/PhpStorm20xx.x and make the template folder, move the template xml file than restart the IDE
    image
  4. Go to Preferences -> Editor -> Live Templates and you will see F3 already in the list
    image

That's what i did and I hope could be helpful to other developers ;-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions