code完成在Android的工作室 [英] Code completion to in Android Studio

查看:119
本文介绍了code完成在Android的工作室的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

关于编辑器的一个问题,我不知道如何为简单词组的问题,所以我无法找到答案

A question about the editor, I am not sure how to briefly phrase the question so I could not find an answer

我刚刚搬进从Eclipse中的Andr​​oid工作室在Mac上。

I have just moved from Eclipse to Android Studio on the Mac.

如果在布局文件,我开始键入的android:AU,假设我想选择自动图文集见截图

If in a layout file, I start typing android:au, assuming I want to choose autotext see screenshot

我怎样才能完成去的高达到的自动。所以,我只需要键入T和然后输入选择自动图文集。

How can I get the completion to go upto the "to" of "auto". So that I just have to type the T and then enter to choose autoText.

由于没有选择无到我应该被允许将其选中。

Since there are no options without the "to" I should be allowed to select it.

请让我知道如果我的解释不够清楚

Please let me know if my explanation is not clear enough

推荐答案

的IntelliJ(工作室)解析默认搜索你输入的字符的全部文本。如果你键入文本,它应该显示的自动图文集在默认的选项。您不必进行任何配置这种行为。

Intellij (Studio) parses the whole text to search for your input characters by default. If you type "Text", it should show "autoText" in the options by default. You don't have to configure anything for this behavior.

这将使preference到精确匹配的,所以如果你键入文本用大写的 T ,你就更有可能得到正确的结果不是打字的一个小的 T

It will give preference to exact matches though, so if you type in "Text" with a capital T, you're more likely to get the correct result than typing "text" with a small t.

您可以更改这些preferences:

You can change these preferences in:

设置(或MAC preferences) - >编辑 - > code完成

这篇关于code完成在Android的工作室的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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