question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How can I find tasks.json since it's no longer under /projects folder?

See original GitHub issue

Summary

I have updated the devfile to use latest version from theia, today I am creating a new workspace, and the directory .theia in the project folder is no longer used and not created, I created it and yet it’s still not used.

Because I am using promptString and shell tasks, I don’t know how to write these in the devfile, so what I do, is that I created a tasks that overwrites the tasks.json. Can you please advise a workaround or share examples of devfiles with shell tasks and input are used?

Relevant information

Version: Che-Theia@9d3a00a using Theia@c837b6cb

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:17 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
tsmaedercommented, Jul 9, 2020

In the end, the mystery is not that deep:

            "configurations": [

should read

            "tasks": [

@SDAdham does that fix your problem? I agree writing a message to a log the user never sees is not the best way to help the user 🤷

0reactions
che-botcommented, Jan 20, 2021

Issues go stale after 180 days of inactivity. lifecycle/stale issues rot after an additional 7 days of inactivity and eventually close.

Mark the issue as fresh with /remove-lifecycle stale in a new comment.

If this issue is safe to close now please do so.

Moderators: Add lifecycle/frozen label to avoid stale mode.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Where is the tasks.json file in vscode? - Stack Overflow
Open a folder with vscode; Hit F1; Select "Tasks: Configure Task"; Hit Enter and vscode will create a sample tasks.json for you.
Read more >
Tasks in Visual Studio Code
You can create user level tasks that are not tied to a specific workspace or folder using the Tasks: Open User Tasks command....
Read more >
Customize build debug tasks with JSON files - Visual Studio ...
You can configure a new task by right-clicking on a file or folder and selecting Configure Tasks. This creates (or opens) the tasks....
Read more >
Scripting with VSCode Tasks and Typescript
I'm not under the delusion that I can prevent all errors before I run ... I'm going to create a new project folder...
Read more >
Angular workspace configuration
The angular.json file at the root level of an Angular workspace provides ... The projects section of the configuration file does not correspond...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found