-
-
Notifications
You must be signed in to change notification settings - Fork 37
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
Initialize Language Server Error in VScode large workspace #312
Comments
@jokervTv it appears you've reached a limitation of Python with regards to recursion.
Changing the recursion limit has adverse effects to general fortls behaviour, hence we won't be changing that. To be sure however you will have to provide code for me to investigate. You can upload a zip file with the sources to the issue, limit 25MB. |
Thank you so much for reading and for your prompt feedback. The code file has been uploaded via the link:MPAS-Model.tar.gz When I open the
As you said, modifying the default recursive limit is not a good choice, and I wholeheartedly agree with that. So, do you have any opinions on this matter? |
When I check the directories and exclude some it works fine. Thanks for your reading. |
Just hit this issue with another large fortran workspace. Maybe we should consider fixing it on the fortls side, like removing recursion? Legacy fortran-language-server was working fine with the same project... |
@alexeedm can you please post some steps to reproduce? We don't control the recursion limit and neither did fortran-language-server, so something that is reproducible would help shed some light in this behaviour. |
Steps are the same as for @jokervTv: just open a large project in the VScode and I also dug a bit deeper, and it seems that the error happens when I guess I'd just suggest to increase the recursion limit for fortls module, possibly optionally with a command-line argument. |
Yeap, I think this is the only sensible option. I remember a couple years ago when I tried to do this, increasing the recursion depth had no effect, maybe my test case was not very good. I will have a look. |
Describe the bug
Initialising Language Server Error in VScode.
To Reproduce
Open a large fortran workspace.
Start with posting:
long time no output
Alternatively, you can try and describe the steps that you followed to encounter the bug:
Setup information (please complete the following information):
Configuration information (please complete the following information):
Using default.
VScode Log
The text was updated successfully, but these errors were encountered: