Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

配置文件编辑界面上缺少保存按钮 #55

Open
yiding-he opened this issue Dec 14, 2023 · 1 comment
Open

配置文件编辑界面上缺少保存按钮 #55

yiding-he opened this issue Dec 14, 2023 · 1 comment
Labels
editor Configuration file editor

Comments

@yiding-he
Copy link

用户无法得知当前的配置内容是否保存,是否启用,是否有语法错误。界面应该能反应编辑器内容的以下几种状态:

  1. 内容已保存,没有语法错误,且已激活;
  2. 内容已保存,没有语法错误,但未激活;
  3. 内容已保存,但有语法错误,未激活;
  4. 内容未保存,没有语法错误,未激活;
  5. 内容未保存,但有语法错误,未激活。
@bdbai bdbai added the editor Configuration file editor label Dec 14, 2023
@bdbai
Copy link
Member

bdbai commented Dec 14, 2023

  • 编辑会自动保存,包括关闭应用的时候。
  • 文件列表左侧的指示器高亮表示对应的配置被激活。
  • 语法错误不会影响 Leaf 的运行,Leaf 会尽可能忽略错误。编辑器检查出的错误会用红色波浪线划出,按 F8 展开。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editor Configuration file editor
Projects
None yet
Development

No branches or pull requests

2 participants