emacs-lsp / lsp-treemacs

lsp-mode :heart: treemacs
GNU General Public License v3.0
403 stars 48 forks source link

`lsp-treemacs-call-hierarchy` doesn't work #164

Open Crayon277 opened 1 year ago

Crayon277 commented 1 year ago

Environment macOS: Ventura 13.5.1 emacs: emacs-plus@29.1 (installed by brew) lsp-java: 20230827.428 jdtls : jdt-language-server-1.26.0-202307271613 java : 17 (JAVA_HOME is setted by jenv) lsp-treemacs: Version: 20230811.611 treemacs : version 20230912.1707

To Reproduce

  1. C-x C-f create file named Application.java
  2. code

    
    public class Application{
    public static void main(String[] args){
    test();
    }
    
    public static void test(){
    test1();
    }
    
    public static void test1(){
    System.out.println("hello world!");
    }

}

3. place cursor on the `main` method
4. `M-x lsp-treemacs-call-hierarchy`

**Expected behavior**

ScreenShots

image
yyoncho commented 1 year ago

Use C-u M-x lsp-treemacs-call-hierarchy for outgoing, and without prefix for the incomming.

Crayon277 commented 1 year ago

Use C-u M-x lsp-treemacs-call-hierarchy for outgoing, and without prefix for the incomming.

Still doesn't work.

image