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

missing intellisence/autocomplete support for resource keys #1503

Open
Xiaoy312 opened this issue Nov 18, 2024 · 1 comment
Open

missing intellisence/autocomplete support for resource keys #1503

Xiaoy312 opened this issue Nov 18, 2024 · 1 comment
Labels
kind/enhancement New feature or request

Comments

@Xiaoy312
Copy link
Contributor

What would you like to be added:

intellisence/autocomplete support for resource keys

Why is this needed:

general QoL

For which Platform: design-time editor

Anything else we need to know?

https://discord.com/channels/1182775715242967050/1182775715729526908/1308207632812740700

Does autocompletion work for anyone for material theme styles/colors/etc? i.e. stuff like this:

<... Background="{ThemeResource SurfaceBrush}" />

I haven't had that working in forever now, since like Uno 3
I need to look up the styles and names in uno docs whenever I want to reference something from the material theme
The material stuff just doesn't show in intellisense

the user claims that this used to work in the past, and broke for some reason
he hypothesized that could be when we promoted the main res-dict to a class

@Xiaoy312 Xiaoy312 added the kind/enhancement New feature or request label Nov 18, 2024
@Xiaoy312
Copy link
Contributor Author

SO answer for wpf: https://stackoverflow.com/questions/49779105/xaml-intellisense-doesnt-work-for-referenced-assembly-resources
but we could inspire from this idea, and generate a "shopping list" res-dict that is only used during design-time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant