You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Recently, I use vscode with fortls and i find a bug.
When fortran project is big(like cp2k), fortls/langserver.py:1473 will use up all thread resources, as #207 shows.
and parsers/internal/parser.py:2257 will show this error
File "/home/chenys/miniforge3/lib/python3.10/site-packages/fortls/parsers/internal/parser.py", line 2257, in preprocess_file
forinclude_dirin include_dirs:
RuntimeError: Set changed size during iteration
Describe the solution you'd like
I fix this issue with those code.
use concurrent.futures to fix using up threads pool fortls/langserver.py:1473:
Is your feature request related to a problem? Please describe.
Recently, I use vscode with fortls and i find a bug.
When fortran project is big(like cp2k),
fortls/langserver.py:1473
will use up all thread resources, as #207 shows.and
parsers/internal/parser.py:2257
will show this errorDescribe the solution you'd like
I fix this issue with those code.
fortls/langserver.py:1473
:parsers/internal/parser.py:2257
:Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: