Even with the "scroll lock" option enabled for the Eclipse console, eventually it overfills and starts auto-scrolling on me.
Is there some way of increasing the capacity of the console so that it stores more lines? I wasn't able to find the option.
Under Window > Preferences, go to the Run/Debug > Console section, then you should see an option "Limit console output." You can uncheck this or change the number in the "Console buffer size (characters)" text box below.
(This is in Galileo, Helios CDT, Kepler, Juno, Luna, Mars, Neon, Oxygen and 2018-09)
Open the Windows > Preferences menu.
Expand the Run/Debug > Console preferences.
Set the Console buffer size (characters) to something much bigger. 2147383647 / ~2GB is the upper limit (or 1000000 / ~1MB in older releases). Or just uncheck the Limit console output.
For CDT users / C/C++ build, also adjust the setting
in Window > Preferences
under C/C++ > Build > Console (!)
(This time in number of lines.)
This also affects the "CDT Global Build Console".
Alternative
If your console is not empty, right click on the Console area > Preferences... > change the value for the Console buffer size (characters) (recommended) or uncheck the Limit console output (not recommended):
On the MAC OS X 10.9.5 and Eclipse Luna Service Release 1 (4.4.1), its not found under the Window menu, but instead under: Eclipse > Preferences > Run/Debug > Console.
Window > Preferences, go to the Run/Debug > Console section >> "Limit console output.>>Console buffer size(characters):"
(This option can be seen in Eclipse Indigo ,but it limits buffer size at 1,000,000 )
Under Window > Preferences, go to the Run/Debug > Console section, then you should see an option "Limit console output." You can unchecked this or change the number in the "Console buffer size (characters)" text box below. Do Unchecked.
This is for the Eclipse like Galileo, Kepler, Juno, Luna, Mars and Helios.
Please go through the below guidelines. Do the changes accordingly.
For C++ users, to increase the Build console output size see here
ie Windows > Preference > C/C++ > Build > Console
Eclipse has limit of 32000 characters per line. If you have, for example JSONObject, which you want to log into console, you won't succeed. You can't handle this with the checkbox. Tested
Related
Steps to reproduce:
Open eclipse jee.
Open any file containing text.
Error Screenshot:
Eclipse Version:
That's the print margin, which has been enabled by default in the Eclipse IDE for Enterprise Java and Web Developers (jee) 2021-06, but not in other IDE packages.
To turn it off, in Window (macOS: Eclipse) > Preferences: General > Editors > Text Editors uncheck the checkbox Show print margin.
For details see this Twitter thread.
Is it possible to remove a work-space from recent work-spaces on Eclipse IDE startup window?
In the Preferences go to the 'General > Startup and Shutdown > Workspaces' page where you can edit the list shown during startup.
You can also set the number of workspace remembered and turn the list on/off.
I am trying to print a long list (over 50,000 elements) with python using eclipse editor. There is a strange problem. When i run the code, i am able to see only half of the output list.
when i ran this program with the python gui, it runs fine.
are there any settings to be considered in eclipse pydev?
I don't know (but don't think so) if there are any settings specific to pydev you should consider. But generally, Eclipse limits the console output. See Window -> Preferences -> Run/Debug -> Console: by default, "Limit console output" is checked and the limit is set rather low.
I would like Eclipse to automatically save every time I edit a file, in much the same way that it builds automatically. Because I've been using IntelliJ for the last year (which saves automatically by default), I keep having the following problem:
Make some changes in Eclipse
Forget to press save
Run the build, unit tests, and notice some strange behaviour
(Some time later....) realize that the unexpected behaviour occurred because I forgot to save the changes
Is there any way I can make Eclipse save automatically?
Eclipse Neon (4.6)
Window > Preferences
General > Editors > Autosave > check Enable autosave for dirty editors > choose the value for autosave interval (in seconds)
Details in M7:
Auto-save of dirty editors is now available in Eclipse. The autosave option is disabled by default. A new autosave preference page (Preferences > General > Editors > Autosave) is available and allows to enable/disable the autosave and change the interval of autosave. The countdown is reset on keyboard activity, mouse click, or when a popup is displayed (e.g. content assist, preference page, ...).
You can go here and check the box Save automatically before build
Windows > Preferences > General -> Workspace
First, try Window -> Preferences -> General -> Workspace. There you can check "Save automatically before build" and "Build automatically."
If that does not work,
PLEASE TRY
Preferences -> Run/Debug -> Launching -> "Save dirty editors before
launching"
You can do it with the saveDirtyEditor plugin as referenced in this question/answer. There is no non-plugin way of doing it.
I wrote an Eclipse plugin for this called smartsave. It's available in the Eclipse Market Place.
It saves your files at a specified interval and you can even tune it to prevent saving if errors, or warnings, are present in the preferences dialog.
In Helios this can be done by going to preferences and setting:
Run/Debug > Launching > Save required dirty editors before launching
For Eclipse Mars 2, the settings are below Window > Preferences > General > Workspace. These settings are in minutes and not in seconds.
You could go to Windows > Preferences > Autosave and set the auto intervals to 1.
I'm looking for a configuration or plugin for eclipse that automatically saves files (so I don't have to use Ctrl+S). It could do it on lost focus or over some period of time. I think I saw something like that (I know IDEA has it), but I cant find it now.
Update seven years later (Eclipse Neon 4.6)
Eclipse now has an Automatic Save of dirty editors
The autosave option is disabled by default.
A new autosave preference page (Preferences > General > Editors > Autosave) is available and allows to enable/disable the autosave and change the interval of autosave.
The countdown is reset on keyboard activity, mouse click, or when a popup is displayed (e.g. content assist, preference page, ...).
Original answer (2009)
The OP IAdapter added in the comments:
I bet plugin like I describe exists.
... and you are right!
Eclipse plugin saveDirtyEditor should do just what you need.
Copy the SaveDirtyEditors_1.0.2.jar in your plugin directory.
You will get a new preference page under
General > Editors > Text Editors > Save Dirty Editors
, allowing you to save dirty files like 'myfile.java' under 'myfile.java.snapshot' every 30 seconds (can be less if you want).
Without additional plugin, though, Eclipse does not support natively that feature.
The closest could be:
Window > Preferences > type "build"
> General > Workspace > [x] Save automatically before build
That way, each time you hit CTRL+B for actually building your sources, they would be saved.
But I realize this is not exactly what you are after.
Beware your option would not be very efficient with the "build automatically" option activated... (that would trigger too much builds)
Again, without achieving exactly what you are looking for, you also have:
Run/Debug > Launching > Save required dirty editors before launching
Run/Debug > Launching > [x] Build (if required) before launching
Note: the difference between IntelliJ IDEA and eclipse is the "compile on save" feature:
As mentioned in the IDEA FAQ:
Q:
Can I enable "compile on save" in IntelliJ IDEA?
IntelliJ IDEA currently doesn't support this feature.
However there is an "Eclipse-mode" plug-in which provides similar functionality, so we suggest you to try this plug-in.
Note that by default IntelliJ IDEA saves the files for you, so you don't have to press the Ctrl+S shortcut frequently like you need to do in other IDEs.
However, with Eclipse, the "build on save" is activated by default, hence the absence of that particular feature.
http://code.google.com/p/eclatosa/
"Saves all open editors in eclipse when deactivating the eclipse window (like in IntelliJ)"
No need to install more plugin.
Window -> Preferences -> General -> Workspace
and there you can check:
Save automatically before build + Build automatically
If that doesn't work try this:
Preferences -> Run/Debug -> Launching -> Save dirty editors before launching
I wrote a plugin a long time ago to do this that still seems to work: http://www.stateofflow.com/projects/71/save-me
It saves the editor when it loses focus. However, if you switch away from eclipse it doesn't notice.
Try this
Goto Eclipse Preferences > General > Editors > Autosave
if it not work then try this
Preferences -> Run/Debug -> Launching -> Save dirty editors before launching