DEV Community

Coder
Coder

Posted on • Originally published at itscoderslife.wordpress.com on

Open project in finder from Xcode

After being accustomed to the ease of opening terminal from Xcode, I created few more shortcuts for all my favorite Xcode users. One of them is Open in the finder with single shortcut from anywhere in Xcode.

YES! A Shortcut to open current project in finder

This is how you do it. It’s a one time setup. Just like you did it for Opening terminal

  1. Create a 2 line shell script and give the file execute permission.
  2. Go to Xcode Preferences.
  3. Add a Behavior in Xcode. Name it and give a shortcut key.
  4. On the right side details pane check the Run option.
  5. From the adjacent drop-down menu choose the script you just saved in step 1.

Script:

#!/bin/bash
open .

Command to give execute permission:

chmod +x /path/to/the/open_in_finder.sh

If you are lazy like me here’s the gist, download and use it: https://gist.github.com/itscoderslife/a671519577ac93fca55a506be7f2247a

Hope this is helpful.

Other shortcuts

Open in terminal

Open Derived Data folder

Happy coding 😉

inspiration courtesy: The in-built Terminal of Visual Studio Code by Microsoft

.gist table { margin-bottom: 0; }



Damodar Shenoy's DEV Profile

Sentry mobile image

App store rankings love fast apps - mobile vitals can help you get there

Slow startup times, UI hangs, and frozen frames frustrate users—but they’re also fixable. Mobile Vitals help you measure and understand these performance issues so you can optimize your app’s speed and responsiveness. Learn how to use them to reduce friction and improve user experience.

Read full post →

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay