Enhanced Google AI Studio Chat Navigator

Adds a floating Table of Contents with code block detection for navigating chat messages in Google AI Studio

Penulis
Ivan Velikanov
Pemasangan harian
0
Total pemasangan
5
Nilai
0 0 0
Versi
2.0
Dibuat
28 April 2025
Diperbarui
28 April 2025
Size
42,3 KB
Lisensi
MIT
Berlaku untuk

This Tampermonkey script creates a table of contents (TOC) for Gemini AI Studio, addressing several navigation challenges. In Gemini, conversations can become extremely long, especially with its extended context size. Unlike Claude, where code and artifacts are separately accessible, Gemini embeds everything within responses, making navigation difficult when scrolling through extensive content.
The AI Studio interface presents additional challenges: you often need to scroll to the top of code blocks to identify which file they represent, then scroll to the bottom to find the copy button – a tedious process. This TOC script solves these problems by allowing you to jump directly to specific responses or individual files/artifacts within each response.
The script also provides two convenient buttons: one to copy the code itself and another to copy the filename. The filename copy feature is currently implemented only for Java (my first and most familiar programming language). This allows you to quickly create properly named Java files in your IDE and paste the code without confusion about which version you're working with.
This tool saves significant time, eliminates excessive scrolling, and prevents confusion when managing multiple code versions in long AI Studio conversations.