Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » In eclipse, when I input an "Enter" key in ".c" file, next time I open this file
In eclipse, when I input an "Enter" key in ".c" file, next time I open this file [message #1828752] Thu, 18 June 2020 06:32 Go to next message
san zhang is currently offline san zhangFriend
Messages: 7
Registered: May 2020
Junior Member
In eclipse, when I input an "Enter" key in ".c" file, next time I open this file,messy code shows.
  • Attachment: 111.jpg
    (Size: 135.30KB, Downloaded 77 times)
Re: In eclipse, when I input an "Enter" key in ".c" file, next time I open this [message #1828758 is a reply to message #1828752] Thu, 18 June 2020 07:22 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33210
Registered: July 2009
Senior Member
Try asking on the CDT forum: http://www.eclipse.org/forums/eclipse.tools.cdt

Keep in mind that most people looking at your picture won't know what's messy and what's normal. I.e., what did it look like when it wasn't messy? Perhaps there is some encoding issue involved?


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: In eclipse, when I input an "Enter" key in ".c" file, next time I open this [message #1828793 is a reply to message #1828758] Thu, 18 June 2020 16:35 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4488
Registered: July 2009
Senior Member

Your OS probably has a built-in way to capture the screen more cleanly, plus a before and after set of pictures would make this easier to understand.


_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: In eclipse, when I input an "Enter" key in ".c" file, next time I open this [message #1828800 is a reply to message #1828758] Fri, 19 June 2020 00:28 Go to previous message
san zhang is currently offline san zhangFriend
Messages: 7
Registered: May 2020
Junior Member
Ed Merks wrote on Thu, 18 June 2020 07:22
Try asking on the CDT forum: http://www.eclipse.org/forums/eclipse.tools.cdt

Keep in mind that most people looking at your picture won't know what's messy and what's normal. I.e., what did it look like when it wasn't messy? Perhaps there is some encoding issue involved?

normally it should show as below:
void main()
{
printf("Hello World");
}
but now it shows as picture,thoroughly messy, I set encoding in window->preference->general->workspace and file encoding property same, still show messy.
Previous Topic:Eclipse CDT .project file loses all linked resources 50% of the time
Next Topic:Bad file number
Goto Forum:
  


Current Time: Fri Sep 13 11:19:38 GMT 2024

Powered by FUDForum. Page generated in 0.03309 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top