Intellij open project dialog - paste the folder path in MAC - macos

I have the copied the path of the required directory to the clipboard
Now in Intellij IDE when I click file->open then it opens a dialog box, how do I paste the folder path instead of navigating manually to the folder in MAC OS?
I did not find any such option like the Finder's Go->go to folder

Please use "Cmd+Shift+G" shortcut to open "Go to the folder" dialog. Here is the screenshot:
https://i.imgur.com/VrjFz1Q.png
Once it is opened, please use right click to paste the path from context menu.

Related

Where I can obtain the "stylus.bat"" for the File watchers of IntelliJ IDEA faminly IDEs?

According the IntelliJ IDEA documentation, the Stylus files watcher setup is:
In the Settings/Preferences dialog click File Watchers under Tools. The File Watchers page that opens shows the list of
already configured File Watchers.
Click the Add button or press Alt+Insert and choose the Stylus predefined template from the list.
In the Program field, specify the path to the executable file:
stylus for macOS and Unix.
stylus.bat for Windows.
Type the path manually or click the Browse button and choose the file location in the dialog that opens.
IntelliJ IDEA
documentation
The question is where I can get the stylus.bat.
If I install the Stylus globally by npm, it will be installed to [Drive]>Users>[UserName]>AppData>Roaming>npm>node_modules>stylus for the Windows case:
But there is no stylus.bat. Inside bin directory, there is the file stylus without filename extension, but this one does not work.
A <drive>:\Users\<user name>\AppData\Roaming\npm\stylus.cmd should do the thing

'open in terminal' option is enabled on the right-click menu, but it goes directory to the home directory

When I am in a folder and I want to open that folder on the terminal, the 'open in terminal' option on the right-click menu takes me to my home directory. I have two computers, both of them have Ubuntu 18.04, This problem exists on only one of them. Does anyone know how to fix this issue?
I finally found the problem and fixed it. On the terminal preferences, I had assigned a custom command to be run instead of my shell. I unchecked the option to run a custom command and things went back to normal.

Where to find htdocs in XAMPP Mac

I cannot find the htdocs directory anywhere on XAMPP for Mac.
Many videos on YouTube show people just clicking a button that says "Go to application folder" but on my user interface, it reads: "Go to application" which just opens the localhost page at http://localhost.
Where can I locate the htdocs directory?
In the "volumes" tab, you have to mount it first. Then it appears on the desktop as if it were an external USB. All the data is inside it. :D
At least for macbook (os high sierra) go to terminal and type or copy and paste:
cd ~/.bitnami/stackman/machines/xampp/volumes/root/htdocs
I have installed XAMPP version 7.3.11, After starting the Apache and other services, go to volumes tab on XAMPP, and click on mount button,
And then Click on explore button,
You will get Finder open up with this,
Open xampp application, then do the following:
go to: volumes,
click the [mount] button, and
finally click explore.
Go to Volumes Tab and click Mount
You can find it under Locations in the Sidebar. Click on it.
Open this folder: Lamp
You can find the htdocs folder inside Lamp, just like the below screenshot:
Note: I am using macOS Catalina.
you installed Xampp-VM (VirtualMachine), simply instead install one of the "normal" installations and everything runs fine.
Simple as ...
From the UI
Click Go->Go to Folder then /Applications/XAMPP/htdocs
From Terminal
cd /Applications/XAMPP/htdocs
Click volumes, then explore, and then that should open lampp which has htdocs in it.
for each easy and useful access you can add terminal command via editing your bash profile, here how:
open terminal -> type cd hit enter.
then type nano .bash_profile
then add this line
alias htdocs="cd ~/.bitnami/stackman/machines/xampp/volumes/root/htdocs"
Now hit ctrl + o then hit enter, then hit ctrl + x
Now to refresh the terminal commands type the following command
source .bash_profile
Now you can use htdocs command each time you want to navigate htdocs folder.
There are two ways to find it:
One way is to open Finder>Applications>XAMPP(FolderNotTheInstaller)>htdocs
Another way is cmd+space and searches for manager-osx,
go to Welcome and click the Open Application Folder.
For me it was in
/Users/your username/.bitnami/stackman/machines/xampp
I am using Mac Os Mojave 10.14.5
From XAMPP Application window (manager-osx) click => Open Application Folder >> htdocs
Now you opened your target folder.
You can see process by image below
XAMPP Application window (manager-osx)
Open Application Folder
Application (xamppfiles) folder opened
Click on 'htdocs'
Your target folder 'htdocs' opened
Now begin your development
Make sure no other apache servers are running as it generates an error when you try to access it on the browser even with a different port. Go to Finder and below Device you will usually see the lampp icon. You can also open the htdocs from any of the ide or code editor by opening files or project once you locate the lampp icon. Make sure you mount the stack.
Simply click in "Go To Application Folder"
I used this line to locate and edit the permissions under xampp:
chmod 777 ~/.bitnami/stackman/machines/xampp/volumes/root/htdocs/folder
The next moment I installed MAMP, can find the docks in my local.
PFA screenshot.
Location:
/Applications/MAMP/htdocs/
You installed xampp Vn thats the problem.
Install normal xampp and everything will be fine.
link to nornal xampp: https://www.apachefriends.org/download.html
Download it from the link
install it
when it opens, Simply click in "Go To Application Folder".
/Applications/XAMPP/xamppfiles/htdocs
Go to finder in your Mac
In Location click the network address.
You will see the Lampp folder. To see this network address yo need to have started xampp application and mounted it.
Click Lampp folder
You will see the htdocs folder among the folders.
On opening htdocs folder you will find your php applications
From the Finder menu, click Go->Go to Folder. Type in /Applications/XAMPP

Open file with WebStorm from MacOS finder

In OSX El Capitan, I have set WebStorm to be the default application for opening .js files like so. This successfully opens WebStorm when opening a .js file via finder, or when cmd-clicking on the file from iterm2.
However, when WebStorm opens, the file I've chosen is not opened within WebStorm. The app simply has the same files I've opened before (whether or not the WebStorm app was running when I opened the file).
Using open -a /applications/WebStorm.app <filename> works fine, but it's less convenient than just clicking on the file I want, as I do for file extensions that I've set to open in Eclipse or Sublime.
Is there a way to get WebStorm to open the file I've selected?
Known issue, please follow IDEA-129532 for updates

How to open Settings.bundle in Finder

I want to be able to add files to Settings.bundle folder using Finder but I'm unable to do so because Finder recognizes Settings.bundle as a file.
How do I view/edit the contents of Settings.bundle using Finder?
Just right click the file and choose Show package contents or use Go->Go to folder option using the bundle path.

Resources