feat&enhance: 优化程序建议的体验,允许用户自定义程序的触发词 #8
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
我做了几点修改,均不影响原有体验:
Suggestions List配置项,用户可以自定义自己的程序建议列表及其顺序。已配置的程序。Plugin Trigger Keyword配置项,如果用户修改了这个插件的触发关键字,只要同时修改这里,也能使用程序建议功能。(比如我修改了触发关键字为pj,填充建议时的r我是用不了的)。Custom Acronyms Map配置项,用户可以自定义某些程序的触发词。Typora的图标为产品图标,跟插件其他程序统一。