Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tasks] Support VS Code task definitions #247

Closed
jankeromnes opened this issue Jan 17, 2019 · 4 comments
Closed

[tasks] Support VS Code task definitions #247

jankeromnes opened this issue Jan 17, 2019 · 4 comments
Labels
editor: theia meta: stale This issue/PR is stale and will be closed soon type: feature request New feature or request

Comments

@jankeromnes
Copy link
Contributor

jankeromnes commented Jan 17, 2019

Gitpod is amazing for discovering new projects, and also for reviewing/amending pull requests.

But in both situations, it may happen that you don't know the project's most useful workflows like running tests, linting the code, profiling the app... and you lose a lot of time sifting through various docs (especially if you're new to that project, but also if you haven't worked on it for a while).

Having a few useful project-specific scripts to run directly from the IDE or from the gp command-line would be amazing.

Project maintainers could configure them in their .gitpod.yml, for example:

workflows:
  - command: make build
  - command: make test

(This could also be useful for projects that have non-standard ways of sending patches, e.g. Firefox with arc patch and hg phabsend; Chromium with git cl upload; Linux with sending patches by email...)

  • Then these commands could then be exposed in the IDE, either in the Terminal top-menu under Run Task... (not very discoverable); or directly in a new top-menu just for that project (e.g. Chromium > git cl upload).
  • They could also be exposed via the gp CLI in the terminal.

You can find examples of such useful project-specific scripts in Janitor's Dockerfiles repository.

@jankeromnes jankeromnes changed the title [tasks] Implement project-specific workflows / commands / tasks [tasks] Support project-specific workflows / commands / tasks Jan 17, 2019
@jankeromnes jankeromnes changed the title [tasks] Support project-specific workflows / commands / tasks [tasks] Support project-specific workflows Jan 17, 2019
@jankeromnes jankeromnes changed the title [tasks] Support project-specific workflows [workflows] Support project-specific workflow commands Jan 17, 2019
@svenefftinge
Copy link
Member

I think vs code tasks should be used for that.

@jankeromnes
Copy link
Contributor Author

jankeromnes commented Jan 17, 2019

Good idea, VSCode Tasks seem to be already well specified. It looks a bit more complicated to support, but hopefully it will also give us pre-configured Tasks for many existing projects.

Do VSCode's and Theia's "Tasks" concepts match 100%?

@svenefftinge
Copy link
Member

Do VSCode's and Theia's "Tasks" concepts match 100%?

Not yet, but they have to eventually (i.e. soon).

@svenefftinge svenefftinge changed the title [workflows] Support project-specific workflow commands [tasks] Support VS Code task definitions Jan 26, 2019
@stale
Copy link

stale bot commented Mar 18, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the meta: stale This issue/PR is stale and will be closed soon label Mar 18, 2021
@stale stale bot closed this as completed Mar 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editor: theia meta: stale This issue/PR is stale and will be closed soon type: feature request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants