Transformez vos extraits Gradle en images que l’on a envie de partager, sans quitter votre Mac.
Build files get screenshotted when someone is being told exactly what to add and where, which makes surrounding context more important than usual.
Codeshot détecte Gradle à partir du code que vous collez : aucun sélecteur de langage à se tromper. Voici le même extrait dans trois des 30 thèmes fournis, rendus avec les feuilles de style de l’app.
plugins {
id 'com.android.application'
id 'org.jetbrains.kotlin.android'
}
dependencies {
implementation 'androidx.core:core-ktx:1.13.1'
testImplementation 'junit:junit:4.13.2'
}
Atom One · sombre
plugins {
id 'com.android.application'
id 'org.jetbrains.kotlin.android'
}
dependencies {
implementation 'androidx.core:core-ktx:1.13.1'
testImplementation 'junit:junit:4.13.2'
}
GitHub · sombre
plugins {
id 'com.android.application'
id 'org.jetbrains.kotlin.android'
}
dependencies {
implementation 'androidx.core:core-ktx:1.13.1'
testImplementation 'junit:junit:4.13.2'
}
Tokyo Night · sombre
Choisir un thème pour Gradle
Show the enclosing block, not just the line to add. A dependency without its dependencies block is the classic way to confuse someone.
Trouver la bonne taille
Laissez l’image suivre votre contenu ou fixez un rapport — 1:1, 4:3, 3:2, 16:9, 9:16, 2:3 ou 3:4 — puis exportez en 1×, 2× ou 3× pour qu’elle reste nette sur un écran retina. Copiez-la dans le presse-papiers avec ⌘⇧C ou enregistrez avec ⌘S.