Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
johnhunter
12,964 PointsCommand line to open the maven project in Idea?
Hey Chris! How did you configure that nifty "idea ." command to open the maven project from the command line in Idea? I can't seem to find any solid answers on the web.
1 Answer
andrewvillazon
5,553 PointsAnother option: In Intellij IDEA (with a project open) go to 'Tools' -> 'Create Command-line Launcher'.
johnhunter
12,964 Pointsjohnhunter
12,964 PointsOk I think I figured it out. I added this alias command to my ~/.bash_profile
alias idea="open -b com.jetbrains.intellij"You can then navigate to a folder in your terminal and use the same command to open the file
idea .