Skip to content

Instantly share code, notes, and snippets.

@0x-2a
Created July 18, 2025 14:49
Show Gist options
  • Save 0x-2a/401686197133b78ce19af068110660e4 to your computer and use it in GitHub Desktop.
Save 0x-2a/401686197133b78ce19af068110660e4 to your computer and use it in GitHub Desktop.
[{*.go,*.go2}]
indent_style = tab
ij_go_GROUP_CURRENT_PROJECT_IMPORTS = true
ij_go_add_parentheses_for_single_import = true
ij_go_group_stdlib_imports = true
ij_go_import_sorting = goimports
ij_go_move_all_imports_in_one_declaration = true
ij_go_move_all_stdlib_imports_in_one_group = true
ij_go_remove_redundant_import_aliases = true
ij_go_use_back_quotes_for_imports = false
ij_go_indent_size = 4
ij_go_continuation_indent_size = 4
ij_go_tab_width = 4
ij_continuation_indent_size = 4
ij_go_add_leading_space_to_comments = true
ij_go_call_parameters_new_line_after_left_paren = true
ij_go_call_parameters_right_paren_on_new_line = true
ij_go_call_parameters_wrap = off
ij_go_fill_paragraph_width = 80
ij_go_keep_indents_on_empty_lines = false
ij_go_local_group_mode = project
ij_go_run_go_fmt_on_reformat = false
ij_go_wrap_comp_lit = off
ij_go_wrap_comp_lit_newline_after_lbrace = true
ij_go_wrap_comp_lit_newline_before_rbrace = true
ij_go_wrap_func_params = split_into_lines
ij_go_wrap_func_params_newline_after_lparen = true
ij_go_wrap_func_params_newline_before_rparen = true
ij_go_wrap_func_result = off
ij_go_wrap_func_result_newline_after_lparen = true
ij_go_wrap_func_result_newline_before_rparen = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment