Setting Up Eclipse Profile - dogtagpki/pki GitHub Wiki

Configuring Java Coding Style

Go to Project β†’ Properties β†’ Java Code Style β†’ Formatter:

  • Enable project specific settings

  • New Profile

    • Name: PKI

    • Initialize settings with the following profile: Java Conventions

  • Tab policy: Spaces only

  • Indentation size: 4

  • Tab size: 8

Configuring Java Editor

Go to Project β†’ Properties β†’ Java Editor β†’ Save Actions:

  • Enable project specific settings

  • Perform the selected actions on save

    • Organize imports

    • Additional actions

      • Remove trailing whitespace

      • Remove unused imports

      • Remove unnecessary casts

      • Don’t add missing annotations

⚠️ **GitHub.com Fallback** ⚠️