1

1.似乎是说HTTP代码语言 可以直接在ASCII码文本文件中写 也可以编译

在计算机科学领域,配置文件(英语:configuration file,台湾作设定档)是一种计算机文件,可以为一些计算机程序配置参数和初始设置。

问:什么是用户配置文件?
答:
当你第一次登录到一台基于Microsoft Windows XP、Windows 2000或Windows NT? Workstation的计算机上时,系统就会为你创建一个专用的配置文件。来保存用户的屏幕颜色、网络连接、打印机连接、鼠标设置及窗口的大小和位置等等。

通过将插入符号定位在符号的名称或在代码中的用法处,并按Alt+F7(在弹出菜单中编辑“查找”“查找用法”),可以快速查找在整个项目中使用特定类、方法或变量的所有位置。

To quickly see the documentation for a class or method at caret, press Ctrl+Q (View | Quick Documentation).\

 

要导航到代码中某个地方使用的类、方法或变量的声明,请将插入符号定位在该用法处,然后按Ctrl+B(导航|声明)。您还可以在按住Ctrl键的情况下单击鼠标以跳转到声明。

///

You can quickly navigate in the currently edited file with Ctrl+F12 (Navigate | File Structure).

It shows the list of members of the current class. Select an element you want to navigate to and press the Enter key or the F4 key.

To easily locate an item in the list, just start typing its name.

You can easily rename your classes, methods and variables with automatic correction of all places where they are used.
To try it, place the caret at the symbol you want to rename, and press Shift+F6 (Refactor | Rename). Type the new name in the popup window that appears, or select one of the suggested names, and press Enter.

通过自动更正类、方法和变量的所有使用位置,您可以轻松地重命名它们。              若要尝试,请将插入符号放在要重命名的符号处,然后按Shift+F6(Refactor | rename)。在出现的弹出窗口中键入新名称,或选择一个建议的名称,然后按回车键。

 

/

You may easily override methods of the base class by pressing Ctrl+O (Code | Override Methods).
To implement methods of the interfaces that the current class implements (or of the abstract base class), use Ctrl+I (Code | Implement methods).

您可以通过按Ctrl+O(Code | override methods)轻松重写基类的方法。              要实现当前类(或抽象基类)实现的接口的方法,请使用Ctrl+I(Code | implement methods)。

///

The SmartType code completion greatly helps to find methods and variables that are suitable in the current context, by analyzing the expected type of the whole expression. So doing, Android Studio pinpoints the top five most suitable results and highlights them on the green background. For example, type
 
and press Ctrl+Shift+空格:

通过分析整个表达式的预期类型,SmartType代码的完成有助于找到适合当前上下文的方法和变量。这样一来,Android Studio就可以精确定位前五个最合适的结果,并在绿色背景下突出显示出来。例如,键入              然后按Ctrl+Shift+空格:

 

When using Code Completion, you can accept the currently highlighted selection in the popup list with Tab key.

Unlike accepting with the Enter key, the selected name will overwrite the rest of the name to the right of the caret. This can be especially useful for replacing one method or variable name with another.

使用“代码完成”时,可以使用Tab键接受弹出列表中当前突出显示的选择。              与使用回车键接受不同,所选名称将覆盖插入符号右侧的其余名称。这对于用另一个方法或变量名替换一个方法或变量名特别有用。

///

Did you know that you can close tabs in the editor and the tool windows of Android Studio without actually using the context menu commands? It is enough to point with your mouse cursor to a tab to be closed, and click the middle mouse button, or just use the Shift+click combination.

你知道你可以关闭编辑器和Android Studio的工具窗口中的标签页,而不必实际使用上下文菜单命令吗?只需将鼠标光标指向要关闭的选项卡,然后单击鼠标中键,或者只使用Shift+click组合。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值