blarify icon indicating copy to clipboard operation
blarify copied to clipboard

LSP server did not return anything for java codebase

Open suil opened this issue 1 month ago • 0 comments

when parsing java, the inheritance and use relations cannot be built. I think the problem is that LSP server return nothing for java code. here is the line: https://github.com/blarApp/blarify/blob/main/blarify/vendor/multilspy/language_server.py#L429

this is my script

root_path = '...'
lsp_query_helper = LspQueryHelper(root_url=root_path)

project_files_iterator = ProjectFilesIterator(
    root_path,
    lsp_query_helper,
    project_files_iterator,
)
graph = graph_creator.build()

relationships = graph.get_relationships_as_objects()
nodes = graph.get_nodes_as_objects()

suil avatar Nov 10 '25 22:11 suil