Hide suggested text when typing in Visual Studio 2019 - 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.

Related

How to remove the function minimize sidebar in Visual Studio 2019

How can I remove the little sidebar to the left of the code in Visual Studio 2019? I mean the little minus signs that appear next to each function or code block header and, if clicked, minimize that function or code block.
Is there a way to disable these?
The feature is known as "outlining" and enabling/disabling it is language-specific. In all cases, use the "Options" command from the "Tools" menu and then, in the left-hand pane of the displayed pop-up box, open the "Text Editor" node.
For C/C++ files, the option is under the "View" sub-node:
For C# files (and also Basic, F# and Python), it's under "Advanced":
For other languages, it's likely to be in one or other of those places, but I can't guarantee that. In all cases, changes only come into effect on files that are opened after the option is changed.
If you have another specific language for which you can't find this option, just let me know and I'll try to help.

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.

Identifying Views in the Visual Studio Tab List

In MVC you are likely to have many views with the same name (such as Index.cshtml or Edit.aspx) for the various controllers.
Depending on your working style, you might end up with a few tabs open in Visual Studio ending up with a tablist that looks like:
Index.cshtml|Index.cshtml|SomeController.cs|Edit.cshtml|Index.cshtml|Edit.cshtml|
It is possible to hover over the tabs and wait for the context hint to show up, but I was wondering if anyone had a technique or plugin where the correct file could be more easily identified at a glance (i.e. the Index.cshtml for the SomeController)?
There may be an extension in the Visual Studio 2010 Pro Power Tools that will make your life easier. The Document Well 2010 Plus allows you to configure the document tabs.
I think http://www.tabsstudio.com/ may have the behavior you are looking for.
When you install it you should open the 'Tabs Studio Add-in Manager' and check 'Disambiguator'.
When you have different files open with the same name, it will display it's containing folder.
Home/Index.html | About/Index.html

Is there a way to prevent Visual Studio 2010 from locking Controller files?

I need to modify source files while debugging my ASP.NET MVC app. I know about Edit and Continue, but it doesn't really suit me.
Basically all I need is for Visual Studio to stop making controller files "read-only". There is a similar question on SO about this problem, but the solution (unchecking "edit and continue" in Options) doesn't unlock controller files, although it unlocks all others.
I solved this problem. Anytime someone else needs to do this I just share my exported Visual Studio settings with them.
A double check of my setup shows that we have Edit and Continue unchecked in 2 places:
In Tools --> Options (visual studio)
In Web tab of the MVC project properties (last checkbox)
However there may be other settings that make it work.
We definitely do have the ability to edit any C# file (including controllers) while the debugger is attached. However, getting those changes back into the debugger requires a CTRL + SHIFT + F5.

Stand-alone text editor with Visual Studio editor functionality

Is anyone aware of any text editors with Visual Studio editor functionality? Specifically, I'm looking for the following features:
CTRL+C anywhere on the line, no text selected -> the whole line is copied
CTRL+X or SHIFT+DEL anywhere on the line, no text selected -> the whole line cut
Thanks!
Komodo Edit does the two things you specified.
I use it all the time as a secondary editor, for various scripting and other programming tasks. Tons of features, free, open source.
Zeus can emulate the Visual Studio keyboard.
To change the keyboard mapping just use the Options, Editor Option menu and in the Keyboard panel and select the MSVC as the active keyboard mapping.
(source: zeusedit.com)
Notepad++, UltraEdit and TextPad are good ones.
EditPad Pro will cut or copy the line the cursor is on when no text is selected. People sometimes report that as a bug.
Twistpad looks something like Visual Studio 2005/2008 editor and seems has the same key bindings, including Ctrl-X to cut whole line if no text was marked.
Slickedit
Not to steal Chris' thunder for his suggestions on Notepad++, UltraEdit, and TextPad, but I would like to point out that there is a version of UltraEdit which can be run from a thumb drive (for those people who lack Admin rights at work and can not install programs).

Resources