Upgrade to Pro — share decks privately, control downloads, hide ads and more …

✨ Project Sparkles: how Compose is changing And...

✨ Project Sparkles: how Compose is changing Android Studio (with Chris Sinco)

We use Android Studio every day, and appreciate how its rich feature set makes our job easier. Most people know that Android Studio is built on the IntelliJ Platform, the same that underpins the popular IntelliJ IDEA from JetBrains, which has seen lasting success for over 20 years. It’s a solid, expansive, and by far the best foundation on which we could stand on to deliver Android-oriented goodies.

However, some parts of the IntelliJ Platform show the signs of time; in particular its UI framework, Swing, is proving the most limiting, having been around for almost 30 years. Don’t get us wrong — it works, and the IDEs themselves prove you can ship complex UIs by using Swing on the IntelliJ Platform. But as we looked at how nice it is to develop UIs on Android by using Jetpack Compose, we thought: why don’t we do the same?

Enter Project Sparkles, which aims at gradually introducing new high-quality, polished UI surfaces in Android Studio, developed in Compose for Desktop, with all the bells and whistles you can expect from a top-tier interface. In this talk, we’ll cover how Project Sparkles is impacting the development of Android Studio, addressing long-standing user feedback, and how we’re working together with other teams at Google and JetBrains to build a framework to make your favourite IDE even better and easier to understand.

We’ll demonstrate a few examples of features already shipping that are powered by Project Sparkles, explain what our goals and ambitions are, and even show some sneak peeks of things you may see in a future Studio version. UI enthusiasts, assemble!

Sebastiano Poggi

October 31, 2024
Tweet

More Decks by Sebastiano Poggi

Other Decks in Programming

Transcript

  1. WHY

  2. $ IDE more usable & crafted ⏩️ Velocity to produce

    and ship ➡️ Better UX Better Dev UX
  3. % for all developers ⏩️ Velocity to produce and ship

    $ IDE more usable & crafted ➡️ Better UX Better Dev UX
  4. $ Koala.2 Task-based profilers ✦ First testing grounds ✦ Make

    profiling easier to understand ✦ No Compose bugs reported
  5. $ Koala.2 Task-based profilers ✦ First testing grounds ✦ Make

    profiling easier to understand SUCCESS ✨ ✦ No Compose bugs reported
  6. Add Device flow & Ladybug.2 ✦ Refresh outdated design ✦

    Optimize for common cases ✦ First Compose- based dialog ✦ Table layout
  7. Gemini in Android Studio ' Meerkat.1 ✦ Feature parity with

    Swing ( ✦ Rewriting chat in Compose
  8. Gemini in Android Studio ' Meerkat.1 TAKE ADVANTAGE OF COMPOSE!

    ✦ Manage complexity ✦ Increase polish
  9. Markdown preview ) ?????? ✅ Basic Markdown rendering ⏳ Actual

    Markdown preview Gemini uses this ✦ Tables, images, and more ✦ Scroll syncing ✦ Actually putting it in the IDE