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 some sensible defaults if rebar.config is found #1491

Merged
merged 1 commit into from
Jan 24, 2024
Merged

Conversation

plux
Copy link
Contributor

@plux plux commented Jan 24, 2024

Description

If we find a rebar.config file (and no erlang.mk!) we will use rebar3's directory structure as defaults for deps_dirs, apps_dirs and include_dirs.

Note that this is just defaults, so they will be overridden if there is an erlang_ls.config file either locally or globally.

This will hopefully improve the experience for new users when jumping into a rebar3 project.

@plux plux merged commit 63b1839 into main Jan 24, 2024
12 checks passed
@plux plux deleted the auto-rebar3-paths branch January 24, 2024 21:23
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.

1 participant