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.

Access configured External Tools in code

Discussion in 'Editor & General Support' started by VacuumBreather, Sep 2, 2021.

  1. VacuumBreather

    VacuumBreather

    Joined:
    Oct 30, 2013
    Posts:
    68
    Is there a way to access in code what external tool (which code editor, VS, Rider, VS Code etc) has been configured by the user?

    I have not been able to find any information on this anywhere. I'd also love to know if there was some kind of API to trigger whatever Unity is doing when I select Assets/Open C# project. I'd like to achive exactly the same thing except I want to load a different solution file. But I want to use the same configured editor and I also don't want to open a new instance if that editor already has an instance with that solution open.

    Before I re-implement this from scratch I'd love to know if there's any way to access this or, as my initial question was, at least find out what editor the user has set in the preferences.