加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
ide-configuration.adoc 1.11 KB
一键复制 编辑 原始数据 按行查看 历史
白鹭fly 提交于 2020-08-02 11:28 . 成功版本

IDE Setup Instructions

Before you start contributing, please follow the instructions below to setup a code style for an IDE of your choice.

Eclipse Setup

Open the Preferences window, and then navigate to Java → Code Style → Formatter. Click Import and then select the eclipse-format.xml file in the ide-configuration directory.

Next navigate to Java → Code Style → Organize Imports. Click Import and select the eclipse.importorder file.

IDEA Setup

Open the Preferences window (or Settings depending on your edition), navigate to Plugins and install the Eclipse Code Formatter Plugin from the Marketplace.

Restart your IDE, open the Preferences (or Settings) window again and navigate to Other Settings → Eclipse Code Formatter.

Select Use the Eclipse Code Formatter, then change the Eclipse Java Formatter Config File to point to the eclipse-format.xml file in the ide-configuration directory. Make sure the Optimize Imports box is ticked, and select the eclipse.importorder file as the import order config file.

Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化