staempfli / magento2-phpstorm-templates

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

2magento doesn't show any suggestions #6

Open MSidabras opened 6 years ago

MSidabras commented 6 years ago

I have imported the .jar settings, got no errors. In Editor > File and Code Templates I can see some added features, but there are no added features in Editor > Live Templates.

I'm using PhpStorm version 2018.2.1 (currently the newest)

jalogut commented 6 years ago

Hi @MSidabras

You do not see StmpflMagento2?

screen shot 2018-08-16 at 16 09 00

MSidabras commented 6 years ago

No, it's not there

image

jalogut commented 6 years ago

Can you try with this one and let me know?

MSidabras commented 6 years ago

@jalogut imported the new one, still no live templates

MSidabras commented 6 years ago

@jalogut any ideas on what could be wrong?

jalogut commented 6 years ago

Hi @MSidabras

Sorry, I do not have any idea and I could not check it. I am stuck in a previous version of PHPStorm haha.

Maybe @audef1 can help here? I saw that he is using it on PHPStorm 2018.1

@MSidabras did you check with any other colleagues if they have the same issue or is only happening to you?

Bonno commented 3 years ago

I don't know if this is still a problem with @MSidabras, but I just encountered the same problem with the latest PHPStorm (2021.1.4) and found that the problem had something to do with the cloud sync function. The cloud sync keeps a shadow configuration (jba_config) in your profile directory (~/.config/JetBrains/PhpStorm2021.1 under linux). But the new 'Live Templates' where only available in the normal templates/ directory and not in the synced jba_config/templates/ directory. After I had copied the StmpflMagento2.xml from my /templates/ to my /jba_config/templates/ they became available in PHPStorm to use. It's an old issue, but maybe the above explanation can help others who are facing the same problems.