Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide private methods/properties #22329

Closed
dehml opened this issue Mar 9, 2017 · 4 comments
Closed

Hide private methods/properties #22329

dehml opened this issue Mar 9, 2017 · 4 comments
Assignees
Labels
*extension-candidate Issue identified as good extension implementation feature-request Request for new features or functionality help wanted Issues identified as good community contribution opportunities javascript JavaScript support issues

Comments

@dehml
Copy link

dehml commented Mar 9, 2017

I would like to ask if it was possible to add a feature which hide private methods/properties of intellisense out of the class in which they are defined in JavaScript ?
We could determinate a private method/properties when it begin with an underscore or/and with the jsdoc.

Thanks for all your work ;)

@ramya-rao-a
Copy link
Contributor

I believe this can be an extension candidate.
@mjbvz ?

@mjbvz mjbvz added feature-request Request for new features or functionality javascript JavaScript support issues labels Mar 10, 2017
@mjbvz mjbvz added the help wanted Issues identified as good community contribution opportunities label Mar 20, 2017
@mjbvz
Copy link
Collaborator

mjbvz commented Mar 20, 2017

We can't do the filtering on our side easily since you want a class's private members when working inside of the class itself. This likely has to be provided either by TypeScript or by a TSServer plugin that marks _VAR members as private: microsoft/TypeScript#11976

@mjbvz mjbvz added the *extension-candidate Issue identified as good extension implementation label Oct 27, 2017
@mjbvz
Copy link
Collaborator

mjbvz commented Nov 3, 2017

Closing as typescript plugin candidate

@mjbvz mjbvz closed this as completed Nov 3, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Dec 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*extension-candidate Issue identified as good extension implementation feature-request Request for new features or functionality help wanted Issues identified as good community contribution opportunities javascript JavaScript support issues
Projects
None yet
Development

No branches or pull requests

3 participants