firstdraft / appdev_template

A Rails template for generating homework projects
0 stars 1 forks source link

Add Theia tasks and keyboard shortcut. #136

Closed jelaniwoods closed 1 year ago

jelaniwoods commented 4 years ago

Will most likely resolve https://github.com/firstdraft/appdev/issues/130

It seems you can define Tasks, that the editor will run for you if you tell it the task name.

run-task

This change adds the bin/server command as a Task called server as well as a Keyboard shortcut to open the Run Task bar, shift+alt+r.

Here's a snapshot of a workspace I tested it in Open in Gitpod

jelaniwoods commented 4 years ago

@raghubetina have you had a chance to look at this yet? I'm curious to know your thoughts.

raghubetina commented 4 years ago

@jelaniwoods This is pretty cool, I suppose we can put a more heavy emphasis on the Command Palette.

I particularly was interested in quick links in the toolbar to get to /git, like we had in Codio, and now I also want to start encouraging /rails/info and /rails/db. Would it be possible to add tasks to make that easy from the Command Palette, even if we can't get it into the toolbar?

raghubetina commented 4 years ago

@jelaniwoods I see now that the task menu is different from the Command Palette. I worry about whether they can keep them all straight. If we can get them all into a single menu (Command Palette probably?) and teach then to fuzzy search for what they need, then I think it's worth a shot.

jelaniwoods commented 1 year ago

Closing this, since it's very outdated and there are other more up to date resources.