Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I turn off intellisense for javascript?

Tags:

While editing javascript content VisualStudio is starting to bug me with how it keeps inserting highlighted suggestions. For example it keeps inserting valueOf( if I type val(. This is really annoying.

I want to invoke intellisense manually just like I can with C#, is there any way of turning off the auto-complete suggestion or at least preventing it from selecting an entry for me?

like image 978
Brett Ryan Avatar asked Oct 12 '10 06:10

Brett Ryan


People also ask

How do I disable IntelliSense?

You can enable or disable particular IntelliSense features in the Options dialog box, under Text Editor > C/C++ > Advanced. To configure IntelliSense for single files that aren't part of a project, look for the IntelliSense and browsing for non-project files section.

What is JavaScript IntelliSense?

IntelliSense# Visual Studio Code's JavaScript IntelliSense provides intelligent code completion, parameter info, references search, and many other advanced language features.

How do I turn off VS code suggestions?

Type “editor. hover. enable” into the search field then check/uncheck the checkbox associated with “Controls whether the hover is shown.” to enable/disable the suggestion tooltip on hover.


2 Answers

In Visual Studio Tools > Options > Text Editor > JScript
In corresponding panel as Statement completion
Uncheck Autolist members & Parameter Information

I think that should do the trick

like image 199
Myra Avatar answered Nov 01 '22 17:11

Myra


I realize resharper isn't mentioned in the question, however there is an easy solution if you're using it.

Navigate to Resharper -> Options -> Intellisense -> Completing Character. Once there, add ".val(" to the "Do not complete on" text field beside the JavaScript row.

Like so:

enter image description here

like image 44
Cereal Avatar answered Nov 01 '22 19:11

Cereal