I use version catalogs hosted in the company maven nexus repo. Is there a way to see the toml file in Android Studio, to see the version values locally.
Right now I go to /.gradle cache and open the version-catalog.toml from there. But is there an option to see it from Android Studio?
Would be handy if gradle places the toml file under
/gradle
directory in AS
v
Vampire
07/13/2023, 6:19 PM
That's probably more a topic for IntelliJ issue tracker I guess.
p
Pablichjenkov
07/13/2023, 6:23 PM
Ah ok, giving their channel a try.
c
Casey Brooks
07/13/2023, 6:28 PM
You can bookmark the file. Doesn’t navigate directly, but does give you quick access to the file without digging through the .gradle directory.
Right-click the file > Bookmarks > Add Bookmark https://www.jetbrains.com/help/idea/bookmarks.html
p
Pablichjenkov
07/13/2023, 7:24 PM
Oh wow never used this before, thanks. However, I think it would be handy if the IDE places a copy of whatever version-catalog I point to, under the .gradle directory or under the gradle directory. The bookmark helps but once I upgrade the catalog version then I manually have to update the bookmark too.
v
Vampire
07/13/2023, 7:28 PM
If the IDE sees the jar as dependency, you might be able to use the "go to file" action and typing in the file name to quickly go to file. Strg+Shift+n is the default shortcut in IntelliJ.