Fork me on GitHub

Alex Rupérez

Link: http://j.mp/2TsEDaK
Published: 04 Jan 09:12
I starred onmyway133/XcodeWay at GitHub.
:sailboat: An Xcode Source Editor Extension that helps navigating to many places easier
View on GitHub


View README


XcodeWay

Description

  • An Xcode Source Editor Extension that helps navigating to many places easier
  • Available via Editor -> XcodeWay

Features

  • Go To Project Folder: Open the selected Xcode project folder in Finder
  • Go To iTerm: Open the selected Xcode project folder in iTerm
  • Go To DerivedData Folder: Check and open relative DerivedData if any, otherwise open global DerivedData
  • Open GitHub: Check and open git remote in your default browser
  • Open Current File in Github: Open the current file in GitHub
  • Go To Provisioning Profiles Folder: Open in Finder
  • Go To Themes Folder: Open in Finder
  • Go To Archives Folder: Open in Finder
  • Go To DeviceSupport Folder: Open in Finder
  • Go To CodeSnippets Folder: Open in Finder
  • Go To Document Folder: Go to current app Document folder for current simulator

Extensible

Although all common scenarios are covered, there's some more that you want to navigate to. Then just add your own by conforming to Navigator. Pull requests are welcome.

protocol Navigator {
  func navigate()
  var title: String { get }
}

How to install

curl -fsSL https://raw.githubusercontent.com/onmyway133/XcodeWay/master/install.sh | sh

Troubleshooting

  • Stop com.apple.dt.Xcode.AttachToXPCService
  • Run sudo /usr/libexec/xpccachectl and restart Mac
  • It only works when a Swift file is selected
  • If the menu is disappeared or disabled, run again

Credit

Licence

This project is released under the MIT license. See LICENSE.md.