ide/commandlineinterface: fix path resolution for file editing on server
ide: recognize c/cpp/h files