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 not working when overriding methods #6076

Closed
Matty86 opened this issue Aug 9, 2023 · 10 comments
Closed

Autocomplete not working when overriding methods #6076

Matty86 opened this issue Aug 9, 2023 · 10 comments

Comments

@Matty86
Copy link

Matty86 commented Aug 9, 2023

Steps to reproduce

  1. Create a class with a virtual method
  2. Create another class the inherits from the first class
  3. try typing "override " and press ctrl+space to bring up autocomplete, then press enter to override the method.

Expected behavior

It should automatically create a method override, like:

public override void Boo()
{
base.Boo();
}

Actual behavior

Pressing enter just closes the autocomplete, see this gif: https://media.giphy.com/media/v1.Y2lkPTc5MGI3NjExMnI0ZTEwMWlkM3d5Zmtoazc4Nm1rYnJkYXl5emNiMDZ0czJ5NzZtcCZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/3frOGK6gewcLw6sqoA/giphy.gif

Additional context

Started after the last update to the c# extension, it works fine if I disable the c# dev kit and change the settings to "Use Omnisharp"

@dibarbet
Copy link
Member

dibarbet commented Aug 9, 2023

Duplicate of #6011

@dibarbet dibarbet marked this as a duplicate of #6076 Aug 9, 2023
@dibarbet dibarbet closed this as not planned Won't fix, can't repro, duplicate, stale Aug 9, 2023
@KCFindstr
Copy link
Contributor

how could you mark an issue as duplicate of itself?

@Nickelvad
Copy link

Having this issue with latest vscode. Why it's closed as duplicate and pointing to self?

@C-Wal
Copy link

C-Wal commented Sep 8, 2023

This is a big pain and breaks coding flow. Please re-open. You have marked this as a duplicate of itself. It's a real problem. @dibarbet

@EnriqueWR
Copy link

Duplicate of #6076

This is #6076, and it is still broken lol

@FairplexVR
Copy link

Duplicate of #6076

Reopen please, You duplicated on the wrong ticket and the issue exists since the August 3, #6011

@chammer97
Copy link

chammer97 commented Sep 16, 2023

@dibarbet You marked this as a duplicate of itself. This is a big problem for workflow. Please re-open!

@starball5
Copy link

Maybe this was meant to be closed as a dup of #5801?

Related on Stack Overflow: C# suggestions are replacing subsequent text in VS Code. Why?

@EnriqueWR
Copy link

Maybe this was meant to be closed as a dup of #5801?

Related on Stack Overflow: C# suggestions are replacing subsequent text in VS Code. Why?

These are quite different, #5801 is auto complete trampling text, this one is auto complete simply not adding the snippet.

#5801 is fixed already too, thankfully, it used to drive me crazy!

@dibarbet dibarbet marked this as a duplicate of #6011 Sep 19, 2023
@dibarbet
Copy link
Member

#6011 is the main issue. We have various fixes merged that will be in the next release (hopefully this week).

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

9 participants