Search Unity

  1. We are migrating the Unity Forums to Unity Discussions by the end of July. Read our announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

Question Visual Studio Autocorrect wont work

Discussion in 'Code Editors & IDEs' started by minecraftkitch, Jul 19, 2023.

  1. minecraftkitch

    minecraftkitch

    Joined:
    Jul 19, 2023
    Posts:
    1
    I have a few extensions installed that allows me to use snippets for Unity, however all of the basic autocorrect wont work, for example if I wanted to write "Input.GetAxis()" it wont start autocorrecting any of it as I'm typing, as shown below. I have it set up in External Tools on the preference page in unity, so I am wondering if I have done anything wrong.
    image_2023-07-19_154419301.png image_2023-07-19_154436956.png
     
  2. Brathnann

    Brathnann

    Joined:
    Aug 12, 2014
    Posts:
    7,196
    You're actually using VS code and not just normal VS. Just in case anybody else reads this, that is important to know.

    I'm not familiar with VS code, but sounds like maybe intellisense is not working. Double check under package manager that you also have the VS code editor package installed.

    Unfortunately, that's probably all I can think of at the moment.
     
    Bunny83 likes this.
  3. Bunny83

    Bunny83

    Joined:
    Oct 18, 2010
    Posts:
    4,216
    Here's the setup guide of VS code. The guide also mentioned that you should install yhte VS code package in Unity. Have you actually done that? I don't use VS code with Unity. I use the actual Visual Studio.
     
  4. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    21,750
    Unity has deprecated official support for Visual Studio Code starting with Unity 2023.1. If you're on that release or a newer one you'll need to download and install the community package. Or choose a different IDE.

    https://github.com/Chizaruu/com.tsk.ide.vscode