Preserve more block content around cursor in container_cursor_to_quoted
Add :block_keyword_or_binary_operator to Code.Fragment for more precise suggestions after operators and closing terminators
Add Code.Fragment.lines/1
Module
14 changes across 8 versions
Changes by version
Preserve more block content around cursor in container_cursor_to_quoted
Add :block_keyword_or_binary_operator to Code.Fragment for more precise suggestions after operators and closing terminators
Add Code.Fragment.lines/1
Provide more AST context when invoking container_cursor_to_quoted with trailing fragments
Ensure Code.Fragment.container_cursor_to_quoted/2 with :trailing_fragment parses expressions that were supported in previous versions
Have :capture_arg as its own entry in Code.Fragment.surround_context/2
Properly handle keyword keys as their own entry
Handle anonymous calls in fragments
Fix crash in Code.Fragment.surround_context/2 when matching on ->
Fix Code.Fragment.surround_context/2 for aliases and submodules of non-aliases
Support nested expressions in Code.Fragment.cursor_context/1
Keep operators and no paren calls in Code.Fragment.container_cursor_to_quoted/1
Add support for __MODULE__ in several functions
Support surround and context suggestions across multiple lines