VS 2022 switch statement auto-fill not available - visual-studio

I use Visual Studio Community on a Mac for Unity development and have just updated from 2019 to 2022, all appears well except for switch statements. It used to be when using enums with switch statements I had the option to auto-fill the switch block with a case statement for each enum value but I no longer have the option in VS 2022.
I've tried Googling but not seeing a mention of the issue, any ideas on how to remedy this?
Many thanks

Related

Slow autocomplete in Visual Studio 2019

I recently upgraded to Visual Studio Enterprise 2019 (version 16.0.3) and I have been having serious problems with autocomplete. It is so slow that I type faster than it is able to update, and frequently after I type out a complete and correct language keyword such as foreach the autocomplete drop down won't appear until moments before I press space which in many cases causes the keyword foreach to be corrected to some nonsense without warning.
This hasn't been a problem for me with any other version of Visual Studio going back to Visual Studio 97, and it is driving me nuts. I have no addons installed.
Is anyone else having this problem, and if so, what if anything were you able to do to resolve it?
You should open window defender then add exclusion folder for visual studio 2019.
I also add my folder source code.
Hope this help to who need
Hello I found that checking out this checkbox speeds ups VisualStudio InteliSence a lot...enter image description here
Upgrading to 16.1.4 seems to have resolved the problem.

Getting TypeScript in Visual Studio 2015 to auto-complete on enter and auto-complete paranthesies

I just started using TypeScript, and was using the TypeScript Playground here: https://www.typescriptlang.org/play/index.html
It has decent intellisense, and autocompletes on enter, as well as auto-completes parenthesis and brackets.
However, once I decided to use it in VS 2015, I noticed that enter no longer selects the suggested dropdown, and neither parenthesis nor brackets are auto-added. When programming in C#, these features work out great.
How do I enable this behavior in Visual Studio? I would assume that if it exists on the website, it would definitely exist in a full blown IDE like VS.
Can I enable similar refactoring features to C#, like automatic variable/property renaming across the project if I change a variable name? Using Ctrl-R Ctrl-R to rename a variable doesn't seem to work, it only changes the line I'm on.
Edit:
VS 2015 Update 3
Typescript for VS 2015 v 1.8.6.0
Typescript for VS 2015 v 2.0
Edit2: Upgraded to the TS 2.0 VS plugin. The Automatic Brace Completion checkbox is no longer greyed out, yet enabling it does not seem to have an effect on brace completion.
Edit3: These features are in Visual Studio Code.
TypeScript 2.0.2 RC for Visual Studio 2015 — August 30, 2016 fixed this issue. You can download here.
Click Details to see list of all the versions.
Make sure you have the latest TypeScript VS extension installed.

Cannot See Values While Debugging ASP.NET Core

When debugging an ASP.NET Core application, using Visual Studio 2015, I cannot see the variable, parameters and field values, when, for example, I hover them. I cannot add them to the watch as well. I am running in debug.
We might have found a solution (or at least a workaround) for the problem. If we go into Tools > Options > Debugging and enable Use Managed Compatibility Mode then we can inspect all the values we like.
I hope this solves the issue for you as well.
Update: Visual Studio 2015 Update 2 RC fixed the issue for me, but unfortunately not for the OP.
This behavior happens with 1.0.0-rc1-update1, but not with 1.0.0-rc2-16357.
If possible, upgrade. Microsoft is aware of it.

Visual Studio 2015 IntelliSense not displaying all methods

I recently upgraded to Visual Studio 2015 from 2013 because for some reason 2013 would not work on Windows 10 for me, even after multiple install attempts.
The only issue is IntelliSense is not displaying methods from other forms. For example, when I start typing one of the names of one of my forms, the only thing IntelliSense displays is:
However, the form has dozens of public methods, and the IntelliSense worked fine before in 2013.
Interestingly, I can still call the method if I remember the name by manually typing it, i.e. Form1.TestMethod().
Does anyone know the fix for this? I am using Visual Studio 2015 Update 1.
I have the exact same problem and opened a support incident with Microsoft. They have verified per their answer below, that this is a bug with VS 2015 Update-1. We have a few computers running with just VS 2015(no update 1) that work just fine. I will pass along any further information that I receive from Microsoft.
Response from Microsoft:
"Yes this happens only with Visual Studio 2015 update1. It seems to
be a bug in VS2015 Update1, I am discussing with product team to fix
this issue.
If you just avoid using default instance of forms. Creating a form instance, storing it in a local variable or field, and passing those
references around is easy enough. It's also a much better practice
that will make your code stronger overall.
Dim f As New Form2
f.TextBox1.Text = "Hi"

int number; number.m_value?

Today my Visual studio couldn't help me by auto complete so I thought that the ReSharper trial period had ended .After I suspended ReSharper I see that still no auto complete. After a few changes I see still the same problem and there are some strange behavior in Visual Studio. For example I see m_value field for int. But my other Visual studio instances works as expected. How can I fix this problem?
Probably there is an error somewhere in your code which is causing the types to be determined incorrectly - for example a missing curly brace. Check your code carefully for errors. Make sure that your code compiles correctly.
PS: You don't need ReSharper to get autocompletion. Intellisense is a standard feature of Visual Studio. Even without ReSharper I find the built-in autocompletion extremely usable.
IntelliSense is Microsoft's implementation of autocompletion, best known for its use in the Microsoft Visual Studio integrated development environment.
The file property build action was content and this was reason of those strange behaviours. It is fixed after turned build action to compile.

Resources