eclipse 常用功能

来源:互联网 发布:淘宝暗语 编辑:程序博客网 时间:2024/05/22 18:22

一 查看eclipse 所用 tomcat路径

eclipse中 选择window->Preferences->Server->Runtime Environments选择你的tomcat然后点Edit,就会出现它的路径了

二 更改tomcat端口号的文件

/home/moma/Downloads/apache-tomcat-8.0.28/conf/server.xml 中 8080端口号改成想要的端口号
端口号修改

三 eclipse Alt+/ 无法提示代码

依次打开eclipse上面的windows ——preferences ——General —— Keys,
在Scheme的下面有一个搜索框,在搜索框里面输入“Content asist”,
选中“Content asist”这一项后,将Binding项改为“ALT+/”(按下“/”键即可更改),将When项选择成Editing Text即可;
这里写图片描述

0 0
原创粉丝点击