New LSP Release 0.22.0 Adds Namespace Import Option for Effect Library
Hello everyone!
Do you prefer
If so, the LSP release 0.22.0 is for you! it adds an option that can accept a list of packages and will attempt to use namespace-style imports rather than named ones!
To enable it, you need to add into your LSP options the list of the package names you want to import via namespace.
There is also a new diagnostic, disabled by default, that when enabled will report whenever you are importing from a barrel file!
Do you prefer
import * as Effect from "effect" vs. import { Effect } from "effect"?If so, the LSP release 0.22.0 is for you! it adds an option that can accept a list of packages and will attempt to use namespace-style imports rather than named ones!
To enable it, you need to add into your LSP options the list of the package names you want to import via namespace.
There is also a new diagnostic, disabled by default, that when enabled will report whenever you are importing from a barrel file!
