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

建议配置文件添加默认配置 #16

Closed
xiebruce opened this issue Jun 14, 2020 · 3 comments
Closed

建议配置文件添加默认配置 #16

xiebruce opened this issue Jun 14, 2020 · 3 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@xiebruce
Copy link

配置文件分散开来后,确实方便点,不像以前那么冗长一直上下翻来翻去,但目前默认都是空的,不方便新手添加配置。

建议一:添加默认配置格式

把各个配置文件添加上默认配置,用户就可以直接在上面按原来的格式修改,这样不容易出错。需要高级用法再去查文档

建议二:v2ray考虑支持一下yaml

json格式很坑,注释也不方便,虽然现在支持注释,但标准json是不支持的,我们没法用json检测工具去检测有注释的json,因为那样肯定报错,但每次把注释删除再检测又很麻烦,而有时候又确实需要注释,而且就算不用注释,用yaml也没json那么坑,所以不知道v2ray有没有考虑过支持一下yaml。

@sixg0000d
Copy link
Contributor

建议二貌似应该去v2ray-core项目里反映

@ghost ghost added documentation Improvements or additions to documentation enhancement New feature or request labels Jun 27, 2020
@ghost
Copy link

ghost commented Jul 13, 2020

針對「建議一」,或許可以參照該項目的方式:
https://github.com/rime/plum

@kslr
Copy link
Contributor

kslr commented Aug 14, 2020

@kslr kslr closed this as completed Aug 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants