denoland / denoland/vscode_deno

`▶ Run Main` button for `if (import.meta.main)`

Open
#809 0 comments 1 reaction 0 assignees View on GitHub
dx enhancement needs investigation
Dominant language
TypeScript
Stars
1.5k
Forks
169
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**

currently block with `import.meta.main` must be ran manually via `deno run`.

**Describe the solution you'd like**

![image](https://user-images.githubusercontent.com/54838975/218290567-ab7cc386-ceae-41a3-831e-9ea720b07d38.png)

add a `▶ Run Main` above `if (import.meta.main) { ... }` like `▶ Run Test` in `Deno.test`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.