From 2dc37f411e8947d3c20cd93d1fa1937edc239499 Mon Sep 17 00:00:00 2001 From: Nathan Whitaker <17734409+nathanwhit@users.noreply.github.com> Date: Wed, 27 Mar 2024 14:14:27 -0700 Subject: feat(task): Task description in the form of comments (#23101) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #22786. TLDR; ```jsonc { "tasks": { // Some comment // // describing what the task does "dev": "deno run -A --watch main.ts" } } ``` ```bash deno task ``` ![Screenshot 2024-03-27 at 1 43 49 PM](https://github.com/denoland/deno/assets/17734409/7a14da8c-8e63-45ba-9bfb-590d250b56a9) --- cli/lsp/tsc.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'cli/lsp/tsc.rs') diff --git a/cli/lsp/tsc.rs b/cli/lsp/tsc.rs index 691f7c91d..63c08331d 100644 --- a/cli/lsp/tsc.rs +++ b/cli/lsp/tsc.rs @@ -4711,6 +4711,7 @@ mod tests { }) .to_string(), resolve_url("file:///deno.json").unwrap(), + &deno_config::ParseOptions::default(), ) .unwrap(), ) -- cgit v1.2.3