gleam-lang/gleam
View on GitHubLSP: Show an error message on an invalid named module
Open
#3,972 opened on Dec 9, 2024
good first issuehelp wanted
Description
Hi!
Currently, when the LSP opens a Gleam file whose name is incorrect (something like my-module.gleam for instance), nothing happens. It could be nice to let the LSP indicates it as a bug (because gleam build will fail) with a message like "my-module is not a valid name for a Gleam module. You should switch to my_module instead."