AndroidIDE icon indicating copy to clipboard operation
AndroidIDE copied to clipboard

Improve `Go to Definition`

Open Abiddarris opened this issue 1 year ago • 0 comments

Issue Checklist

  • [X] I confirm that this feature request has not been previously suggested.
  • [X] I agree to follow the project's code of conduct.
  • [X] I have checked and verified that I am using the latest version of AndroidIDE from GitHub or F-Droid.

Additional terms

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

Feature description

When selecting a class, method, or field and clicking Go to Definition it should direct to the file that declares the class or method, or field. If the file that declares the class, method, or field is inside a .jar, consider decompiling the class. However, if decompiling the class is not possible, simply create a file that contains all public and protected methods, fields, and classes, like this:

package java.io;

public class BufferedWriter extends Writer {

    public BufferedWriter(Writer out) {}

    public BufferedWriter(Writer out, int sz) {}
    
    public void write(int c) throws IOException {}

    public void write(char cbuf[], int off, int len) throws IOException {}

    public void write(String s, int off, int len) throws IOException {}

    public void newLine() throws IOException {}

    public void flush() throws IOException {}

    public void close() throws IOException {}

}

Use Case

This definitely helps when we want to navigate around our projects.

Benefits

This definitely helps when we want to navigate around our projects.

Abiddarris avatar May 11 '24 07:05 Abiddarris