Problem with editing large sources in VS code Code for i #2635
Replies: 2 comments 5 replies
-
Well I can assure you VS Code doesn't have a problem with large files, and the error you're seeing is from the compiler. I have asked a colleague if they have idea about compiler limits with source members. |
Beta Was this translation helpful? Give feedback.
-
The compiler can handle 100,000's of lines of code. Not sure of the exact limit, but it isn't 10k for certain. However, the IBM Compiler EVENT file (EVEVENTF I think?) may have some issues with excessive site--although I've never heard of any. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
We are are struggling with editing large sources in code for i. We have attempted to recreate the issue using a test pgm, containing the same 6 lines of code in repeat:
if var1 = 'A';
var1 = 'B';
endif;
if var1 = 'B';
var1 = 'A';
endif;
When the source becomes longer than around 10 000 to 11 000 lines, the compilation fails with strange compilation errors.
Could this be related a timeout?
the compilation takes around 16 seconds to finish.
Beta Was this translation helpful? Give feedback.
All reactions