Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Intellisense not working

Tags:

I am opening files from a server ASP.net and the VB codebehind files, and my visual studio is not working correctly, Intellisense is dead and if i right click the "Go to defenition" option is disabled. These files are not part of a solution.

This is strange though because it was working properly yesterday. If I create a new project the intellisense works great, yet opening this single file it fails.

I have tried to re enable intellisense by resetting visual studio, I tried editing the text editor settings so that Auto list members and Parameter information are both checked. I even tried installing ReSharper and nothing worked. I have rebooted twice and even tried copying the file to a local drive to work on yet nothing.

Does anyone know why this is happening and what I could do to solve the problem? Im working on a rather complex problem and intellisense would make it a lot easier.

like image 323
Purplegoldfish Avatar asked Dec 15 '11 10:12

Purplegoldfish


People also ask

How do I enable IntelliSense?

You can enable or disable particular IntelliSense features in the Options dialog box, under Text Editor > C/C++ > Advanced.

How do I reset IntelliSense?

Tools->Import and Export settings->Reset all settings.

What is IntelliSense How does it work?

IntelliSense is a code completion tool that is built into Microsoft Visual Studio. It is one of a number of similar tools that allow for intelligent code completion or intelligent text completion on different platforms.

How do I enable IntelliSense in Visual Studio 2019?

Note: We have several Preview features which are off by default and can be enabled through the Tools > Options > IntelliCode page.


1 Answers

I managed to fix this problem which manifested itself after my ReSharper trial expired.

Steps to fix are:

  • Tools/Import and Export Settings
  • Reset all settings
  • Back up your config
  • Select your environment settings and finish

Intellisense started working again straight away.

like image 113
Nick Avatar answered Sep 23 '22 04:09

Nick