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 in the VS code editor ([F12]) should not include source files with BuildAction set to None #1630

Open
pemo11 opened this issue Nov 15, 2024 · 2 comments

Comments

@pemo11
Copy link

pemo11 commented Nov 15, 2024

The GoTo Definition entry in the context menu is very helpful but it should not include source files with BuildAction set to None because these are just text artefacts.

At the moment when a method is both part of an "active" prg file and of a prg file with BuildAction set to None either one of the definition is shown (it appears that both versions are shown alternately).

This is confusing and can lead to situations where editing a code file seems to have no effect because its the wrong prg file.

@RobertvanderHulst
Copy link
Member

We will no longer send the source file with buildaction "None" to the language service as source files, but as "other" files.

@pemo11
Copy link
Author

pemo11 commented Nov 18, 2024

Thats very good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: To do
Development

No branches or pull requests

2 participants