Will `full line code completion` ever supported on...
# android-studio
u
Will
full line code completion
ever supported on android studio, since its free?
s
It’s not free, it’s part of IJ Ultimate. So probably not
u
isnt AS built on top of ultimate & google has some deal with them?
s
No I don’t think that’s exactly the case. And in any case I don’t think they’ve ever taken paid plugins and moved them to AS for free. I have even asked somewhere online if someone WITH an IJ Ultimate license could use that plugin in AS and I didn’t get a clear answer. The one thing that is for sure is that right now it’s not possible unfortunately
Here’s some discussion on this https://x.com/antonarhipov/status/1776130169649897769 where I was curious about the same thing
u
yea my thinking exactly, I would pay for it since its offline & stuff
s
Yeap. The one thing which is suggested here https://x.com/Yuriy_Artamonov/status/1776151050518405570 is to try and use IJ Ultimate for Android dev and that is one way to make use of it. But yeah, that’s the best one can do for now at least
u
does ultimate have compose previews?
s
I don’t actually know, but I have seen somewhere that Fleet does, so I assume it should by this point. I haven’t used IJ for Android for such a long time that I am not up to date with the details. I think you’ll probably find something if you google around or even search in this slack channel
m
Yes ultimate has compose previews. AFAIK it has all the features of AS.
s
Even layout inspector with recomposition counts, network inspector, that work manager inspector(?), browsing the files of an emulator, creating and managing emulators and so on?
m
Yes I'm using all of those features and they work same as AS. The only limitation I encountered is the updates of agp, ultimate is always behind. Let's say for example now in AS the maximum supported agp version is 8.5, in ultimate it should be 8.3 or something like that. But it's not a big deal for me.
s
Oh alright I didn't know that it's so up to date feature wise. So when you say it's lacking behind in agp versions, are they at least always up to the latest stable? Or can they sometimes be behind on the latest stable too? Because I know AS alphas and betas support latest stable + alpha or beta agp versions accordingly.
u
theyre behind, I've loaded our project with agp 8.3.1 and it says max supported is 8.2
m
No unfortunately it's not updated up to the latest stable.
s
Oh rip, that's kind of a deal breaker then. I have other engineers working on the same project who definitely expect the repo to at least be using latest stable agp. I wouldn't really want to force everyone to downgrade.
m
Well sometimes I contribute to projects with the latest agp version, and I just don't publish the downgrade and it should be fine.
Getting the latest intellij updates and better multiplatform support is worth it haha
s
Hmmm yeah, keep the downgrade locally and never check that in, if it does not conflict with the build setup of course. Might be worth a try even if it's for a little bit if it means I can give this feature a try tbh. Thanks a lot for answering my questions here 👐
🙌 1
c
Until JetBrains decides to bring the feature to IntelliJ Community, then no. Though I can imagine we might introduce a similar feature with Gemini in the future (it’s been discussed but we have other things on the roadmap taking priority right now).
s
I am sure you’re a tired of hearing this Chris, but since I am in the EU I I know even if Gemini in AS delivers something equivalent I just won’t get access to it anyway 🤷 It’s unfortunate but it is this way. Btw do you happen to know what is it that makes IJ be a bit behind in AGP versions on the latest releases? Seems like AS has done leaps lately in regards to keeping up with IJ releases, which is incredibly obvious by the latest alpha Koala release which released with 2024.1.1 almost instantly. Does this also give room for the same to happen the other way around too, and have IJ keep up better with AGP? Or are those two things just completely unrelated to each other and one does not help the other?
c
I am sure you’re a tired of hearing this Chris, but since I am in the EU I I know even if Gemini in AS delivers something equivalent I just won’t get access to it anyway
We hear you and are actively working on it. The legal processes have taken much longer than expected
🙏 1
Btw do you happen to know what is it that makes IJ be a bit behind in AGP versions on the latest releases?
The merge delays go both ways between IJ and AS. Because we are merging IJ changes faster, this will enable IJ to merge AS changes faster.
thank you color 1
u
pls I just want a offline autocomplete, however gives it to me, i'll pay