[BUG] Formatter preference is not stored

General discussion on Zend Studio

[BUG] Formatter preference is not stored

Postby strgt on Thu May 18, 2017 9:43 pm

In the window / preferences menu, PHP / Code Style / Formatter option, The default active profile is Zend Framework 1.

If I switch it to another value, like PSR-2 [built-in], click apply, click OK, the profile is applied.

If I close Zend Studio and open it again, the active profile is restored to Zend Framework 1.

If I create a new profile, (not built-in) and close/open Zend Studio, that new profile is also lost.

I'm currently using ZS 13.6, but this has happened since Zend Studio switched to Eclipse.

P.D. Why are the preferences under the 'window' menu? zero intuitive
strgt
 
Posts: 35
Joined: Sat Feb 21, 2009 1:50 pm

Re: [BUG] Formatter preference is not stored

Postby kaloyan_r on Fri May 19, 2017 2:22 pm

I cannot reproduce the issue reported here. Any changes in the formatter profiles are persisted between restarts.

Note that PSR-2 is the default formatter profile for several releases of Zend Studio.

Could you try reproducing the issue in a fresh new workspace?
Kaloyan Raev
Zend Studio Team
User avatar
kaloyan_r
Zend Product Manager
 
Posts: 582
Joined: Thu May 23, 2013 12:40 pm

Re: [BUG] Formatter preference is not stored

Postby strgt on Fri May 19, 2017 3:30 pm

kaloyan_r wrote:Could you try reproducing the issue in a fresh new workspace?


It looks it works in a clean workspace. How do I clean my workspace?
strgt
 
Posts: 35
Joined: Sat Feb 21, 2009 1:50 pm

Re: [BUG] Formatter preference is not stored

Postby kaloyan_r on Mon May 22, 2017 8:32 am

It's hard to tell what went wrong with the metadata in your existing workspace. It might be the case that your other issue with CodeSniffer is also related to the workspace's metadata messed up.

It would be best if you import your projects in the new fresh workspace.
Kaloyan Raev
Zend Studio Team
User avatar
kaloyan_r
Zend Product Manager
 
Posts: 582
Joined: Thu May 23, 2013 12:40 pm

Re: [BUG] Formatter preference is not stored

Postby strgt on Mon May 22, 2017 11:49 am

Thank you. Let me try. I'm closing this issue as fixed.
strgt
 
Posts: 35
Joined: Sat Feb 21, 2009 1:50 pm


Return to Zend Studio

Who is online

Users browsing this forum: Google [Bot] and 6 guests

cron