Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to cancel autocomplete in Visual Studio 2015 by pressing "Space"?

How to cancel autocomplete in Visual Studio 2015 by pressing "Space"?

Looks like there is no such option.

When I see intellisense auto-complete list and press "Space" VS automatically print highlighted item. I want cancel it. VS 2013 doesn't behave itself like that.

Plus when I press "{" VS 2015 automatically print right "}" I would cancel it too.

Language c#.

If you want fix it vote for https://visualstudio.uservoice.com/forums/121579-visual-studio-2015/suggestions/9319764-visual-studio-2015-cancel-intellisense-autocomple

like image 496
thedriveee Avatar asked Jul 22 '15 17:07

thedriveee


People also ask

How do I stop Vscode autocomplete?

By default, VS Code shows snippets and completion proposals in one widget. You can control the behavior with the editor. snippetSuggestions setting. To remove snippets from the suggestions widget, set the value to "none" .

How do I turn on autocomplete in Visual Studio?

The suggestion list of Basic completion appears when you press the default Visual Studio IntelliSense shortcut Ctrl+Space . If necessary, you can always return to the Visual Studio's native's IntelliSense. To do so, select Visual Studio on the Environment | IntelliSense | General page of ReSharper options ( Alt+R, O ).


2 Answers

To disable autocomplete you can use:

Edit->IntelliSense->Toggle Completion Mode(Ctrl+Alt+Space)

This will also disable it for all characters. This suits me but may not be exactly what you are looking for, VS2013 allowed you to select which characters and specifically Space I'm not sure why this was removed.

To Disable brace completion:

Tools->Options->Text Editor->C#->General->Automatic Brace Completion

like image 122
Scott Logan Avatar answered Sep 21 '22 12:09

Scott Logan


The Escape key will cancel intellisense and allow you to continue typing anything you want without interferences. Just tried it on VS2013 to confirm.

As to the "{" being closed with a "}", this is usually caused by an extension such as Resharper, MS PowerTools, or similar.

like image 44
Martin Noreke Avatar answered Sep 25 '22 12:09

Martin Noreke