Skip to content

(Question) Setting up custom commands? #2297

@lukepighetti

Description

@lukepighetti

I want to setup custom commands to do Flutter development with helix. I'm guessing this will have to wait for #998 or #122, but I will describe the use case here for tracking.

  • Adding flutter command line tool commands to command palette, keybindings etc.
  • Run flutter devices, store a list of devices in editor state, then dispatch run commands on these devices
  • After running flutter run, it allows pressing keys to dispatch subsequent commands to the device, would be nice to hook these into command pallet entries, or hooks like saving a file triggering hot reload

A few more ideas

  • It would be nice if we could setup context menus like space and g menus for these tasks
  • some way to indicate connection status and selected device (could be in context menus)
  • a quick way to see long running debug output

For reference: here's a CoC plugin that achieves most of these items in vim https://github.com/iamcco/coc-flutter

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions