I often navigate my folders using the command line.
When I want to open a Xcode Workspace I type the following command:
The script ( aka 1 line of code )
Put this text in a new file
workspace in your
It's possible you have to create that folder.
#!/bin/bash open -a "/Applications/Xcode.app" *.xcworkspace
source ~/bin/workspace to start using the script immediately.
If you want to load the script every time your boot up your computer
add this line to your
This line will add your
~/bin folder to your
so it's always accessible from the command line.
Whenever you're in a folder containing a
you just type
workspace to open the current Workspace in Xcode.
When you have Developer Previews installed of Xcode,
make sure you have set the current stable version of Xcode
as the default application of
Otherwise the latest ( and sometime not so greatest ) version of Xcode
will take over, which can be annoying when you are working on production apps.
The easiest way to do this is probably through Finder.