Skip to content

Conversation

@DustinCampbell
Copy link
Member

When the extension is activated and the workspace contains a project.json in the root path, we now check to see if there exists a {workspaceRoot}/.vscode/tasks.json file. If the file doesn't exist, or it exists but doesn't contain a build task, we prompt the user to add the build task.

cc @gregg-miskelly, @chuckries

src/tasks.ts Outdated
import * as vscode from 'vscode';
import * as tasks from 'vscode-tasks';

function promptToAddBuildTask() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Define the type of the return?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@gregg-miskelly
Copy link
Contributor

Signing off with comments.

DustinCampbell added a commit that referenced this pull request Mar 22, 2016
@DustinCampbell DustinCampbell merged commit a91af2e into dotnet:dev Mar 22, 2016
@DustinCampbell DustinCampbell deleted the add-tasks-json-automagically branch April 14, 2016 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants