我的.eclimrc文件允许eclim守护程序使用本地主机的端口9091。但在启动Vim时,我收到错误消息
unable to connect to eclimd (port: 9092) - connect: Connection refused可能的解决方案是什么?
下面是我的~/.eclimrc配置
# Bind eclimd to all interfaces
nailgun.server.host=127.0.0.1
#Language Used
user.language=en
# Specifies the port that nailgun / eclimd listens on for client requests.
nailgun.server.port=9091
# Specifies the workspace directory to use
# See $ECLIPSE_HOME/configuration/config.ini for other osgi properties.
osgi.instance.area.default=@user.home/workspace_juno
# increase heap size
-Xms128M
-Xmx1024M
# increase perm gen size
-XX:PermSize=128m
-XX:MaxPermSize=512m发布于 2012-09-05 16:12:48
来自the documentation
多个工作区
通过运行多个eclimd实例,可以在多个eclipse工作区上运行eclim。您必须将每个实例配置为在唯一的端口上运行钉枪,并提供该实例要使用的工作区的路径。一旦您的eclimd实例启动并运行,vim客户端将根据您的上下文自动确定将请求发送到哪个服务器。在某些情况下,如果无法确定要使用的工作空间,系统可能会提示您选择要使用的工作空间
链接的页面显示了示例配置。
https://stackoverflow.com/questions/12276734
复制相似问题