All Projects → longforus → KotlinCodeSorter

longforus / KotlinCodeSorter

Licence: MIT license
🔌A simple plugin for sorting kotlin code. 一个可以对kotlin代码排序的小插件.

Programming Languages

kotlin
9241 projects
java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to KotlinCodeSorter

WiFiADB
An IntelliJ platform plugin use for connecting Android device over WiFi
Stars: ✭ 131 (+424%)
Mutual labels:  idea-plugin, androidstudio-plugin
Intellij Java2smali
A plugin for IntelliJ IDEA & Android Studio to easily compile Java & Kotlin files to smali.
Stars: ✭ 384 (+1436%)
Mutual labels:  android-development, idea-plugin
GenerateModuleFromTemplate
An IntelliJ platform IDEs plugin use for create module from a highly customizable template
Stars: ✭ 29 (+16%)
Mutual labels:  idea-plugin, androidstudio-plugin
dsl-api-generator
Generates binary compatible and Java interoperable DSL boilerplate code
Stars: ✭ 25 (+0%)
Mutual labels:  idea-plugin, androidstudio-plugin
mapbox-gestures-android
The Mapbox Gestures for Android library makes it easy to detect and handle user gestures on an Android device.
Stars: ✭ 25 (+0%)
Mutual labels:  android-development
Einsen
🎯 Einsen is a prioritization app that uses Eisenhower matrix technique as workflow to prioritize a list of tasks & built to Demonstrate use of Jetpack Compose with Modern Android Architecture Components & MVVM Architecture.
Stars: ✭ 821 (+3184%)
Mutual labels:  android-development
circular-reveal-fragment
Push/pop fragment in style
Stars: ✭ 34 (+36%)
Mutual labels:  android-development
Android
Step by step guide for various components in android
Stars: ✭ 32 (+28%)
Mutual labels:  android-development
TinyPNG
TinyPNG IDEA Plugin for https://tinypng.com/
Stars: ✭ 21 (-16%)
Mutual labels:  idea-plugin
navigation-component
Android navigation component examples
Stars: ✭ 22 (-12%)
Mutual labels:  android-development
ansible-vault-editor-idea-plugin
Ansible Vault Editor IntelliJ Plugin with auto encryption/decryption
Stars: ✭ 29 (+16%)
Mutual labels:  idea-plugin
FancyBottomSheetDialog
This is android library implementing bottom sheet like fancy dialog
Stars: ✭ 21 (-16%)
Mutual labels:  android-development
Android-XML-to-PDF-Generator
This library is for convert XML to PDF very easily using Step Builders Pattern
Stars: ✭ 140 (+460%)
Mutual labels:  android-development
TemplateBuilder
Android Studio模板一键生成插件
Stars: ✭ 39 (+56%)
Mutual labels:  androidstudio-plugin
android-clean-code
Writing Clean Code in Android
Stars: ✭ 22 (-12%)
Mutual labels:  android-development
Biometric-Authentication-Android
A sample implementation of AndroidX biometrics API using Kotlin. Authenticate using biometrics or PIN/Password if biometrics isn't available on device. Fully implemented in Jetpack compose using Material 3 dynamic theming and also has a separate implementation in xml with MDC 3.
Stars: ✭ 29 (+16%)
Mutual labels:  android-development
Android-MonetizeApp
A sample which uses Google's Play Billing Library and it makes In-app Purchases and Subscriptions.
Stars: ✭ 149 (+496%)
Mutual labels:  android-development
Github-Android-Action
Android Github Action that builds Android project, runs unit tests and generates debug APK, builds for Github Actions hackathon
Stars: ✭ 29 (+16%)
Mutual labels:  android-development
Simple-Thank-You
A warm Thank You for supporting our modern & easy Simple Mobile Tools apps!
Stars: ✭ 140 (+460%)
Mutual labels:  android-development
PaymentCardView
Custom Credit/Debit card view
Stars: ✭ 62 (+148%)
Mutual labels:  android-development

Kotlin Code Sorter

A simple plugin for sorting kotlin code. Machine Translate English ReadMe

一个可以对kotlin代码排序的小插件.最近在日常的开发中,发现kotlin的代码排列不如Java的好,在IDEA或者AndroidStudio里面Java的字段一般在前,方法在后,看起来比较感觉比较好.但是在kotlin中覆写的变量和函数是根据覆写的先后顺序来排列的,后写的在前面,先写的在后面.而且字段和函数是穿插排列的,真是逼死强迫症, 有了这个小插件,轻轻一按瞬间排好,美滋滋.

1

特征

  • 支持按照字段->初始化块->构造方法->方法->内部类的默认顺序对代码进行排序.
  • 从1.2开始可以在设置界面自定义排序顺序.

安装

  • 使用 IDE 内置插件系统安装:

    • File > Preferences(Settings) > Plugins > Browse repositories... > 搜索并找到"Kotlin code sorter" > Install Plugin
  • 手动安装:

重启IDE.

使用

  1. 默认快捷键 Ctrl + Alt + K.可自行修改: 2

  2. 当然也可以点击Code > Sort kotlin code > fields->initializer->constructors->functions

  3. 点击File >Settings >Other Settings >Kotlin Code Sorter 可以调整自己喜欢的排列顺序:

    3

灵感来自Lifecycle Sorter

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].