Developer forums (C::B DEVELOPMENT STRICTLY!) > Contributions to C::B

My ide will get stuck when opening large source files. What's the reason! Howeve

<< < (2/3) > >>

BlueHazzard:
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.codeblocks.org/index.php/topic,24004.msg163763.html#msg163763
could it be the same problem?

luoyujian:
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

--- Code: ---
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 */

--- End code ---

BlueHazzard:

--- Quote ---Here is the end of the file
--- End quote ---
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

--- Code: ---file THEPROBLEMTICFILE.C
--- End code ---
replace THEPROBLEMTICFILE.C with the path to your file and post the output here

oBFusCATed:
@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.

luoyujian:

--- Quote from: oBFusCATed on July 16, 2020, 08:54:47 pm [email protected]: 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.

--- End quote ---
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

  报错 笔记双语对照

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version