NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Copy type of local variables


Joined: 30 Jun 2009
Posts: 79
Reply with quote
When debugging, I'd like to be able to right-click contents of Local/Watch window's "Type" column and have variable's type placed in the clipboard.

Right now, right-clicking there displays "Copy", but it is grayed out.

To explain it once again:

Let's say $a is an object of "Application\Auth\Adapter\Database" type and I have it in my Local/Watch window while debugging. Right-clicking "Type" -> "Copy" should
place "Application\Auth\Adapter\Database" string into clipboard.

This is especially useful when writing docblock declarations, where IDE lookup is not available.

Thank you.
View user's profileFind all posts by temuriSend private message


Joined: 07 Jul 2013
Posts: 2
Reply with quote
This is indeed useful feature, please, add it.
View user's profileFind all posts by chirillSend private message


Joined: 30 Jun 2009
Posts: 79
Reply with quote
Thanks for fixing this.

However, when you copy types of objects, you're getting the string "as-is":

(object)Application\Auth\Adapter\Database.... (cannot remember the exact syntax).

Would it be possible to place just "Application\Auth\Adapter\Database" in the clipboard?

Temuri
View user's profileFind all posts by temuriSend private message


Joined: 30 Jun 2009
Posts: 79
Reply with quote
Can we please have this done? Something, anything for a paying user and a die-hard fan?
View user's profileFind all posts by temuriSend private message


Joined: 07 May 2014
Posts: 64
Reply with quote
@dmitri

Can we PLEASE have this feature?
View user's profileFind all posts by temuri416Send private message
Copy type of local variables
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic