enriquepiatti / Magicento

PHPStorm plugin for Magento developers
115 stars 35 forks source link

Create phpStorm datasource configuration from local.xml #35

Open amenk opened 11 years ago

amenk commented 11 years ago

What do you think about this one?

https://github.com/netz98/n98-magerun/issues/92

amenk commented 11 years ago

It would be nice if Magicento could create a datasource based on the current local.xml connection settings. It should be created in a way to only show and scan the current Magento database.

jonpday commented 11 years ago

:+1: would love to see this feature

Changed my mind, sorry, don't think it is a big deal after all!
amenk commented 11 years ago

I asked on YouTrack if this is possible at all: http://youtrack.jetbrains.com/issue/IDEA-110475

enriquepiatti commented 11 years ago

Thanks Alex ! anyway I think is better to ask those things in their forum (http://devnet.jetbrains.com/community/idea/open_api_and_plugin_development) instead of opening an issue. I've created the discussion for that don't worry (y) http://devnet.jetbrains.com/thread/446518

enriquepiatti commented 11 years ago

I think this is not so easy, I couldn't find the extension point and there are too many variables to take into account, has the user the .jar for mysql? ssh settings? Personally I've found the data source from PhpStorm a bit buggy and slow so I never use it, I prefer to use special software like mysql workbench, sqlyog etc. But I think I'm not understanding why this could be so important, I mean to configure the data source should take less than 20 or 30 seconds for project (and it's only done once). Am I loosing something here?

jonpday commented 11 years ago

I agree with @enriquepiatti it is a quick, once-off task to create a data source in PhpStorm and I would rather see other tickets be higher priority. I've also experienced PhpStorm's Database tools crash my whole OS which is a pity since they are much more functional than MySQL Workbench :-1: