quickopen and quickoutline will now show the field icon for field symbols#21318
quickopen and quickoutline will now show the field icon for field symbols#21318bpasero merged 1 commit intomicrosoft:masterfrom
Conversation
…bols instead of the property icon
|
@hoovercj, thanks for your PR! By analyzing the history of the files in this pull request, we identified @alexandrudima and @egamma to be potential reviewers. |
|
@hoovercj, |
|
@hoovercj looks good to me but do you have an example where I could verify the fix? When I use TypeScript on an example like this: class Test {
public test: string;
}It looks like |
|
I recently added document symbol support in the HTML language service, so if that version has been pulled in by vscode then you should see html elements as fields/blue bricks in the quick outline. This is how I spotted the discrepancy, I returned I put together a small extension that you could use to preview the icons. There is a Otherwise, a quick and dirty way of verifying that the icons are correct is looking at where I modified |
|
Thanks! |
This addresses #21315.
I noticed a few issues:
SymbolKind.toandSymbolKind.fromdidn't mapSymbolKind.Fieldto anything soSymbolKind.Propertywas used by defaultField_16x.svg, so I operated under the assumption that in the other locations that variable icon classes were defined, field icon classes should be created to point to the same icon