Search Unity

Question Selecting code editor on Unity 2020.3 in Ubuntu Linux

Discussion in 'Getting Started' started by RichAllen2023, Mar 17, 2022.

  1. RichAllen2023

    RichAllen2023

    Joined:
    Jul 19, 2016
    Posts:
    1,026
    Above.

    At the moment I'm writing code in Visual Studio code, and as evident from a topic on here towards the end of last week, I'm writing the code out wrong with typos and syntax errors.

    Anyway, would there be a way to associate VS Code with Unity as the default editor in Unity 2020.3 under Ubuntu, a supported Linux distro?
     
  2. jbnlwilliams1

    jbnlwilliams1

    Joined:
    May 21, 2019
    Posts:
    267
    In Unity, Click Edit/Preferences/External Tools. Next to External Script Editor, Drop down the selection box, Click Browse, then browse to the .exe you use to run Visual Studio Code.

    if Visual Studio Code shows up in the drop down, just select and skip the browse part.


    upload_2022-3-18_7-49-5.png
     
    RichAllen2023 likes this.
  3. RichAllen2023

    RichAllen2023

    Joined:
    Jul 19, 2016
    Posts:
    1,026
    Screenshot from 2022-03-19 17-41-08.png

    This is what shows up in my edit/preferences page.

    No option to set the script editor :(
     
  4. jbnlwilliams1

    jbnlwilliams1

    Joined:
    May 21, 2019
    Posts:
    267
    Did you try scrolling the window upward, there appears to be more options at the top.
     
  5. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    @RichAllen2021 Please keep in mind that this association won't help with the typos you experienced in the other thread.
     
  6. RichAllen2023

    RichAllen2023

    Joined:
    Jul 19, 2016
    Posts:
    1,026
    I'll try and sort that this week.