Autodesk-AutoCAD / AutoLispExt

Visual Studio Code Extension for AutoCAD® AutoLISP
https://marketplace.visualstudio.com/items?itemName=Autodesk.autolispext
Apache License 2.0
85 stars 29 forks source link

Fail to go to definition on Mac unless open the lsp file #154

Closed YitingTang-91 closed 3 years ago

YitingTang-91 commented 3 years ago

Describe the bug Mac Only. Fail to go to definition unless open the lsp file with definition of function. To Reproduce Steps to reproduce the behavior:

  1. Open folder in vscode. The folder includes a/a.lsp and b/b.lsp.
  2. a.lsp defines function foo(), b.lsp invokes function (foo)
  3. Ensure a.lsp is not opened in vscode

Expected behavior (foo) in b.lsp could goto (defun foo) in a.lsp

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

JD-Howard commented 3 years ago

Confirming that PR #167 resolves this. Here is a screenshot of what my interpretation of the issue stated would cause the problem, but with #167 loaded, I get the expected jump.

Screen Shot 2021-09-21 at 4 48 36 PM