Search Unity

Visual Studio Code: For-snippets, if-snippets etc

Discussion in 'Editor & General Support' started by Theformand, Feb 2, 2016.

  1. Theformand

    Theformand

    Joined:
    Jan 2, 2010
    Posts:
    271
    Hey all.

    I'm having this annoying issue with for, if, switch etc in VS Code. A colleague does not have this issue. I'm not sure why its going on.

    Usually in Visual Studio, I would type "for-TAB-TAB" to insert a for loop snippet. However, in VS Code the code completion dialog has "for" properties that it choses first. Which means I have to go down a long list of suggestions and THEN tab-tab to insert to correct snippet. It's infuriating, and I cant seem to find out why.

    Heres a screencap of what this looks like:



    Does anyone else share this issue? Like I said, my colleague has no such thing. I'm really unsure what the difference is between his and my setup. Its pretty vanilla, except for the color theme, the Unity Debugger extension, and the VSCode Unity integration package from the Asset store (which we both have).

    I'd really appreciate your help on this. We are both on Windows, btw.