安装eclipse

想让elipse支持C++,Java,PHP,Android。

下载jdk。jdk要保证与操作系统相同,64位对64位,32位对32位。

安装jdk和jre,设置好path环境变量。cmd下java -version无误。

下载elicpse。双击安装elicpse。

根据需要不同的版本安装。配置workspace。

 

改成宋体appearance-colors and fonts

改成tab缩进preferences-php-formatter-active profile-phpconventions

改成utf8:workspace-text file encoding

 

改eclipse的C:\Users\Administrator\.p2到其他目录,在window-preferences-oomph-bundle pools里改。

 

eclipse git错误

Failed to write credentials for  to secure store

preferences-team-git-configuration-repository settings,将配置和news的调整成一样。remote.news.添加pushurl:git@gitlab.gzrb.com:php/news.git,push:+refs/heads/master:refs/heads/master,fetch:+refs/heads/*:refs/remotes/news/*,url:yanchao@gitlab.gzrb.com:php/news.git

在分支被保护的情况下,不能push。在gitlab中,分支-项目设置中,将保护取消。

星期二, 12/11/2018 - 20:19 — 杨超