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

Autocomplete for @bind- will create @bind-bind-Value #11494

Open
MarvinKlein1508 opened this issue Feb 14, 2025 · 4 comments
Open

Autocomplete for @bind- will create @bind-bind-Value #11494

MarvinKlein1508 opened this issue Feb 14, 2025 · 4 comments

Comments

@MarvinKlein1508
Copy link

When you type @bind- and then select @bind-Value in the dropdown. VS will insert @bind-bind-Value instead of @bind-Value.

Please see this video for details:

2025-02-14.10-43-52.mp4
@davidwengier
Copy link
Member

I think this is #5692

@MarvinKlein1508
Copy link
Author

Hi @davidwengier I know this issue has been existing in the past since I've reported it a few years ago via VS Feedback. It got fixed I think in 2022 but now it is reoccuring.

If I remember correctly it was only broken for razor components back then.

@davidwengier
Copy link
Member

@MarvinKlein1508 please don't take my noting of duplicate issues as any kind of sign that this doesn't need to be logged. On the contrary, I mention it, without closing the issue, so that it comes up at our regular triage meetings and we can take the opportunity to (possibly) readjust priority of issues. We have a lot of issues, and some of them are very old, but if we never hear anything about them, its easy to think that its a rare occurance.

I love all of the issues you've been logging tonight, and really appreciate the effort and the quality of the feedback. Hopefully we can repay the favour with some fixes :)

@MarvinKlein1508
Copy link
Author

MarvinKlein1508 commented Feb 14, 2025

@davidwengier don't worry. I'm not mad in any way. I just haven't found this old issue :) I've tried to explain to you what happend in the past to give you more context. I'm praying and appreciating for any improvements to the razor editor since .NET 5.

I started working with Blazor Server back in .NET 3.1. the old editor barely had any features and was slow as hell. It will only take a couple more years to finally have a good and reliable editor. I can't even tell you how often I need to restart VS because the razor editor just crashes and give no more feedback at all.

I try to use just the razor files from time to time but I always get back to code behind files because they are still much easier to work with.

Thanks for all your effort in improving the editor for all of us! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants