Skip to content

Feature Request: Clickable Build Errors - Auto Navigate to Source Line #1186

@sb-codz

Description

@sb-codz

Issue Checklist

  • I confirm that this feature request has not been previously suggested.
  • I agree to follow the project's code of conduct.
  • I have checked and verified that I am using the latest version of Code on the Go from GitHub or App Dev for All.

Additional terms

  • I understand that feature requests are subject to evaluation and may not be implemented immediately.
  • I agree to provide additional details if needed for a clearer understanding of the requested feature.

Feature description

Currently, build output logs in AndroidIDE (Code On The Go) display errors and warnings as plain text. These logs often include file paths, line numbers, and error types, but they are not interactive.

Example:

/path/to/file/MediaRepository.java:67: error: incompatible types

The proposed feature is to automatically detect such patterns in build logs and make them clickable. When a user taps on a log line:

  • The IDE should open the corresponding file
  • Navigate to the exact line number
  • Place the cursor on that line (optionally highlight it)

This behavior should work for both errors and warnings, and support common compiler outputs (javac, kotlinc, Gradle).


Use Case

When developing on mobile:

  • A user runs a build and gets multiple errors/warnings
  • Instead of manually locating files and lines, the user taps directly on a log entry
  • The IDE instantly opens the file at the exact location of the issue

Example flow:

  1. Build fails with:
    QueueAdapter.java:83: warning
  2. User taps the line
  3. IDE opens "QueueAdapter.java" at line 83 with cursor focused

This is especially useful on small screens where navigation is slower and less precise.


Suggested Implementation Ideas
Use regex like:

(.+.java):(\d+):\s+(error|warning):

  • Attach click spans to matched lines
  • Integrate with editor navigation API:
  • openFile(path)
  • goToLine(line)

Additional Enhancements (Optional)

  • Error panel with grouped issues
  • Filter: Errors / Warnings
  • Tap to cycle through errors
  • Inline annotations in editor

(Reference or example images creating by ai)
ChatGPT Image Apr 22, 2026, 10_41_46 PM.png

Benefits

  • ⚡ Faster debugging – No manual searching for files and line numbers
  • 📱 Mobile-friendly workflow – Reduces friction on small screens
  • 🎯 Improved accuracy – Direct navigation to exact issue location
  • 🧠 Better developer experience – Similar to Android Studio / VS Code
  • 🚀 Productivity boost – Quickly jump between multiple errors

🙏 Summary

Making build log errors clickable with automatic navigation will significantly enhance the usability of AndroidIDE for on-device development.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions