php - How to move a class and the namepsace using PhpStorm? -


i tried moving class in phpstorm 10.0.3 using f6, yet changed file's location , not namesapce. manually adapting namespace feels wrong, if class has been used @ multiple places.

move cursor upon classe's definition, , press f6. open move class dialog , there have option move different namepsace.

class foo  { } 

the cursor has on foo.

one has both specify target namespace , target destination directory. refactoring works expected.

if press f6 when cursor inside other place in class file, phpstorm open move dialog.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -