Skip to content

intermediate more "essential" result sequence - rendering agnostic #8

@laurentpetit

Description

@laurentpetit

To serve the purpose of several kinds of "displays" (console, editors, etc.), it would be interesting to not drop "too early" information on the results. E.G. once a var, a Class, a MethodHandler have been "rendered"/"reified" to a String, it's too late for easily sorting/displaying/further filtering the result in different ways.

Maybe we could have first the non-reified results returned, and construct above this (respecting the current "API" to not break existing client code) a default textual rendering layer.

For example, for Counterclockwise's purpose, I may enrich the "bare list" with more information such as repeating the namespace the var was aliased/used from, the type of the completion (:var, :namespace, :class, :static-member, :instance-member, etc.), the arglist, the documentation, etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions