Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Crayon277 opened this issue Sep 13, 2023 · 2 comments
Open

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

Crayon277 opened this issue Sep 13, 2023 · 2 comments

Comments

@Crayon277
Copy link

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!");
    }

}
  1. place cursor on the main method
  2. M-x lsp-treemacs-call-hierarchy

Expected behavior

- main
- -test
- - -test1

ScreenShots

image
@yyoncho
Copy link
Member

yyoncho commented Sep 13, 2023

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

@Crayon277
Copy link
Author

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

Still doesn't work.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants