You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
frommultilspyimportSyncLanguageServerfrommultilspy.multilspy_configimportMultilspyConfigfrommultilspy.multilspy_loggerimportMultilspyLoggerconfig=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/")
withlsp.start_server():
result=lsp.request_references(
"feature.tsx", # Filename of location where request is being made9, # line number of symbol for which request is being made18# 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.
The text was updated successfully, but these errors were encountered:
I am using
multilspy
client for typescript language server. MultilspyI am testing on this repo: https://github.com/rchl/test-tsx.
It is able to detect the references from the same file, but it is not able to detect the reference of
Feature
Component inapp.tsx
. Am i missing something here.The text was updated successfully, but these errors were encountered: