Intelij: prevent open file/directory with vscode
For me, it is so annoying that the "Show in Files" menu in Intelij IDE is replaced with "Show in Visual Studio Code" after installing VS Code. The "Open In" menu is also changed from "Files" to "Visual Studio Code".
Screenshots after pressing
Screenshots of the right-click menu:
To fix this, open these files:
Find the line starting with
inode/directory=, and move
org.gnome.Nautilus.desktop; to the beginning after the equal
= sign. If the line does not exist, skip the edit.
It is worth noting that
code.desktop is looked up at
Save the file and restart the Intellij IDE.