Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Showcase Sublime Text 4 support as a Package

Discussion in 'Code Editors & IDEs' started by SarperS, Nov 8, 2022.

  1. SarperS

    SarperS

    Joined:
    Mar 10, 2009
    Posts:
    823
    I've developed a package for Unity that adds support for Sublime Text 4 as a code editor. It works exactly like it's VSCode counterpart. Check out the git repo for all the details. May not work correctly on macOS atm, I'll fix it when I have the time to test it on the platform itself.

    https://github.com/ssoher/com.sarpersoher.ide.sublimetext
     
  2. SarperS

    SarperS

    Joined:
    Mar 10, 2009
    Posts:
    823
    Fixed the macOS issues.
     
  3. Kaboom

    Kaboom

    Joined:
    Mar 16, 2014
    Posts:
    32
    Cool! Does this also support Linux? I've installed the package and selected /opt/sublime-text/sublime-text as the executable, but nothing happens.

    Edit: I see SublimeTextDiscovery.cs does not look for that path, but if I copy /usr/bin/subl to /usr/bin/sublime_text and select that, still nothing.
     
  4. Kaboom

    Kaboom

    Joined:
    Mar 16, 2014
    Posts:
    32
    Ah, it also needs the name of the executable. I'll create an issue in the github repo.
     
  5. SarperS

    SarperS

    Joined:
    Mar 10, 2009
    Posts:
    823
    @Kaboom thanks for your contribution, enjoy!
     
    Kaboom likes this.