Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Question: Can we suggest one line at a time

未关闭
#279 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
30/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
冷清
技术栈
vim

调研方向

Issue #279 询问 Copilot.vim 是否可以将内联建议限制在光标所在的当前行,使用一个 Rust 示例和现有的 hacky 配置。没有确定具体的文件、测试或入口点,因此首先应检查当前配置和建议渲染行为。完成标准是明确规定一种仅生成当前行补全的方式,或者提供一份说明该功能不受支持的文档化解释。

由索引模型根据 Issue 内容生成。

描述

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:

let foo = bar
    .moo
    .baz
    .ok_or_else(|| format!("hello"))
    .await;

What I want Copilot to do:

let foo = bar
    .moo
 // .baz    <---- cursor is here, copilot only suggests the completion of baz instead of entire variable
主要语言
Vim Script
星标
11.7k
派生
812
PR 合并指标
30 天内没有已合并 PR

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

github/copilot.vim 的其他 Issue

查看 github/copilot.vim 的全部 Issue

相似的 Issue

更多 DevTools Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。