We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
为了更好的区分传统的代码补全和 Code Edits 相关的代码编辑补全(表现形式是 多行补全 或 智能重写) 两者在 API 的设计上需要做个区分,避免混淆
在之前的 API 当中,会将 “多行补全” 和 “传统代码补全” 都写在同一个 provider 里,仅仅只是用 enableMultiLine 作为标识符来做区分 例:
enableMultiLine
registerIntelligentCompletionFeature(registry: IIntelligentCompletionsRegistry): void { registry.registerIntelligentCompletionProvider(async (editor, position, bean, token) => { // ... return { items: [ { insertText range, }, ], enableMultiLine: true, }; }); }
现在将弃用这种使用方式,具体变动如下
The text was updated successfully, but these errors were encountered:
关于 Code Edits API 的不同行为触发规则
Sorry, something went wrong.
Ricbet
No branches or pull requests
为了更好的区分传统的代码补全和 Code Edits 相关的代码编辑补全(表现形式是 多行补全 或 智能重写)
两者在 API 的设计上需要做个区分,避免混淆
在之前的 API 当中,会将 “多行补全” 和 “传统代码补全” 都写在同一个 provider 里,仅仅只是用
enableMultiLine
作为标识符来做区分例:
现在将弃用这种使用方式,具体变动如下
The text was updated successfully, but these errors were encountered: