Questions about ZS 9

General discussion on Zend Studio

Questions about ZS 9

Postby mentor2k1 on Fri Apr 27, 2012 7:41 am

Hi,

i´ve just upgraded to 9.0 and it´s amazing and i love it!

But something disturbs my known "workflow":

New php class dialog
1. In 8.x the focus on opening this dialog was on Class Name, now it is on Namespace, is it possible that i can change the focus input field in my settings
2. In the most of my project i didn´t use namespace yet, can i turn off the namespacesupport by project/workspace
3. If i let the namespace empty, and use superclass or interface with the new class, i get a slash before the superclass or interface if i create the new class. Whre can i turn this off?
4. Where can i say, that the require_once checkbox is always unchecked ( i use autoload in my projects and i didn´t need any require statement

Autocomplete on editing

I have a static protected var $api, i accessing this via self::$api->...
in 8.0 the $api var was in the dropdown on the first position so i was able to write self:: <enter> to get the $api var, now in 9.0 this var is moved to the "end" of the dropdown, because the functions were moved to the top. Is it possible to change this anywhere in the settings, i want the $api back on top ;)


Best Regards

Oliver
Oliver Trebes
angelmedia.de
mentor2k1
 
Posts: 49
Joined: Tue Jun 30, 2009 9:09 pm
Location: Germany

Re: Questions about ZS 9

Postby sylvie6713 on Fri Apr 27, 2012 8:34 am

Hi Oliver
1. In 8.x the focus on opening this dialog was on Class Name, now it is on Namespace, is it possible that i can change the focus input field in my settings

I know - we have a bug about this. I agree it is a bit of annoying - I'll check the status.
2. In the most of my project i didn´t use namespace yet, can i turn off the namespacesupport by project/workspace

What exactly do you mean? What do you expect from such turn on/off?
3. If i let the namespace empty, and use superclass or interface with the new class, i get a slash before the superclass or interface if i create the new class. Whre can i turn this off?

Hm ... interesting question. I'm not sure you can but I'll check just in case. You see the thing is that most people were complaining that they are using namespaces and in that case this backslash is critical for them. I think in your case it should work both with or without it - does it harm the code or you just find it annoying?
4. Where can i say, that the require_once checkbox is always unchecked ( i use autoload in my projects and i didn´t need any require statement)

Interesting ... I'll open improvement request for that. Thanks
Autocomplete on editing
I'll check if this is possible
Sylvia Tancheva
QA Team, Zend
User avatar
sylvie6713
 
Posts: 297
Joined: Fri Feb 27, 2009 10:24 am
Location: Bulgaria

Re: Questions about ZS 9

Postby mentor2k1 on Fri Apr 27, 2012 8:54 am

Hey Sylvia :)

sylvie6713 wrote:
2. In the most of my project i didn´t use namespace yet, can i turn off the namespacesupport by project/workspace

What exactly do you mean? What do you expect from such turn on/off?


So question based on my 3. Question about the slashes, so if i could turn this off, maybe i didn´t get the slashes ;)

sylvie6713 wrote:
3. If i let the namespace empty, and use superclass or interface with the new class, i get a slash before the superclass or interface if i create the new class. Whre can i turn this off?

Hm ... interesting question. I'm not sure you can but I'll check just in case. You see the thing is that most people were complaining that they are using namespaces and in that case this backslash is critical for them. I think in your case it should work both with or without it - does it harm the code or you just find it annoying?

i think It will only make problems, if it will run unter php 5.2, not all of my customs are upgraded to 5.3, i have switch the "php interpreter" to 5.1/5.2 and the slashes will also before the interface/superclass



//Oliver
Oliver Trebes
angelmedia.de
mentor2k1
 
Posts: 49
Joined: Tue Jun 30, 2009 9:09 pm
Location: Germany

Re: Questions about ZS 9

Postby sylvie6713 on Fri Apr 27, 2012 9:18 am

OK got it :)
I'll check if this is possible.
Sylvia Tancheva
QA Team, Zend
User avatar
sylvie6713
 
Posts: 297
Joined: Fri Feb 27, 2009 10:24 am
Location: Bulgaria


Return to Zend Studio

Who is online

Users browsing this forum: No registered users and 3 guests