A number of new Gemini options obtainable in newest Android Studio launch

A number of new Gemini options obtainable in newest Android Studio launch


The most recent function drop for Android Studio Ladybug is now obtainable, including in a number of new methods to work together with Gemini.

Gemini Code Transforms can modify, optimize, or add code to an app by right-clicking within the editor and choosing the Gemini > Generate Code choice or highlighting code and choosing Gemini > Rework Chosen Code. Builders can describe the code they wish to make and assessment the proposed adjustments earlier than accepting them.

“With Gemini Code Transforms, you may simplify advanced code, carry out particular code transformations, and even generate new capabilities. You can even refine the steered code to iterate on the code ideas with Gemini. It’s an AI coding assistant proper in your editor, serving to you write higher code extra effectively,” Steven Jenkins, product supervisor of Android Studio, wrote in a weblog put up

Different Gemini options added to the newest model of Android Studio embody:

  • Rename, which suggests acceptable names for single variables, courses, or strategies based mostly on context
  • Rethink, which analyzes code and suggests new variable and technique names throughout a complete file for bigger renaming refactors
  • Commit Message, which offers ideas for commit message based mostly on what modifications had been made
  • Generate Documentation, which creates documentation for the chosen code

The most recent launch additionally offers assist for Animation Preview for Put on OS Tiles, which is able to permit builders to visualise and debug tile animations. Builders can management playback with play, pause, and pace adjustment choices, and examine properties like preliminary/finish states and animation curves. 

Put on Well being Companies can be enabled, which offers a better and extra simplified method to check well being and health apps. Builders can customise parameters for an train, like coronary heart price, distance, and pace, without having entry to a bodily system or to carry out the exercise themselves. 

Android Studio Ladybug additionally now presents the App Hyperlinks Assistant, which serves legitimate JSON syntax for resolving damaged deep hyperlinks in an app. “You’ll be able to assessment the JSON file after which add it to your web site, resolving points shortly. This eliminates the guide creation of the JSON file, saving you effort and time. The device additionally means that you can examine present JSON recordsdata with newly generated ones to simply determine any discrepancies,” Jenkins wrote.

Different options on this launch embody enhanced lint warnings for public SDKs from the Google Play SDK Index and Google Play SDK Console, assist for IntelliJ 2024.2, and over 770 bug fixes.  

author avatar
roosho Senior Engineer (Technical Services)
I am Rakib Raihan RooSho, Jack of all IT Trades. You got it right. Good for nothing. I try a lot of things and fail more than that. That's how I learn. Whenever I succeed, I note that in my cookbook. Eventually, that became my blog. 
rooshohttps://www.roosho.com
I am Rakib Raihan RooSho, Jack of all IT Trades. You got it right. Good for nothing. I try a lot of things and fail more than that. That's how I learn. Whenever I succeed, I note that in my cookbook. Eventually, that became my blog. 

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here


Latest Articles

author avatar
roosho Senior Engineer (Technical Services)
I am Rakib Raihan RooSho, Jack of all IT Trades. You got it right. Good for nothing. I try a lot of things and fail more than that. That's how I learn. Whenever I succeed, I note that in my cookbook. Eventually, that became my blog.