-
Notifications
You must be signed in to change notification settings - Fork 3k
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 .elp.toml file #9328
Add .elp.toml file #9328
Conversation
d1814f4
to
6167e8f
Compare
CT Test Results 1 files 11 suites 5m 3s ⏱️ Results for commit 1ec3208. ♻️ This comment has been updated with latest results. To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass. See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally. Artifacts// Erlang/OTP Github Action Bot |
I'm currently trying to add a few configuration options to ELP that can take care of a few details with apps such as |
FYI, @garazdawi have added it here a1192b3 in #9316. |
I've removed mine in favor of this. |
@garazdawi I copied the header from your version in re a1192b3, but the copyright checker still complains. What should that contain? |
6167e8f
to
3ab569f
Compare
.elp.toml
Outdated
"lib/*", | ||
{"name" = "erts", "dir" = "erts/preloaded", "src_dirs" = ["src"]}, | ||
{"name" = "wx", "dir" = "lib/wx", "src_dirs" = ["src", "gen"]}, | ||
{"name" = "inets", "dir" = "lib/inets", "src_dirs" = ["src/http_client", "src/http_server", "src/http_lib", "inets_app"]}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be "src/inets_app", I think
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ping @robertoaloi
@@ -0,0 +1,15 @@ | |||
# SPDX-License-Identifier: Apache-2.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# SPDX-License-Identifier: Apache-2.0 | |
# SPDX-License-Identifier: Apache-2.0 | |
# SPDX-FileCopyrightText: 2025 Ericsson and the Erlang/OTP contributors |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm still getting used to writing these things so forgot the copyright in my commit.
And rebase on top of maint so we can get it in for 27 as well. |
3ab569f
to
1ec3208
Compare
Rebased on top of |
The
.elp.toml
file, documented here, allows the ELP language server to correctly discover the project. This is equivalent to theerlang_ls.config
file which is already present (for the Erlang LS language server).