Skip to content

Open In Xcode - #7150

Closed
msztech wants to merge 3 commits into
desktop:developmentfrom
msztech:development
Closed

msztech wants to merge 3 commits into
desktop:developmentfrom
msztech:development

Conversation

@msztech

@msztech msztech commented Mar 24, 2019

Copy link
Copy Markdown
Contributor

Overview

Addressing issue #4825 to allow open in Xcode for the current repository using a command line open -a Xcode .

Description

  • Added the menu item for open in Xcode, which will only be enabled when running on Mac OS Darwin system.
  • Added the function to trigger Xcode on the repository directory by using a command line

Release notes

[New] Open the repository Xcode project in Xcode on Mac OS.

Notes:

The Xcode will display the error message "Could not open file (/path)" if opened on a folder that doesn't contain any Xcode project files. Will think about the solutions for this issue and continue PR.

@msztech

msztech commented Mar 24, 2019 •

Copy link
Copy Markdown
Contributor Author

Multiple lint failures. Will fix the errors today and push to this PR.

@shiftkey shiftkey added the integrations Issues related to editor and shell integrations that ship in Desktop label Mar 28, 2019
@niik

niik commented Apr 12, 2019

Copy link
Copy Markdown
Member

Hi @msztech, thanks for opening this!

It looks like this is taking a different approach to adding an editor than what we normally do. In particular this adds a specific menu item for launching Xcode rather than participating in our external editor support meaning that you won't be able to select Xcode as your default editor in Desktop and always have files be opened in it.

We'd love it if you could take a look at our documentation for adding external editors and see if you can find a way to integrate your proposal with that.

@msztech

msztech commented Apr 12, 2019

Copy link
Copy Markdown
Contributor Author

Sure. I’ll take a look at the guide. Thanks! @niik

@msztech msztech mentioned this pull request Apr 20, 2019
@msztech

msztech commented Apr 20, 2019

Copy link
Copy Markdown
Contributor Author

@niik Opened a new PR. Closing this one.

@msztech msztech closed this Apr 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

integrations Issues related to editor and shell integrations that ship in Desktop

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants