Atom 中的纯文本自动完成(Github) [英] Plain text autocomplete in Atom (Github)

查看:31
本文介绍了Atom 中的纯文本自动完成(Github)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在最新版本的 Atom 上安装了自动完成和自动完成+.不幸的是,这些包在键入纯文本时不会自动完成或建议单词,就像 open office 或一些 sublime 包那样.

I've auto-complete and auto-complete+ installed on the latest version of Atom. Unfortunately, these packages don't auto-complete or suggest words while typing plain text as open office or some sublime packages do.

例如,如果我正在输入 repo 并且单词 repository 已经出现在当前文档中,我想要某种自动完成/智能感知出现.

For instance, if I am typing repo and the word repository already appears in the current document, I would like to have some sort of auto-completion / intellisense to show up.

我徒劳地寻找实现这一点的原子封装.

I looked, in vain, for package in atom achieving that.

那么,问题是,您是否知道可以在 atom 中执行此操作的任何程序包或有关如何创建它的任何直觉?

So, the question is, do you know any package to do that in atom or any intuitions on how to create it ?

谢谢.

推荐答案

实际上 autocomplete-plus 包应该完全符合您的要求.默认情况下,它会在当前文档中查找,但您可以启用包括所有缓冲区中的补全"以从所有打开的缓冲区中获取补全.

Actually the autocomplete-plus package should do exactly what you want. By default it looks in the current document, but you can enable "Include completions from all buffers" to get completions from all open buffers.

为什么它不起作用的一些建议:

A few suggestions why it does not work:

  1. 确保在 autocomplete-plus 设置中激活启用内置提供程序"
  2. 该软件包可让您在两个默认提供程序"(Fuzzy 和 Symbol)之间进行选择.两个都试试(对我来说 Symbol 工作正常)
  3. 确保您使用的文件类型支持自动完成且未列入黑名单,请参阅此问题了解详情
  4. 也许 autocomplete 包会干扰 autocomplete-plus.尝试禁用或卸载自动完成

这篇关于Atom 中的纯文本自动完成(Github)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆