Search Unity

  1. Unity 2018.3 is now released.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. Want more efficiency in your development work? Sign up to receive weekly tech and creative know-how from Unity experts.
    Dismiss Notice
  4. Build games and experiences that can load instantly and without install. Explore the Project Tiny Preview today!
    Dismiss Notice
  5. Nominations have been announced for this years Unity Awards. Celebrate the wonderful projects made by your peers this year and get voting! Vote here!
    Dismiss Notice
  6. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  7. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

Linux IDE going forward?

Discussion in 'Linux Editor' started by qrikko, Dec 6, 2018.

  1. qrikko

    qrikko

    Joined:
    Mar 2, 2014
    Posts:
    5
    Hi,

    It's been a while since 2018.1 release where the bundled Monodevelop were removed from the releases. This was a pain to Linux users but I believe Unity has made it pretty clear that it weren't an option to keep it.

    However there isn't really any alternative for Linux users, today I use Sublime for script editing but that is hardly a substitute for Monodevelop.

    So the question is what the plan is going forward? Is there a plan to have an IDE (like monodevelop) for the Linux editor, can I find it on any road map in that case? And lastly is there any options today for Unity's Linux users to edit and debug code?

    Thankful for help clearing out these questions!
     
  2. orb

    orb

    Joined:
    Nov 24, 2010
    Posts:
    2,959
    Visual Studio Code.
     
    qrikko likes this.
  3. qrikko

    qrikko

    Joined:
    Mar 2, 2014
    Posts:
    5
    Thank you, I will give that a try. I didn't know about it, I am not much of a Windows user and have searched for an answer to this question on google for a good while! So I guess I am not much of a Google user either -_-

    But thanks, hopefully this will satisfy my needs!
     
  4. qrikko

    qrikko

    Joined:
    Mar 2, 2014
    Posts:
    5
    This solution works very well for me I am happy to say! Again thanks to @orb I wanted to (just for completion) put down in steps what I needed to do to get up and running with VS Code, with code completion, debugging and pretty much all I need.

    1. Install:
    https://code.visualstudio.com/docs/setup/linux

    2. change:
    Unity->preferences->External tools: /usr/bin/code

    3. Follow the installation part (corresponding to your distribution):
    https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial

    4. In unity (do it this way so you are sure the .sln is generated if it werent):
    Assets -> Open C# Project

    ---- In Visual Studio Code
    For me I got a popup saying: The 'C#' extension is recommended for this file type. Install that or find it under Extensions (Ctrl+Shift+X) and install it.

    Search for Unity in Extensions (Ctrl+Shift+X) and install Debugger for Unity, go to the debug button (left side) and make sure the Debug target is set to "Unity Editor".

    That's all there was to it.
     
    orb likes this.
  5. orb

    orb

    Joined:
    Nov 24, 2010
    Posts:
    2,959
    Glad you got it working. Note that it probably wants to download some tools, so watch its console output if it downloads all of that stuff. I think you can expect that to happen every time the extension for C# updates.
     
  6. senkal_

    senkal_

    Joined:
    May 22, 2018
    Posts:
    6
    I know it is not a free tool but I use JetBrains Rider. I use few editors from JetBrains so it is really beneficial that there is c#/Unity IDE I can use from JB.
    I mostly like all inspections available and refactor tools in Rider.
    Configuration is basically almost automatic, no need to manually change any preferences in Unity.