Sublime Text 3:从整个项目的任何地方自动完成? [英] Sublime Text 3: AutoComplete from anywhere in whole project?

查看:26
本文介绍了Sublime Text 3:从整个项目的任何地方自动完成?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否有任何方法可以从 Sublime 项目的任何地方获得智能自动完成?我找到了名为 All Autocomplete 的很酷的包,它索引打开的标签以进行自动完成......但如果它搜索所有内容,我会很高兴项目中的文件.我似乎无法让 SublimeCodeIntel 做到这一点......也许是因为 SublimeCodeIntel 在 Sublime 的控制台面板中给了我错误?

I am wondering if there's any way to get smart autocompletion from anywhere in a Sublime project? I found cool package called All Autocomplete which indexes open tabs for autocomplete... but I would love if it searched all files in project. I can't seem to get SublimeCodeIntel to do this... maybe because SublimeCodeIntel is giving me errors in Sublime's console panel?

实际上,它有时似乎会自动完成.其他时候我只是在控制台面板中收到提到的 SublimeCodeIntel eval 错误?

Actually, it seems to autocomplete sometimes. Other times I just get the mentioned SublimeCodeIntel eval errors in console panel?

推荐答案

您使用的是 PHP 还是 Javascript?它可以启用索引项目文件:偏好 |包设置 |SublimeCodeIntel |设置 - 默认,在 PHP/Javascript 中将 codeintel_scan_files_in_project 更改为 true.

Are you using PHP or Javascript? It can be enabling index project files: Preferences | Package Settings | SublimeCodeIntel | Settings – Default, change the codeintel_scan_files_in_project to true in PHP/Javascript.

这篇关于Sublime Text 3:从整个项目的任何地方自动完成?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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