Open
Description
I am using multilspy
client for typescript language server. Multilspy
I am testing on this repo: https://github.com/rchl/test-tsx.
from multilspy import SyncLanguageServer
from multilspy.multilspy_config import MultilspyConfig
from multilspy.multilspy_logger import MultilspyLogger
config = MultilspyConfig.from_dict({"code_language": "typescript"}) # Also supports "python", "rust", "csharp", "typescript", "javascript", "go", "dart", "ruby"
logger = MultilspyLogger()
lsp = SyncLanguageServer.create(config, logger, "/workspaces/test-tsx/")
with lsp.start_server():
result = lsp.request_references(
"feature.tsx", # Filename of location where request is being made
9, # line number of symbol for which request is being made
18 # column number of symbol for which request is being made
)
print(result)
It is able to detect the references from the same file, but it is not able to detect the reference of Feature
Component in app.tsx
. Am i missing something here.
Metadata
Metadata
Assignees
Labels
No labels