admin管理员组文章数量:1406951
I'm looking for a way to copy the full path of any variable.
The expected result is to have this value in the clipboard:
com.myproject.Class1#variable1
I'm looking for a way to copy the full path of any variable.
The expected result is to have this value in the clipboard:
com.myproject.Class1#variable1
Share
Improve this question
edited Mar 8 at 8:54
tyg
16.7k4 gold badges39 silver badges49 bronze badges
asked Mar 8 at 4:34
Maher AbuthraaMaher Abuthraa
17.9k12 gold badges86 silver badges105 bronze badges
1 Answer
Reset to default 2You can use Copy Reference to get this:
com.myproject.Class1#getVariable1
When the cursor is placed over a variable you can access it via the context menu's Copy / Paste Special entry or simply use the shortcut Ctrl+Alt+Shift+C.
I think that's the best you can get.
版权声明:本文标题:copy paste - Is there a shortcut in Android Studio to get the full path of a variable or method? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744903073a2631460.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论