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

Many Issues while loading included files #643

Open
RaptorX opened this issue Nov 21, 2024 · 1 comment
Open

Many Issues while loading included files #643

RaptorX opened this issue Nov 21, 2024 · 1 comment

Comments

@RaptorX
Copy link
Contributor

RaptorX commented Nov 21, 2024

This has happened before:
The extension sometimes has troubles loading the included classes and functions.

For example, if you open a folder and open a file that is not the main file (say a file in the lib folder) and then you close vs code and re open it with that being the first file open, none of the classes load correctly.
image

Usually you can go to the main script file in the root folder and set script dir to "fix" the problem.

But that isnt working at the moment... at least not consistently. Some times that doesnt help.

Opening the main script file (in the root folder) and then reopening vs code also has issues some times and then you are forced to modify the file before the parser even tries to load the classes or included files.

Some times even after modifying the file and seting the script dir and reloading you still have issues with many classes being marked as not found.

This was not as common before. Not sure what changed.

@RaptorX
Copy link
Contributor Author

RaptorX commented Dec 3, 2024

This is one of those issues that are present on the new version of the extension:

[Error - 10:54:12 AM] Request workspace/executeCommand failed.
Message: Request workspace/executeCommand failed with message: Maximum call stack size exceeded
Code: -32603

This issue was introduced on 2.5.5, prior to that, the same files loaded correctly.

here is an example of when it happens

screenshare.mp4

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