Showing private members outside the class
10 posts
• Page 1 of 1
Showing private members outside the class
Hi,
May I ask why private members are shown in the intellisense outside the class (when they are not accessible)?
It is not this way in C# for example.
Jamie.
May I ask why private members are shown in the intellisense outside the class (when they are not accessible)?
It is not this way in C# for example.
Jamie.
You do not have the required permissions to view the files attached to this post.
- fantasticjamieburns
- Posts: 44
- Joined: September 10th, 2012, 10:33 am
Re: Showing private members outside the class
You are right, currently private members are shown in any context. We'll improve this in some future version.
Thanks!
Thanks!
Jakub Misek │ DEVSENSE s.r.o. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
Re: Showing private members outside the class
I was wondering that too and it would improve usability a lot as I have many private stuff which unnecessarly fills up the list...
- CFI
- Posts: 66
- Joined: December 13th, 2012, 1:29 pm
Re: Showing private members outside the class
Agreed, this will move up with the priority.
Thanks for suggestions!
Thanks for suggestions!
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: Showing private members outside the class
Latest update improves IntelliSense in this way so private members are not shown outside its class. Download at http://visualstudiogallery.msdn.microso ... 5f50c95fb5
See http://www.devsense.com/products/php-to ... /changelog for details or follow as at http://www.facebook.com/pages/PHP-Tools ... 0130137834
See http://www.devsense.com/products/php-to ... /changelog for details or follow as at http://www.facebook.com/pages/PHP-Tools ... 0130137834
Jakub Misek │ DEVSENSE s.r.o. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
Re: Showing private members outside the class
Hi,
I have upgraded to 1.6.4160 and observe the following:
The member variable $application is defined as:
Jamie.
I have upgraded to 1.6.4160 and observe the following:
The member variable $application is defined as:
Jamie.
You do not have the required permissions to view the files attached to this post.
- fantasticjamieburns
- Posts: 44
- Joined: September 10th, 2012, 10:33 am
Re: Showing private members outside the class
fantasticjamieburns wrote:Hi,
I have upgraded to 1.6.4160 and observe the following:
Thanks, I see static members are another case that should be handled... will be fixed.
Jakub Misek │ DEVSENSE s.r.o. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
Re: Showing private members outside the class
FWIW, I think it maybe members in general (non-methods)...
The following private non-static member:
Is visible outside of the class as:
The following private non-static member:
Is visible outside of the class as:
You do not have the required permissions to view the files attached to this post.
- fantasticjamieburns
- Posts: 44
- Joined: September 10th, 2012, 10:33 am
Re: Showing private members outside the class
It does not seem to be private, since it has normal public icon. We'll check it again.
Jakub Misek │ DEVSENSE s.r.o. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
Re: Showing private members outside the class
Hi,
Hiding of private members out of its class context in IntelliSense has been implemented.
You can expect this feature in the next update.
Thank You,
Hiding of private members out of its class context in IntelliSense has been implemented.
You can expect this feature in the next update.
Thank You,
Jakub Misek │ DEVSENSE s.r.o. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
10 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 47 guests