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

Go To Definition opens the server class not the local file #14

Closed
kwagner2853 opened this issue Mar 4, 2019 · 2 comments
Closed

Go To Definition opens the server class not the local file #14

kwagner2853 opened this issue Mar 4, 2019 · 2 comments

Comments

@kwagner2853
Copy link

When using the F12 command (Go To) to jump to a method, property, class, etc. The read-only server copy is what opens, is/can there be a way to jump to the local (editable) file instead?

@daimor
Copy link
Member

daimor commented Mar 4, 2019

actually, It should already work as requested. In first it tries to find a class locally in the workspace, and then open from the server. Can you try to give some more details if you can represent it with the latest version of extension.

@kwagner2853
Copy link
Author

Yes, thank you. I believe it used to function as you described but since 0.7.10 I believe that changed unless I have something configured differently.

In my workspace I have a file that I am editing ( File A) and its related file (File B) both open and editable.

If in File A I press F12 (Go To) on a method that is in File B it opens the server version (File C) which is read only, you can see that now both the workspace and the server versions of the same file are now open (see snippets)

image

Please let me know if I can provide any more details to assist, thank you very much!

@daimor daimor closed this as completed May 13, 2019
@daimor daimor transferred this issue from daimor/vscode-objectscript-fork Jun 12, 2019
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