Skip to content

Context-sensitive snippets #3

@dejbug

Description

@dejbug

Player info lines in particular need two snippets: one for basic details, one for round results.

Worst case, we could try making Listeners trigger snippets based on cursor movement (at field boundaries). Snippets must be renamed so they are not triggered by themselves.

It would be nice if we could hook keyboard events. We could make tab jump to the next field. Fields start at fixed column positions (hence irrespective of how much text was typed = snippet behavior).

Snippets are buggy (sublimehq/sublime_text#5651 and sublimehq/sublime_text#6113) and by themselves not very capable. It would be nice if Listeners were general enough to let us reimplement the snippets mechanism.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions