-
Notifications
You must be signed in to change notification settings - Fork 783
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
IntelliSense is broken for the Xamarin.Android template (Type provider problem) #10837
Comments
labeling external for now since the template isn't owned in this repository. |
@cartermp One type breaking the entire IntelliSense is undesirable and certainly should be fixed. |
@cartermp How can this be resolved? Where are the templates owned? |
I don't know. I would start here though: xamarin/Xamarin.Android.FSharp.ResourceProvider#9 It appears the type provider has further issues and so merely finding the right things and updating them won't fix things. |
@cartermp But surely the F# IntelliSense can be modified such that one faulty type provider will not ruin the whole IntelliSense suggestions list? Maybe just that faulty type can have an accompanying error icon, but other classes should still be shown. |
Maybe, but type providers are "special" in several ways. @dsyme could dive into more |
Impact low? |
dotnet/android#6404 It is all interlinked ^ and Android F# app builds are broken as of right now. Looks like been this way for months actually. |
Created a replacement for |
I'm going to close this as our recommendation is to use the replacement above |
Hey Don, if this is a solution blessed by MS, shouldn't it live in a different org? I mean, it is now in "fabulousfx", which is hard to find, and would make people think is only for the Fabulous framework. |
@TimLariviere Should we move fsprojects/Fabulous into fabulousfx? |
@dsyme Yes, this would be great. I'm planning to extract non-"core" stuff into other repositories, so having everything in a separate org would be a good idea. |
IntelliSense is broken for the Xamarin.Android template.
Repro steps
Provide the steps required to reproduce the problem:
override this.OnCreate (bundle) =
, press Control+Space.Resource
intype Resources = <Project name>.Resource
.If possible attach a zip file with the repro case. This often makes it easier for others to reproduce.
The zip file should ideally represent the situation just before the call/step that is problematic.
AndroidIntellisense.zip
Expected behavior
IntelliSense should work just like before building the project.
Actual behavior
IntelliSense is broken and unusable.
Known workarounds
IntelliSense still works after dots, provided that
<Project name>.Resource
is not included in the resulting list.Related information
The text was updated successfully, but these errors were encountered: