-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Code Style
Mathieu Bastian edited this page Dec 2, 2021
·
1 revision
The source code uses the CheckStyle tool to keep the code style consistent.
In addition, we check for code style when building the project using the Maven CheckStyle Plugin. A pull request without proper code style would fail to build.
On IntelliJ follow these steps to configure CheckStyle:
- Install the CheckStyle plugin
- Open
Preferences/Settings
and go toEditor > Code Style
. - Select
Project
asScheme
and click the settings icon next to it. - Select
Import Scheme > CheckStyle Configuration
and locate thecheckstyle.xml
file at the root of Gephi's repository.
You're done. You can now use the built-in Code > Reformat Code tool. The resulting code style will match what is on the Gephi repository.
- Developer Handbook
- Build
- Code Style
- Localization
- Datasets
- Import CSV Data
- Import Dynamic Data
- Scripting Plugin
- Quick Start
- Démarrage rapide (FR)
- Layout
- Spatialisations (FR)
- Statistics
- Import
- Spigot importer with Wizard
- Export
- Generator
- Filter
- Extend Data Laboratory
- Preview renderer
- Add a module panel
- Add a submenu
- Build a plugin without Gephi source code
- Update a plugin
- Code Sharing Strategy
- Graph Streaming