Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

How do I disable partial line code suggestions in Visual Studio Code?

I have the C# and C# Dev Kit extensions installed in Visual Studio Code. Sometimes the editor will suggest code to complete a line or portion of a line, such as this example in the orange box:

VSCode editor is suggesting code to complete a method call I am writing

How do I disable this functionality in Visual Studio Code?

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

You can disable inline suggestions from IntelliCode:

  1. Go to File > Preferences > Settings.
  2. Search for IntelliCode and find the settings labeled Editor: Inline Suggestions.
  3. Uncheck Editor:Inline Suggestions to disable it.

Some C# extensions, like the C# Dev Kit, might also have settings for IntelliSense or AI-based suggestions

  1. Go to Settings and search for C# Dev Kit or just C#.
  2. Look for any settings that control IntelliSense or AI-based suggestions, and adjust them as needed.
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading