Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to refresh the task list in VSCode?

The first time I open VSCode, it scans my gulpfile and populates the task list. However, if I add a new task to my gulpfile, and then Run Task, it will only show the initially loaded tasks. Is there a way to manually refresh the task list? Right now I've resorted to restarting VSCode everytime I need to run a new task.

like image 339
Kmart2k1 Avatar asked May 13 '15 16:05

Kmart2k1


People also ask

How do I refresh code in Visual Studio code?

To refresh the currently active viewChoose Refresh from the Window menu, or click the Refresh button in the toolbar.

How do I see all TODOs in Visual Studio?

From within Visual Studio Go to View -> Task List. This will display the Task List window and show you any area of your open Solution that has existing comments that start with // TODO .

How do I run VS Code tasks?

Tip: You can run your task through Quick Open (Ctrl+P) by typing 'task', Space and the command name. In this case, 'task lint'.

Where Is tasks json in VS Code?

json file (located under your workspace . vscode folder) if you want to do more than simply run the task. For example, you might want to match reported problems and highlight them within VS Code, or to trigger a build task using the Run Build Task command ( kb(workbench.


1 Answers

It is not a very convenient way of reloading - but try Command Palette -> Reload Window instead of restarting VSCode.

like image 130
Slowmove Avatar answered Oct 01 '22 20:10

Slowmove