staempfli / magento2-phpstorm-templates

PHPStorm Live template preferences for Magento 2 Projects
227 stars 48 forks source link

Correct path for linking template files #2

Closed mashb1t closed 4 years ago

mashb1t commented 7 years ago

Copying file to ~/Library/Preferences//templates/ did not work. PHPStorm only recognized the new templateSet after directly copying it to the settingsRepository.

jalogut commented 7 years ago

Hi @mash1t,

Thanks for your contribution. Before I accept that, could you let me know which PHPStorm are you using? I am on 2016.3 and the path is right for me. Could it be that it has changed on the latest 2017 version?

mashb1t commented 7 years ago

Hey @jalogut,

I'm on 2016.3.3. Importing the .jar-file didn't work at all for settings, but fileTemplates have been imported just well. PHPStorm only recognized the settings file after manually placing it into the specified folder. I can either imagine PHPStorm having a bug when importing settings or my dev environment being configured wrong. If it's a configuration issue, i couldn't find a solution (yet).

jalogut commented 7 years ago

Hi @mash1t ,

What do you mean exactly with settings? This .jar only contains fileTemplates and templates configuration. Normally you should not get any errors when importing the .jar as it does not contain any other configuration besides this templates. Do you get any errors when you import the .jar file?

mashb1t commented 4 years ago

@jalogut Closing this pull request due to not working with magento2 anymore and due to sadly not having the required data anymore on current devices.