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

Allow folders when "Implicit Mutual Exclusion" is used #69

Open
Paril opened this issue Jan 13, 2025 · 0 comments
Open

Allow folders when "Implicit Mutual Exclusion" is used #69

Paril opened this issue Jan 13, 2025 · 0 comments

Comments

@Paril
Copy link

Paril commented Jan 13, 2025

Currently, this feature seems to have each folder treated as a unique AngelScript module - this probably makes sense if you've got multiple projects in one folder, but I'd like to organize some of my script files into subfolders. Unfortunately, this seems to break the LSP.

Random types (even ones within the same subfolder) are not picked up; for instance I have game\client.as and game\edict.as, but ASClient declared in client.as seemingly cannot be seen in edict.as. It should be easy to reproduce with this setup;

  • Have "Implicit Mutual Inclusion" enabled
  • Make two subfolders in project root
  • Make a.as in one folder, and b.as in the second folder
  • Create a type in a.as
  • Attempt to use the type in b.as
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

1 participant