Skip to content

Implement smart Enter handler for Elixir #39

@mkaput

Description

@mkaput

Add intelligent Enter key handling to automatically indent code, continue multi-line constructs, and provide context-aware line breaks.

Features:

  • Auto-indentation after opening delimiters: (, [, {, <<, %{
  • Smart line continuation for keyword lists, binary operators, pipe chains
  • Context-aware behaviors between delimiters
  • Split string literals with proper concatenation
  • Respect .editorconfig indentation settings

IntelliJ Extension Points:

  • com.intellij.lang.smartEnterProcessor (SmartEnterProcessor)
  • com.intellij.codeInsight.editorActions.enterHandler (EnterHandlerDelegate)

See full implementation details in create-issues.sh

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions