-
Notifications
You must be signed in to change notification settings - Fork 33
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
Comments
SO answer for wpf: https://stackoverflow.com/questions/49779105/xaml-intellisense-doesnt-work-for-referenced-assembly-resources |
@MartinZikmund I think I seen (and commented) from you to the resourceDictionary xaml thing mentioned similar here, but I can not find yours again. Could you check if that both could/should be joined? Since I did strangly got the intellisense working for this in a past project (not working anymore to my disapointment) and did some research to that also: I am not familiar with uno repo structure, so could you or someone else from the team maybe check that point for source of the ResourceKey intellisense missing? Microsoft docs told, that it can be its only guiding to the first dict we introduce in app.xaml but then it should at least show anything more than "ResourceKey=". If that might be the source, that uno projects are not using the And if you find the issue of you existing to that, would be nice to have both if possible merged because it could have same root issue. Thanks! |
So.... I checked some things and even if I dont know where this would have to be canged, to enable the intellisense to look this up for non windows targets, but! the package, that is providing the intellisense in that project mentioned (recognized I uploaded it and was on the go to delete it because this one is having other dump issues which would make me step on to new project instead) Can we somehow get a similar link/setup for reference replacement in case of non windows target, that would provide the link for the intellisense to the maybe existing uno resourceDictionary or replace the link we set up in the app.xaml MergedDictionarys XamlControlsLibrary? The Package successfully providing the intellisense for the ThemeResource for example me is C:\Users\TKSSonja.nuget\packages\microsoft.windowsappsdk\1.6.241114003\lib\net6.0-windows10.0.18362.0\Microsoft.WinUI\Themes\generic.xaml Do you see any option to hint the intellisense in your uno projects which are not targeting windows? like... if only desktop we could kind of replace a bit of that namespace or do some uno platform specific # things I did not learn till now... would be great to have that intellisense available for everyone using uno :) just for the clone and see the setup: https://github.com/DevTKSS/UnoHotDesignApp1 I do know that Project has really performance issue, its the one that having also the gridView-FeedView Drag Drop issue, i would link in the correct issue already known for this, just linking here so you can compare. |
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
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
The text was updated successfully, but these errors were encountered: