Skip to content

Support easy autocompletion for namespaced maps #2113

@MikeJCusack

Description

@MikeJCusack

Currently when using namespaced maps, such as #:db{:ident :user/id :valueType :db.type/uuid ...} if you wanted to autocomplete the :valueType and had typed : you would get a ton of autocomplete suggestions that have nothing to do with expected values for this map. Even typing :v you would still get those unrelated options and valueType is there if you've typed it before somewhere, but is buried deep down the list.

If you were to use a plain map and typed {:db/ you would get the expected suggestions for a Datomic schema, as long as the datomic api is on your path. If you were to type {:db/v then :db/valueType would be the only suggestion, as you would expect.

Given that namespaced maps offer a more simplified way of representing these kind of maps it would be very helpful to support autocompletion for this to make it easy to use in your editor and improve readability of otherwise dense maps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    Next release

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions