“Eclipse”的版本间的差异
跳到导航
跳到搜索
(未显示同一用户的7个中间版本) | |||
第6行: | 第6行: | ||
sudo pkg install eclipse-cdt | sudo pkg install eclipse-cdt | ||
pkg install eclipse-cdt # freebsd | pkg install eclipse-cdt # freebsd | ||
+ | </pre> | ||
+ | |||
+ | ==icon== | ||
+ | <pre> | ||
+ | |||
+ | evan@myxps:/usr/share/applications$ cat eclipse.desktop | ||
+ | [Desktop Entry] | ||
+ | Name=eclipse | ||
+ | Comment=c ide | ||
+ | GenericName[bg]=Интернет браузър | ||
+ | GenericName[ca]=Navegador web | ||
+ | GenericName[cs]=Webový prohlížeč | ||
+ | GenericName[de]=Webbrowser | ||
+ | GenericName[sk]=Internetový prehliadač | ||
+ | GenericName[sv]=Webbläsare | ||
+ | X-GNOME-FullName=Firefox ESR Web Browser | ||
+ | Exec=/home/evan/apps/eclipse/eclipse %u | ||
+ | Terminal=false | ||
+ | X-MultipleArgs=false | ||
+ | Type=Application | ||
+ | Icon=/home/evan/apps/eclipse/icon.xpm | ||
+ | Categories=Network;WebBrowser; | ||
+ | MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/vnd.mozilla.xul+xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https; | ||
+ | StartupWMClass=Firefox-esr | ||
+ | StartupNotify=true | ||
+ | |||
</pre> | </pre> | ||
第34行: | 第60行: | ||
右下角 open cons -- command shell-- 填写自己的IP | 右下角 open cons -- command shell-- 填写自己的IP | ||
+ | |||
+ | 这个也可以用ssh 感觉界面更加友好 | ||
linux tools --> TM Terminal 4.3.0.201706140544 | linux tools --> TM Terminal 4.3.0.201706140544 | ||
</pre> | </pre> | ||
+ | |||
+ | =Eclipse安装中文语言包(官方汉化)= | ||
+ | https://download.eclipse.org/technology/babel/babel_language_packs/R0.18.3/2021-03/2021-03.php | ||
+ | |||
+ | 下载后进行解压,得到两个文件夹 features 和 plugins ,复制或剪切这两个文件夹到 eclipse 目录下的 dropins 文件夹下 | ||
+ | |||
+ | [https://zhuanlan.zhihu.com/p/342692825 Eclipse安装中文语言包(官方汉化)] | ||
+ | |||
+ | [https://blog.csdn.net/Soulref1212/article/details/111476582 eclipse中文汉化操作 2020-12] | ||
=trouble shooting= | =trouble shooting= | ||
第58行: | 第95行: | ||
[http://blog.linuxchina.net/?p=2911 eclipse使用] | [http://blog.linuxchina.net/?p=2911 eclipse使用] | ||
+ | [https://blog.csdn.net/qq_33850438/article/details/81071102 Linux Eclipse C++安装以及日常使用] | ||
[https://blog.csdn.net/faihung/article/details/60780646 用Eclipse完成C语言编程的几个简单步骤] | [https://blog.csdn.net/faihung/article/details/60780646 用Eclipse完成C语言编程的几个简单步骤] | ||
+ | [https://linuxhint.com/install_eclipse_ide_debian_10/ Installing Eclipse IDE on Debian 10] | ||
+ | [https://blog.csdn.net/u012861467/article/details/79281112?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-2.control&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-2.control Eclipse 配置C/C++开发环境] | ||
[[category:c]] [[category:ops]] | [[category:c]] [[category:ops]] |
2021年4月15日 (四) 12:55的最新版本
目录
下载
eclipse c 下载地址 最新版的漂亮还快哦
pkg install openjdk8 sudo pkg install eclipse-cdt pkg install eclipse-cdt # freebsd
icon
evan@myxps:/usr/share/applications$ cat eclipse.desktop [Desktop Entry] Name=eclipse Comment=c ide GenericName[bg]=Интернет браузър GenericName[ca]=Navegador web GenericName[cs]=Webový prohlížeč GenericName[de]=Webbrowser GenericName[sk]=Internetový prehliadač GenericName[sv]=Webbläsare X-GNOME-FullName=Firefox ESR Web Browser Exec=/home/evan/apps/eclipse/eclipse %u Terminal=false X-MultipleArgs=false Type=Application Icon=/home/evan/apps/eclipse/icon.xpm Categories=Network;WebBrowser; MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/vnd.mozilla.xul+xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https; StartupWMClass=Firefox-esr StartupNotify=true
usage
Eclipse中添加多行注释的快捷键 第一种 //注释 选择你要注释的那一行或多行代码,按 Ctrl+/ 即可,取消注释也是选中之后按 Ctrl+/ 即可。此快捷键是 //注释 而不是 /**/注释。 第二种 /**/注释 Ctrl+Shift+/ 说明:添加/* */注释 Ctrl+Shift+\ 说明:消除/* */注释 要修改在eclispe中的命令的快捷键方式我们只需进入windows -> preference -> General -> key设置就行了
How to open Terminal inside Eclipse
不用安装 用自带的就行了 右下角 open cons -- command shell-- 填写自己的IP 这个也可以用ssh 感觉界面更加友好 linux tools --> TM Terminal 4.3.0.201706140544
Eclipse安装中文语言包(官方汉化)
https://download.eclipse.org/technology/babel/babel_language_packs/R0.18.3/2021-03/2021-03.php
下载后进行解压,得到两个文件夹 features 和 plugins ,复制或剪切这两个文件夹到 eclipse 目录下的 dropins 文件夹下
trouble shooting
launch failed Binary not found 每个项目都是改一下 不然不行 select "Run". -> Run Configurations. ->Choose "C++ Application". -> build configuration --> select debug auto build#is me Click on the "New Launch Configuration" icon on the top left of the open window. Select "Browse" under the C/C++ Application. Browse to the folder where you made your project initially. Enter the Debug folder. Click on the binary file with the same name as the project. Select "OK". Click "Apply" to confirm the link you just set. Close that window.