Is there a way to get rid of the timestamp in Eclipse console?
I am recording screencasts and don't want to show the date/time within my videos.
no, there isn't any way to do that.However, you can try to hide it somewhat by dragging the console to top-right.The timestamp is still there but in order to see it, you have to swipe right.
as shown,
if it is still visible, you can decrease the size of console.
Still, this is not the exact solution to your question.
I hope this might helps a little.
Related
When I set a break point on a row which already has a marker(The value of the local variable is not used) on it, I cannot see the break point marker; because the yellow lamp marker covers the break point marker.
Is it possible to change the priority of the markers so that the break point sits on top of the lamp marker?
As long as #Mena answer is ok, as he sais...
Use at your own risk :)
This can be dangerous in a big project.
To avoid problems with hided warnings due configurations, what I usually do is:
Leave config as is, to see warnings.
Remove all really unnecessary lines causing warnings
Add an annotation to method still having warnings but needing breakpoint at same line. You can annotate class if necessary when massive warnings or breakpoints needed.
#SuppressWarning("unused")
public void yourMethod() {
}
This will allow you to handle warnings individually and see breakpoints when necessary.
I find that incredibly annoying too.
The only solution I've found is to go to the Java editor preferences, and disable the checkbox "Report problems as you type".
This will not change the priority, it will disable the hint and only show the breakpoint.
Here's a picture to illustrate:
Use at your own risk :)
Finally a TRUE relief after years of a so annoying and tiny thing:
1) go to your eclipse install path and look for all files (filename) that contain the word "warn" and are of the format .gif or .png (because they contain transparency data), here there were 5 files whose icon/image matched, most were named as: quickfix_warning_obj.gif (or.png)
2) rename all of them to *.DISABLED like "quickfix_warning_obj.gif.DISABLED", and as soon you restart eclipse, this will force it to restore the right one as soon you open an editor that uses it and has some warning on it.
3) having detected the right file, replace it with one of identical size (width and height in pixels), I would like to suggest this image I just created, so simple and not annoying at all and still is useful!
4) restart eclipse again and clap with a smiling face!
PS.: you can try to just replace this file also, that was the right one here for Eclipse Luna:
$ECLIPSE_INSTALL_PATH/configuration/org.eclipse.osgi/478/0/.cp/icons/full/obj16/quickfix_warning_obj.gif
Obs.:
Of course you can replace all of them that look the same, change other annoying icons and so on, and experiment with your own gif/png size and image, just that these steps is what worked perfectly here.
The image I supplied is almost invisible some times, but they were never really useful to me as I let the code with warning become underlined as a highlight. A better image is welcome :)
And, of course, this is a workaround, like a theme change, that does not involve any coding/recompiling of eclipse, therefore the priority is not changed at all, but the results are good enough to me at least.
EDIT: here one for the search results: searchm_obj.gif at configuration/org.eclipse.osgi/331/0/.cp/icons/full/obj16/searchm_obj.gif on Luna
The code completion popup which comes up automatically in IntelliJ IDEA looks like this:
As you can see, It's dimmed, or "faded" and hard to read. (Screenshot is fine, but the real one is hard to read.)
After I click on it, it looks like this:
As you can see it's no longer dimmed or faded, but I always have to click on it to un-dim it.
How can I make it always fully visible and not dimmed ?
One way to make the autocomplete popup fully visible is to select Settings/Editor/General/Code Completion/Insert selected variant by typing dot, space, etc.
This is however not just an appearance setting, so it also changes the way autocomplete behaves, which may or may not be good depending on your preference.
I am not aware of any option which would purely disable the dimming. You could try posting a feature request for that on https://youtrack.jetbrains.com.
I have written a GUI which has many different JComboBoxes. All of them work as I would expect (I click on them, the popup appears, I click on my selection, and the popup closes).
All of them, that is, except for one.
I have looked at my code, and I am using this combo box in the same way as I am using others. I am sure that there is something that I am missing, but I do not know what.
I do not know where to start. What kind of thing should I look at in my code to figure this out? If you were to try to achieve this, what would you do, this info might help.
As a code sample, I have not done anything out of the ordinary:
JComboBox selectionBox = new JComboBox();
selectionBox.addItem(DEFAULT_SELECTION);
selectionBox.addItem("Option1");
selectionBox.addItem("Option2");
selectionBox.addActionListener(this);
Although I understand that it isn't always possible to give a lot of details, an exact answer just isn't possible without more exact information.
That said, I think the best course of action is to examine the code very carefully and make sure that an error cannot be found that could be causing the JComboBox to stay open.
As a LAST resort, you may be able to fix the problem by using JComboBox's hidePopup() method to manually close out of the JComboBox:
yourComboBox.hidePopup();
P.S. As for not knowing where to start ... if, in general, you're having trouble finding errors in your code, https://softwareengineering.stackexchange.com/ might be a good place for that sort of question.
My function must take picture from camera at the current time I will call him , and keeps it in my buffer , non anywhere else . I don't need to open camera , to push it's "capture" button , I need to do all this automatically. user must not see , that camera is working , and after taking the image , it must copy it only in my buffer . Don't suggest to use camera.start() and after copying video or picture , delete it from Gallery please. Can anybody helps me? and Sorry for English :)
This is the solution to your problem. Just edit it a little. You can store the bitmaps in an ArrayList for example.
But you know that this is bad for performance as it'll flood the memory? Writing it to the sd is probably a better idea than using the internal memory.
Edit: When using the API, you have to show a preview. You can, however, make this preview 1x1px or hide it behind some other view. And you can modify the code a little bit to not have the capture start on a buttonclick, but on whatever you want. I take it you can do that.
This can also help a lot
As far as i know, You will not be able to capture the image opening the camera application without the knowledge of the user.
I had many objects using px. I changed everything in my app to dp and textsizes to sp. Now my app won't open. When I use the debugger and go step by step it does open and then displays this. I did not change any code from before when it was working, just the px. By the way, I am using tabHost and their should be 5 tabs on the bottom. It splits it into about 30. It is just very strange stuff going on. Do you know what is wrong and how to fix it?
Thank you.
This image is the error message:
This image is using the debugger.
Read about DDMS and logcat to obtain a stacktrace and to see what the problem is: http://developer.android.com/guide/developing/debugging/debugging-projects.html
This is what you are looking for:
Revert all sp and dp back to px, and make sure it works again. then start doing small incremental changes to isolate which UI element is causing the problem. When you find which one did it, look through your code to see if you're making any assumptions and calculations based on the size of that UI element.