bbcmicrobit / bbcmicrobit/PythonEditor

Feature request: New script button

未关闭
#309 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
201
派生
126
PR 合并指标
30 天内没有已合并 PR

描述

## Feature
Add a 'new' button that create's a new blank script in the editor

## Issue
It isn't obvious how to start a new script in the editor. I can select all my code and delete, but that will keep the program name in the window. I can also refresh the page which offers a warning before resetting the editor to it's default status, but this is a less common UX eg forms often maintain data on refresh and the MakeCode editor also does, so we should look to implement a similar feature.

## Alternatives
We can refresh the editor to create a new script or delete code, so we have options, maybe we call this out more in help.html?

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。