-
-
Notifications
You must be signed in to change notification settings - Fork 478
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 doesn't work correctly with Faker #54
Comments
Hi @levipage, Well, that's hella-annoying. Can you please file a connect bug with the people at Microsoft? Be sure to have them checkout I suspect what's happening is Visual Studio can't figure out the type information yet when it's confronted with:
Sooo, soon as you type Who knows. I'm using Resharper's IntelliSense and Resharper does not have this problem. So it's most definitely Visual Studio. I seem to have an API work around: Simply defining a dummy API call with only one
Releasing shortly. Thanks for bringing this to my attention and please don't forget to file this on Microsoft Connect. https://connect.microsoft.com/visualstudio Thanks, 💨 🚶 "Bubbles of gas in my brain... Send me off balance, it's not enough" |
@levipage , can you please give Please feel free to re-open the issue if the problem persists. Thanks, |
Awesome support man. Impressive also that you were even able to make a workaround for the issue. It is working now! |
why is this still not working? 2017? Why do I have to install some extra for VS Code to work? |
Bogus is on version thirty something, do i just download the latest and restart VS Code? |
Not sure if this a bug with Visual Studio or just something odd about how the library was setup. I have actually worked with Fluent Validation before and wrote something similar to it but have never seen this issue. It uses the same mechanics of multiple expressions.
If I start typing this...
.RuleFor(o => o.
It won't provide any intellisense for the member properties
Yet, if I type a comma after the 'o.' it will start showing member properties. The comma has to be there for it to work.
So... .RuleFor(o => o.,
After typing the comma, I can go back and hit the dot again to start seeing intellisense. My intellisense works fine with everything else. I have tried exiting Visual Studio, etc. It seems to not like something specific about this library.
The text was updated successfully, but these errors were encountered: