Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add code action to add behaviour callbacks #1399

Merged
merged 1 commit into from
Nov 8, 2022

Conversation

plux
Copy link
Contributor

@plux plux commented Nov 2, 2022

Description

Code action to add missing -behaviour callbacks.

add_callbacks

@robertoaloi
Copy link
Member

Nice one!

@robertoaloi robertoaloi merged commit 47de6bc into erlang-ls:main Nov 8, 2022
{error, _} ->
[];
{ok, BeUri} ->
%% Put exported callback functions after -behaviour() or -export()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As a follow up, we could verify whether some callback functions are already exported and add them to the existing list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants