-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
List of function properties should put the Function.prototype methods at the bottom of the list #20283
Comments
For the code: interface ItHook {
(t): any;
foo: 3;
bar: true
}
function foo(x: ItHook) {
x.
} All entries currently have the same sortText:
So we end up sorting alphabetically. It may make sense to show sort prototype properties lower in this case |
yes I think it would help to show the top level properties at the top, and the prototype properties at the bottom. perhaps show the type - |
@mhegazy I'd say |
We have not changed the sort order historically.. we only omitted members from the list, e.g. built-in |
how about tsconfig.json setting? :)
lol |
This doesn't seem to have gathered any additional feedback, and would no doubt upset the people used to it being in this order. |
From @ORESoftware on November 27, 2017 3:4
This is a feature request - the problem is demonstrated in this video
basically, we have a function
when we list the function properties, it will list the
Function.prototype
methods before it lists foo or bar, etc.https://www.useloom.com/share/1a0f1e84083049ff8f745a3a1f17ac03
You can go to 2:53 in the video to see the problem.
#20274
Copied from original issue: microsoft/vscode#39160
The text was updated successfully, but these errors were encountered: