博客
关于我
Android Studio移动鼠标显示悬浮提示的设置方法
阅读量:467 次
发布时间:2019-03-06

本文共 591 字,大约阅读时间需要 1 分钟。

欢迎和大家交流技术相关问题:

邮箱: jiangxinnju@163.com
博客园地址:
GitHub地址:
知乎地址:

以Windows 10 + Android Studio 3.0.1为例

默认情况下,在Android Studio中将鼠标移动到函数位置处无法显示悬浮提示,需要进行如下设置:

File -> Settings -> Editor -> General 选中Show quick documentation on mouse move 点击OK

但是此时如果将鼠标移动到函数位置处,会显示"fetching documentation",如果你网络比较好的话,等一会后会显示文档,但是如果网络不好的话则永远不会显示。这是因为Android Studio发现你没有在本地下载对应的文档,所以去google官网进行下载,速度比较慢。将文档下载到本地的方式是:

Toos -> Android -> SDK Manager 选择SDK Tools页签,勾选Documentation for Android SDK 点击OK,下载完成后重启Android Studio应该很快看到悬浮文档提示了。

但是如果还不行的话,可能原因是对应的Android Studio版本优先从网络获取文档,即使你在本地下载了文档也不行,此时需要参考下面的地址,将默认读取方法进行修改:

转载地址:http://pauyz.baihongyu.com/

你可能感兴趣的文章
No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android
查看>>
NO.23 ZenTaoPHP目录结构
查看>>
no1
查看>>
NO32 网络层次及OSI7层模型--TCP三次握手四次断开--子网划分
查看>>
NOAA(美国海洋和大气管理局)气象数据获取与POI点数据获取
查看>>
NoClassDefFoundError: org/springframework/boot/context/properties/ConfigurationBeanFactoryMetadata
查看>>
node
查看>>
node exporter完整版
查看>>
node HelloWorld入门篇
查看>>
Node JS: < 一> 初识Node JS
查看>>
Node JS: < 二> Node JS例子解析
查看>>
Node Sass does not yet support your current environment: Linux 64-bit with Unsupported runtime(93)解决
查看>>
Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime(72)
查看>>
Node 裁切图片的方法
查看>>
node+express+mysql 实现登陆注册
查看>>
Node+Express连接mysql实现增删改查
查看>>
node, nvm, npm,pnpm,以前简单的前端环境为什么越来越复杂
查看>>
Node-RED中Button按钮组件和TextInput文字输入组件的使用
查看>>
vue3+Ts 项目打包时报错 ‘reactive‘is declared but its value is never read.及解决方法
查看>>
Node-RED中Slider滑杆和Numeric数值输入组件的使用
查看>>