Skip to content

Add Xcode to list of supported 'open in' editors #4825

Closed

Description

@stevemoser

Is your feature request related to a problem? Please describe.
It takes too many clicks to open a project in Xcode after cloning it in GitHub Desktop

Describe the solution you'd like
Right click a repo to see an option to open in Xcode

Describe alternatives you've considered
Open in finder then open the project file.

Teachability, Documentation, Adoption, Migration Strategy
Just like they use the option to open a repo in vs code or atom.

It seems that there might be a current limitation in that Xcode requires a project file to open and current editor options will open any folder.

Related: #2039

Activity

  1. shiftkey commented on May 30, 2018

    @shiftkey
    Member

    It seems that there might be a current limitation in that Xcode requires a project file to open and current editor options will open any folder.

    The supported editors all use the command line interfaces provided to launch them by passing the path to the current repository. if XCode does have support for working in this way, it sounds like an ideal contribution to sit alongside the other editors.

    Is this something you're able to investigate?

  2. added
    help wanted
    on May 31, 2018
  3. stevemoser commented on May 31, 2018

    @stevemoser
    Author

    I'm not sure how to handle the logic of looking for the right project file to open. The simplest answer is open *.xcodeproj but it doesn't cover every case of course.

  4. shiftkey commented on Jun 15, 2018

    @shiftkey
    Member

    I'm not sure how to handle the logic of looking for the right project file to open. The simplest answer is open *.xcodeproj but it doesn't cover every case of course.

    Being able to open a specific file in a given editor (because it acts as an entry point to organize the source code) is beyond the scope of what's currently supported in Desktop. Visual Studio has a similar constraint, using .sln files to manage a repository containing multiple project files.

  5. stevemoser commented on Jul 3, 2018

    @stevemoser
    Author
  6. added
    integrations
    and removed on Jul 3, 2018
  7. msztech commented on Feb 4, 2019

    @msztech
    Contributor

    @shiftkey Mind if I work on this?

  8. shiftkey commented on Feb 4, 2019

    @shiftkey
    Member

    @msztech not at all. Feel free to ask questions in here if things are unclear or if you encounter interesting issues.

  9. msztech commented on Feb 4, 2019

    @msztech
    Contributor

    Sounds great! Thanks! Will PR soon! @shiftkey

  10. msztech commented on Feb 13, 2019

    @msztech
    Contributor

    I have already completed the implementation of this feature, but have encountered a small issue.

    Xcode shows an error message if the path doesn't contain a Xcode project, and will show up the error message

    Could not open file (/path)

    Should I check if the folder contains a Xcode project when rendering UI? (So hide the option to open in Xcode if there's no project files) Or maybe I can search for commands that capture that error or check if a specific application can open a path so we can try to present a customized dialog.

    @shiftkey

  11. msztech commented on Mar 24, 2019

    @msztech
    Contributor

    @shiftkey Pull requested ;) Please help me review the changes.

  12. msztech commented on Apr 20, 2019

    @msztech
    Contributor

    Revised version pull requested. (Set Xcode as a default editor)

  13. msztech commented on Sep 3, 2019

    @msztech
    Contributor

    Will submit a new PR this week with ideas described in this PR thread

  14. sportshead commented on Feb 29, 2020

    @sportshead

    @shiftkey This issue should be closed

  15. Calorion commented on Nov 13, 2020

    @Calorion

    I have already completed the implementation of this feature, but have encountered a small issue.

    Xcode shows an error message if the path doesn't contain a Xcode project, and will show up the error message

    Could not open file (/path)

    Should I check if the folder contains a Xcode project when rendering UI? (So hide the option to open in Xcode if there's no project files) Or maybe I can search for commands that capture that error or check if a specific application can open a path so we can try to present a customized dialog.

    Ideally it would offer to create an Xcode project. If that's not possible, checking to see if the path includes an Xcode project and throwing an error if it doesn't would be better than the current behavior, which is somewhat confusing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

help wantedintegrations

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions