Opening project on external server

Answered

Hi

I use Windows as my main operating system but I prefer to use Linux for all programming related things. To keep things organised with both, I have installed Ubuntu Server on Virtualbox and by sharing folders from my main Windows host system I have been able to use the Windows version of IntelliJ IDEA for writing code and the virtualized Linux box for compiling and running the code.

While this method has worked usually well, it' is not perfect as not everything works well with NTFS file system (for example node modules seem to often need symbolic links and other stuff which is not natively available in NTFS file systems). To solve this problem I have tried to move my software projects to the Linux box and opening them with IDEA in my hosting Windows machine by mounting the virtual box filesystem as a network drive on my Windows machine. This does not seem to work very well, as IDEA does not officially support opening projects from network drives. If I do this, IDEA does not watch files for changes, the integrated Git version control does not seem to work at all etc. I wonder why this is a problem for IDEA since technicially the network drive is the same drive as my Windows system's drive and should work quickly. Would it be possible to "force" IDEA think that this network drive is a normal logical drive on my host system?

Or is there another workaround for this problem? I know I could install Linux as a native system but I would prefer to have Windows with me while programming for doing other stuff in which Linux is not very good at. I have also tried running IDEA in a virtualized desktop Linux (Xubuntu). It works, for the most part, but it's often very slow.

0
2 comments

Using network mounts for the projects is not recommended for performance reasons.

Windows API that notifies IDEA about file changes works only with the local file systems.

0

I think I'm going to use X11 forwarding to solve this problem.

0

Please sign in to leave a comment.