Is it as fancy and fully featured as an IDE? No. If I'm feeling fancy I use universal-ctags, but if it's not here FZF and Rg do a good enough job. I use dumb, language-agnostic completion and dumb, language-agnostic FZF and Rg for searching and navigating the source code. Doesn't stop people from trying of course, and some do an amazing job at it, but it rarely reaches the same level of polish and simplicity as good IDE solutions.īut on the other hand, please consider the Zen of dumb tools: I code all day in Vim and I don't use YouCompleteMe, NERDTree or anything like that. It frankly sucks at this stuff, it wasn't meant for it and it's not the type of things you can easily tack onto a codebase not meant for it. I agree 100% here, if you value these types of IDE tools I don't recommend going to Vim. I can’t tell you how many times I open a new project, perhaps in a different language, and everything works great out of the box. Having this script in place allows for some fun "performance optimizations" in case you have a slow network connection.>Everything is pre-configured: You don’t have to worry about setting up tags, or YouCompleteMe, or NERDTree. Hope this approach will help others! Update: 13th October 2016 You can log the communication between the IDE and fsnotifier over ssh by inserting this in the fsnotifier wrapper script: strace -f -F -ttt -s 512 -o /tmp/fsnotifier-debug.log (put it before the ssh command). =/projects/fsnotifier-remote/fsnotifier <<< add this line! Then told my IDE to use this wrapper (make sure it's executable with chmod +x) vim idea.properties Ssh -l ray DevelopmentMachine /home/ray/projects/fsnotifier-remote/linux/fsnotifier64 I created a local fsnotifier script with the following contents: #!/bin/ksh93 (Which the beforementioned fsnotifier-remote script should be able to do, but I encountered multiple issues executing it under Linux and I didn't like to dive into it's Python code). Just make sure you launch your IDE on the /home/ray/projects/MyFirstProject folder. The fun thing is that the displayed files are actually already correct, so you don't need to do some any mapping. ssh -l ray DevelopmentMachine /home/ray/projects/fsnotifier-remote/linux/fsnotifier64 WARN - .FileWatcher - Project files cannot be watched (are they under network mount?) > is your input, > ROOTS Add -agentlib:yjpagent to idea.vmoptions if necessary to profile IDEA. WARN - om. - Profiling agent is not enabled. Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=350m support was removed in 8.0 You probably started searching for a solution because you saw this error in the console or in a popup in the IDE: FSNOTIFIER_LOG_LEVEL=info. Without this tool it will fallback to periodically checking for changes or when a specific file is activated, I don't know exactly, but it's slower anyway. So if you change a file that's also in a buffer in for example CLion, it will know it needs to reload that file from disk in order to show the latest changes. The editor(s) use this tool to "subscribe" to changes on the filesystem. This should work for all their editors, P圜harm, Intellij, CLion, PhpStorm, Webstorm, etc. Enable fsnotifier for Jetbrains IDE's like P圜harm over NFS/SSHFS network share
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |