Question: Can we suggest one line at a time
- 主要語言
- Vim Script
- 星號
- 11.7k
- 分支
- 810
- PR 合併指標
- 30 天內沒有已合併 PR
描述
Is / are there setting(s) that make Copilot only suggest a line at at time? I have a hacky config that achieves this but even then it doesn't do what I would prefer which is only ghost inline whatever completion lands on the current line number I am on, even if it may be incomplete.
I.e.
variable I want to write:
```rust
let foo = bar
.moo
.baz
.ok_or_else(|| format!("hello"))
.await;
```
What I want Copilot to do:
```rust
let foo = bar
.moo
// .baz <---- cursor is here, copilot only suggests the completion of baz instead of entire variable
```
貢獻指南
研究方向
Issue #279 詢問 Copilot.vim 是否能將內嵌建議限制在游標目前所在的行,使用一個 Rust 範例和現有的 hacky 設定。沒有指定任何檔案、測試或進入點,因此首先應檢查目前的設定和建議的呈現行為。完成條件是明確定義出一種只產生目前行補全的方式,或提供一份說明這項功能不受支援的文件化解釋。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- vim
- 領域
- developer-experience
- Issue 類型
- 功能
- 難度
- 5/5
- 預估耗時
- 一週以上
- 活躍度
- 冷清
- 描述清晰度
- 需要釐清
- 新手友好度
- 30/100