-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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 reserved identifiers in autocomplete list when _ has not been typed #4939
Comments
There is an existing issue that is related: #1798 |
When using tag parser, and completing a member function/variable, would it be possible to filter the results to only member functions/variables? Seems like the tag parser should have that info. |
@Colengms We do that already -- we just don't have the type available for the class used. Are you seeing a case where global variables are showing in the completion list when using a member access? |
@sean-mcmanus I meant members of the current class. Showing members from all classes isn't particularly useful. :/ But, it makes sense that we would need semantic parsing to identify the class used. |
Instead of adding settings around this the current thinking is that we just remove the symbols starting with |
@bobbrow I'm not opposed to do that, but I believe that it won't actually improve the experience significantly, because under normal circumstances, users who type any letter will not have
So far I haven't seen this. I believe in the vast majority of cases where users are complaining about |
Final behavior: Example: Bypassing the filter: |
IntelliSense will provide suggestions that include anything and everything in system headers, a lot of which the user is unlikely to use.
It may be possible to remove some of these identifiers, such as identifiers reserved for internal use by standard headers.
Though, the last one might need to be kept, as there are various commonly used functions that match that pattern. i.e. MS implementation of POSIX functions such as
_open
,_read
, etc.The text was updated successfully, but these errors were encountered: