diff options
author | Nathan Whitaker <17734409+nathanwhit@users.noreply.github.com> | 2024-03-27 14:14:27 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-27 14:14:27 -0700 |
commit | 2dc37f411e8947d3c20cd93d1fa1937edc239499 (patch) | |
tree | 0ecb10fb3cc0e9085130c3683155529c5de74e84 /cli/lsp/documents.rs | |
parent | 68fecc6de4b2e6556adeb2730798bf42017c4be6 (diff) |
feat(task): Task description in the form of comments (#23101)
Closes #22786.
TLDR;
```jsonc
{
"tasks": {
// Some comment
//
// describing what the task does
"dev": "deno run -A --watch main.ts"
}
}
```
```bash
deno task
```

Diffstat (limited to 'cli/lsp/documents.rs')
-rw-r--r-- | cli/lsp/documents.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/lsp/documents.rs b/cli/lsp/documents.rs index 7d1d89b8d..8feeab8de 100644 --- a/cli/lsp/documents.rs +++ b/cli/lsp/documents.rs @@ -1886,6 +1886,7 @@ console.log(b, "hello deno"); }) .to_string(), config.root_uri().unwrap().join("deno.json").unwrap(), + &deno_config::ParseOptions::default(), ) .unwrap(), ) @@ -1926,6 +1927,7 @@ console.log(b, "hello deno"); }) .to_string(), config.root_uri().unwrap().join("deno.json").unwrap(), + &deno_config::ParseOptions::default(), ) .unwrap(), ) |