-
-
Notifications
You must be signed in to change notification settings - Fork 873
Open
Labels
good first issueGood for newcomersGood for newcomershelp wantedContributions encouragedContributions encouraged
Description
It'd be nice if there was a way to create unknown modules for the current package via LSP code actions. Since gleam doesn't have explicitly defined module declarations (like in Rust with mod foo.rs
), it'd make sense for this code action to be available on the import declaration, along with its corresponding "unkown module" diagnostic
An initial implementation has been drafted here: #4888
Open questions:
- Should we allow creating modules anywhere in the current project or only direct submodules of the current module?
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomershelp wantedContributions encouragedContributions encouraged