<?xml version="1.0" encoding="UTF-8"?>
<profiles version="13">
    <profile kind="CodeFormatterProfile" name="EDDI Formatter" version="13">
        <!-- Max line length 150 to match checkstyle -->
        <setting id="org.eclipse.jdt.core.formatter.lineSplit" value="150"/>
        
        <!-- Indentation: 4 spaces -->
        <setting id="org.eclipse.jdt.core.formatter.tabulation.char" value="space"/>
        <setting id="org.eclipse.jdt.core.formatter.tabulation.size" value="4"/>
        <setting id="org.eclipse.jdt.core.formatter.indentation.size" value="4"/>
        
        <!-- Annotation wrapping: wrap where necessary (value 49 = wrap where necessary + force split) -->
        <setting id="org.eclipse.jdt.core.formatter.alignment_for_annotations_on_method" value="49"/>
        <setting id="org.eclipse.jdt.core.formatter.alignment_for_annotations_on_parameter" value="49"/>
        <setting id="org.eclipse.jdt.core.formatter.alignment_for_annotations_on_local_variable" value="49"/>

        <!-- Method parameter wrapping: wrap where necessary -->
        <setting id="org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration" value="18"/>
        <setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation" value="18"/>

        <!-- Don't join already-wrapped lines -->
        <setting id="org.eclipse.jdt.core.formatter.join_wrapped_lines" value="false"/>

        <!-- Import organization -->
        <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration" value="ignore"/>
        <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration" value="ignore"/>
    </profile>
</profiles>
