Comments (10)
不管是写java还是kotlin,可以先new或调用方法,在后面.var(kotlin还支持.val)回车就能创建对象或接收返回结果,这对于经常在这两种语言之间切换的程序员来讲,可以大大减少编程习惯带来的阵痛。
from kotlin-tutorials.
分享一个小技巧 Ctrl+C Ctrl+V
from kotlin-tutorials.
分享一个插件SonarLint 可以对你的Java/Kotlin以及其他的代码进行扫描并发现代码写的不规范/有漏洞的地方,类似于阿里的那个扫描插件但是比起阿里的更加强大 https://plugins.jetbrains.com/plugin/7973-sonarlint
from kotlin-tutorials.
分享个快捷键,在Mac上是command+[ command+] 可以快速切换到光标前/后一次到达的地方,在追代码的时候很方便
from kotlin-tutorials.
经常写业务代码的话,live templates 使用熟练了爽歪歪. 官方默认就支持了 Android/kotlin/flutter 常用的模板代码,如果还不够,加点自己的模板代码也很爽
from kotlin-tutorials.
在Android Studio上安装一个ADB Wi-Fi插件,就可以脱离数据线进行真机调试了。前提是手机必需和电脑在同一个网段之内。插件主页:https://plugins.jetbrains.com/plugin/14969-adb-wi-fi
from kotlin-tutorials.
Cmd+C, Cmd+V, OK搞定。
from kotlin-tutorials.
分享一个插件SonarLint 可以对你的Java/Kotlin以及其他的代码进行扫描并发现代码写的不规范/有漏洞的地方,类似于阿里的那个扫描插件但是比起阿里的更加强大 https://plugins.jetbrains.com/plugin/7973-sonarlint
这个插件还真听之前公司的质量专家提起过
from kotlin-tutorials.
不管是写java还是kotlin,可以先new或调用方法,在后面.var(kotlin还支持.val)回车就能创建对象或接收返回结果,这对于经常在这两种语言之间切换的程序员来讲,可以大大减少编程习惯带来的阵痛。
这个应该是 IDE 提供的 postfix,也可以做一期,不过这个东西可定制的空间比较小
from kotlin-tutorials.
常用快捷键:
- 多行编辑
- 选中下一个单词(扩展选择)、选中全部
- 返回、前进,匹配括号
- 交换函数、类顺序
- 查看类结构
- 查看子类实现
- 查找引用、查找调用结构
- 在侧边栏定位当前文件
- 提交、拉取代码
from kotlin-tutorials.
Related Issues (20)
- 建议试试在线markdown:http://md.aclickall.com HOT 1
- 有点贵。 HOT 1
- Gradle 迁移 KTS 系列视频 HOT 6
- JetPack Compose 相关 HOT 7
- Kotlin 1.5 release HOT 3
- KMM!!!KMM!!! HOT 2
- 有趣的工具 HOT 2
- 开源框架剖析 HOT 2
- Ktor 永远的神 HOT 1
- 撸一些小程序 HOT 6
- Android Studio Profiler 网络监听功能是如何在给 okhttp 库添加 OkHttp3Interceptor 的 HOT 2
- Kotlin 相关 HOT 3
- Kotlin 入门开源电子书计划 HOT 3
- 心得体会 HOT 2
- Reactive和函数式编程 HOT 1
- @Suppress 注解可以用的 names HOT 2
- C++相关 HOT 1
- 想知道kotlin各种语法糖的实现
- Kotlin Native 安排上 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kotlin-tutorials.