1. Open the registry
Use win+R to open the running interface (the default is the lower left corner) and enter regedit
2. Enter the specified directory
1. Could not find a direct copy path:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell
2. Right - click under the current path shell- > New- > Item- > Name IDEA (the name is arbitrary) , modify the default value to the name to be displayed by the right button, such as "Open Folder as IntelliJ IDEA Project"
3. Right-click the newly created folder above (eg: IDEA ) -> New -> String Value, and change the name of the newly created item to Icon
4. Right-click on the Icon, modify the value of the Icon to the installation path of IDEA (right-click on the IDEA icon, select Properties, the installation path is in the target box), and click OK
5. Right-click IDEA - > New - > Item, add a new item command under IDEA, modify the default value to "installation path" "%1"
Note: The installation path and %1 must be separated by a space
3. Restart
The last step, restart, see the effect!