Hello everyone! After 2 months of using julia in vscode without any problems I am having this issue now: I cannot execute active files in the REPL and I can also not execute the code line by line. In the output of Julia Language Server there is a long list with warnings. Its always like “Warning: CSTParser took a long time (7 seconds) to parse”+ the name of a julia file with results from the last weeks. This warning appears for many result files. These files are in a subfolder of the folder in wich I am working. The files are synchonized with git.
However, I do not get the execution problems (and also not the list of warning of the Language Server) when I just open the file I want to work with but not the folder where the file is saved in.
What I have tried so far: Uninstall julia and the Language Support Extension in vscode and reinstall it, also restarting my computer.
oh sorry, by result files I mean julia files, that contain the results of optimization cases that I solved in the last two weeks. They contain variables and vectors, but I just saved them in a subfolder, I don’t use them or call them anywhere.
This is what the output of the language server looks like where these result files are listed.
I still don’t understand what that means Results of an optimization to me sounds like data, and I don’t understand why that would be saved as a Julia file? Julia files typically contain code, not data? Could you maybe post a small example?
I have a dynamic optimization problem which is discretized, so for example for initialization with a previous solution I find it an easy way to include a julia file that contains the values of the variables.
Here is a very short example :
t = [0.0 8.527806414692522 35.47219358530748 55.0; 55.0 63.52780641469252 90.47219358530748 110.0]
they can be much larger. the length of each array depends on the time horizon. so in the longest case the array size for each variable is 4800x4 and I have 12 time-dependent variables.
Do you think you could share one of those files with me? You can find my email address on my github profile davidanthoff (David Anthoff) · GitHub. I’m wondering whether our parser just in general is not optimized for that kind of data size in say an array expression…