Visual Studio 2022 (or earlier) disable autocomplete after typing a dot (.) - editor

How can I disable, that after typing a dot (.) Visual Studio will automatically print FileStyleUriParser?
Don't get me wrong, I want the suggestions, but I don't want Visual Studio to automatically replace with the first suggestion in the list, because this is annoying and does not make any sense at all.

Unfortunately, with Visual Studio Professional 2022 this is not possible. You can either have suggestions, or have auto-replace disabled, but you can't have both.
One option is to downgrade to Visual Studio 2019 or upgrade to another IDE such as Rider.

"For your requirement, you can try to use the option to change the IntelliSense completion mode: Edit > IntelliSense > Switch between automatic and tab-only IntelliSense completion or shortcut: Ctrl+Alt+Space.
Or you can also set the IntelliSense completion mode to Tab-only: Tools > Options > Text Editor > Advanced > Default IntelliSense completion mode: > select Tab-only in the dropdown."
Taken from AnnaXiu's answer

Related

Change syntax highlight for Javascript in visual studio 2019

Can you customise colors of javascript editor in visual studio 2019 to have the same has in vscode, I already look into the police and fonts editor of vs2019 + extensions for more User Tags but none of them change the colors settings.
What I want
What I have
I having same problem, Javascript sytnax color in Visual Studio 2019 seems broken for now:
https://developercommunity.visualstudio.com/content/problem/1127320/lost-typescript-intellisense-and-sytnax-coloring-i.html
The only solution for me is using VSCode..
VS ReShaper extension supports VSCode-like syntax highlighting:
https://www.jetbrains.com/help/resharper/Coding_Assistance__Syntax_Highlighting.html
Example: https://i.imgur.com/Atw4yBP.png
The only caveat being ReShaper is not free and causes lag. However, there are many extensions claiming to replace (parts of) ReShaper and chances are one of these also enables similar syntax highlighting.

What’s “tabs are not allowed in f# code unless the #indent off option is used” Error?

what’s “tabs are not allowed in f# code unless the #indent off option is used” Error?
I use the last version .netcore and vs 2019. I want to use the lightweight syntax
When using lightweight syntax, you must use spaces, not tabs, for indentation.
Most editors have an option (including Visual Studio, by default) will turn a tab into spaces automatically when you type. I suspect this was written in a different editor and opened in VS.
In Visual Studio 2019, if you select everything in your document, and do Edit->Advanced->Untabify Selected Lines, it will correct it for you, as well.

How do I make the Visual Studio 2019 Output window "visible by default" on start again?

Some time ago, Visual Studio 2019 told me that the "Output" window caused a Visual Studio start-up delay of X seconds and offered me to hide the window on start.
I accepted that offer, and now, after some time, I discovered that having to re-pin the Output window once per Visual Studio session is super-annoying, and that I would like things back the way they were before.
I browsed through the Visual Studio options (specifically Environment/Startup and Environment/"Tabs and Windows"), but I did not find an option to undo that change. What did I miss?
I know that I could reset Visual Studio to default settings, but I want to avoid that, because then I'd lose all my custom settings. (No bounty will be awarded for suggesting this, unless the answer also proves that there is no other option.)
I also know that I could pin the output window and then "save" the layout as a custom layout. I don't want that, I want to modify the "default" layout loaded on start.
(Rubber-duck debugging at its best: 5 minutes after starting a bounty I find the solution myself. Go figure!)
In the Visual Studio menu, go to Help/Visual Studio Performance Manager, which brings up this helpful dialog:
Setting this option back to "Use default behavior" fixes the issue.

Hide suggested text when typing in Visual Studio 2019

Does anyone know how to turn off this annoying popup in Visual Studio Community 2019?
All the answers I see for it are for Visual Studio Code when I google it, which says to change it under the "File" > "Preferences" menu. Visual Studio 2019 doesn't have that menu. I just want to code without visual obstructions from my editor. Driving me nuts. Thank you!
The language is VB in ASP Classic environment.
I have turned off everything I could find that seems like it could be related to a popup under the "Options" menu, but many of the descriptions there are obscure. You could seriously make a full time job out of learning what all this stuff means.
I found an answer, however odd it may be. With #JackArbiter's help in narrowing down the possibilities, it turned out to be the file type within the environment that was the issue. I didn't realize at first that it was only a certain file extension that was creating the issue. The *.asp files behaved appropriately, but the *.inc files were the problem.
I went to "Options" > "Text Editor" > "File Extension" and added the "inc" file extension there with the editor set to Visual Basic. These files now behave the same as the asp files.
Go to Tools>Options>Text Editor>[Your markup or language] and you can adjust the intellisense settings. In your case there will be no intellisense settings listed (general HTML is what I assume to be the issue here, though you'll have to do this again probably for the language of the IF/Else code blocks) so go to HTML>General and uncheck "Auto list members" at the top.

How to enable word wrap in Visual Studio for Mac?

I found a lot of examples and methods to word wrap in Visual Studio Code but not for VS for Mac. Currently, I'm using the Enterprise edition with the latest updates.
As of VS Mac 8.1, Word Wrap is available via Visual Studio -> Preferences -> Text Editor -> General. You should see a checkbox option for Word wrap.
8.1 Release Notes:
https://learn.microsoft.com/en-us/visualstudio/releasenotes/vs2019-mac-relnotes-v8.1
Thanks to Matt Ward for let me know that this isn't implemented yet, but I managed to play around with the preferences. It's not perfect as VS for Windows, but it's close enough.
(Sorry that the VS for Mac is in spanish)
1) I made a few modifications in text files: 120 columns and remove the whitespaces at the end of the line.
2) Since I'm using a Macbook pro mid 2012 my screen resolution it's limited to 1280x80, so in XML files I set only 3 attributes per line, adjust the attributes and align the attributes.
3) I made modifications in C# but was only to set the system's using at the end of the block.
4) Finally, I made a keyboard shortcut for "Format the document"
Before format
After format

Resources