Luca Cervello
Luca Cervello
@mhanberg I switched approach. It works well for something like ```elixir Enum.map(list, fun) ``` It doesn't work for aliased or imported functions like ```elixir alias NextLS.Formatter Formatter.format(code) ``` Because `Code.fetch_docs`...
> Gotcha, that should become available as I build out the "buffer environment". > > I'll try this out today Thank you, if you're happy with that limitation, I can...
@mhanberg I added the active parameter, tests are working but I'm having trouble using it in my editor. I'll investigate more later.
> Now spitfire has the function `Spitfire.container_cursor_to_quoted`, which is used to insert a `__cursor__()` marker in the ast where the cursor is. This could work but only for partial code...
> You make it into a partial code snippet by truncating the document after the cursor position. Oh right, It make a lot of sense, dumb question, my bad 😅....