Effect CommunityEC
Effect Community3mo ago
36 replies
Maks

Configuring Custom Aliases for Namespace Imports with Effect LSP

Hey team,

Is there a way to configure custom aliases for namespace imports with Effect LSP?
Meaning, if i wanted to auto-import import * as S from 'effect/Schema'; instead of import * as Schema from 'effect/Schema'; And the same with other modules.

Would be nice to be able to have smth like:

modules: [
{
name: "effect/Schema", 
importOverrideAs: "S"
}
]
Was this page helpful?