My ide will get stuck when opening large source files. What's the reason! However, using the text editor provided by Linux will not be blocked
Because there are bugs.
What version are you using?
If you're using 17.12 or 20.03 the performance in particular cases is much improved.
Quote from: oBFusCATed on July 15, 2020, 08:29:33 PM
Because there are bugs.
What version are you using?
If you're using 17.12 or 20.03 the performance in particular cases is much improved.
My software version used to be 16.01. Later, it was upgraded to 20.03, which has always been a problem
If you're using 20.03 and still have the problem you'll have to provide a project file.
You don't have to give me the sources, just the project file might be enough.
If it something not for the public you can send it in a PM.
You give me your email address and I'll send you the *. C file. This document is not particularly important, but I hope you can keep it confidential for me. thank you!
Are you using openSUSE?
What are the line endings of the file?
What are the line endings settings in codeblocks?
See this error report:
http://forums.next.codeblocks.org/index.php/topic,24004.msg163763.html#msg163763
could it be the same problem?
The operating system is Ubuntu.
The source file is standard C language. It's just that the file is huge, 190, 000 lines.
Here is the end of the file
SOAP_FMAC3 char ** SOAP_FMAC4 soap_get_string(struct soap *soap, char **p, const char *tag, const char *type)
{
if ((p = soap_in_string(soap, tag, p, type)))
if (soap_getindependent(soap))
return NULL;
return p;
}
#ifdef __cplusplus
}
#endif
#if defined(__BORLANDC__)
#pragma option pop
#pragma option pop
#endif
/* End of soapC.c */
QuoteHere is the end of the file
Not the "end of the file"
but the type of line ending you are using. https://en.wikipedia.org/wiki/Newline
to get the line ending in a command line type
file THEPROBLEMTICFILE.Creplace THEPROBLEMTICFILE.C with the path to your file and post the output here
@BlueHazzard: I doubt this is the problem.
@luoyujian:
What happens if you disable the CodeCompletion plugin?
If there are many many top level functions in the file, I think I know what the problem is.
I guess I've misread the topic, I thought that you have a big project file.
Quote from: oBFusCATed on July 16, 2020, 08:54:47 PM
@BlueHazzard: I doubt this is the problem.
@luoyujian:
What happens if you disable the CodeCompletion plugin?
If there are many many top level functions in the file, I think I know what the problem is.
I guess I've misread the topic, I thought that you have a big project file.
I'm sorry, I was busy with other projects during this period and ignored this problem. Thank you for your answer!
I may not have expressed the question clearly. I have a 8M large c program source file, open with IDE, it will be stuck. Disable the codecompletion will not solve the problem
报错 笔记双语对照
Quote from: BlueHazzard on July 16, 2020, 01:31:40 PM
QuoteHere is the end of the file
Not the "end of the file"
but the type of line ending you are using. https://en.wikipedia.org/wiki/Newline
to get the line ending in a command line type
file THEPROBLEMTICFILE.C
replace THEPROBLEMTICFILE.C with the path to your file and post the output here
I'm sorry, I was busy with other projects during this period and ignored this problem. Thank you for your answer!
I may not have expressed the question clearly. I have a 8m large c program source file, open with IDE, it will be stuck. Disable the codecompletion will not solve the problem
报错 笔记双语对照
And the file command gave what output!
Edit2: I type "file notes.txt" without the double quotes on the command line and the result looked like the below.
$ file notes.txt
notes.txt: ASCII text, with CRLF line terminators
If I recall correctly the file command does not report on normal LF line terminators.
Tim S.
Edit1:
Quote from: BlueHazzard on July 16, 2020, 01:31:40 PM
QuoteHere is the end of the file
Not the "end of the file"
but the type of line ending you are using. https://en.wikipedia.org/wiki/Newline
to get the line ending in a command line type
file THEPROBLEMTICFILE.C
replace THEPROBLEMTICFILE.C with the path to your file and post the output here
Tim S.
We need a way to reproduce the problem. You can PM me the file or a link to the file.
Quote from: oBFusCATed on September 12, 2020, 01:56:15 PM
We need a way to reproduce the problem. You can PM me the file or a link to the file.
Please visit the following link to extract the file.
https://pan.baidu.com/s/1aSi4_wG01SYq3rq_BnOCQQ
If a password is required, the file extraction password is: 1111
The link seems to have expired or at least I don't understand any of the text in the page.