When I write def
in VSCode in a file that uses LiveView, the autocomplete defaults to writing def()
in reference to LiveView’s Phoenix.Component.Declarative.def
macro instead of autocompleting with the code for defining an elixir function. Same thing for defp
. Does anyone know how to prevent this?