Since I have re-installed my computer, there is a strange phenomena using Eclipse (both JAVA and C/C++).
The moment I press control+shift+s, two red lines appear near my mouse pointer.
Image of the red lines:
http://www.flickr.com/photos/92764732#N03/8431379591/
When I look in the settings-> keys, the control+shift+s is mapped to save all.
However, it does not save all, and only shows the red lines.
Defaulting the keys mapping does not work, I have tried this.
Does anyone has any idea on what these red lines mean, and how to get rid of them?!
Thanks in advance!
Jeroen
Well great, turned out it wasn't Eclipse after all.
Control+Shift+S is a shortcut from Mouse without borders (great tool by the way)!
So, fixed that one, on to saving a lot of files in one press :)
Related
I just started programming in flutter and I keep getting these types of errors with the yellow highlight over a line. The highlight goes away if I pressed the green restart button and as long as the issue is gone. The problem is that sometimes I will just retype the yellow-highlighted code in a different order and it begins to work again. So far I have been able to fix the issues, but it's really annoying because I have to constantly guess and check and retype, praying on my luck to fix it. Is there a way I could actually see the error message? I'm pretty sure it's minor, since I copy and pasted this straight from official documentation.
Edit: I realized that when I right click on the yellow arrow, it shows "run to line" and I can run the code without issues. However, the yellow arrow reappears from time to time, seemingly randomly.
I am currently setting up VS Code on a new computer and want to maintain all the same configuration, addons etc that I had on my previous computer. I was able to copy all of the settings, fonts, themes I like, etc; however for some reason I can't figure out how to change the size of the Tab arrow character for whitespace.
In my old editor, the Tab arrow spanned two spaces, whereas on my new computer, the tab arrow only spans one space.
I've been looking all over, and tried googling any variation of "change tab character size", "modify tab arrow span" etc that I could think of. I seem to remember changing the arrow size at some years ago, which is how I got it in my old editor, but I've totally forgotten, and can't find the setting anywhere, neither searching in the VS Code settings, nor on google like I mentioned; the only things that turn up are for changing tab indent size from 2, to 4 spaces etc.
Here are some screenshots of what I mean, from the new VS Code editor and from the one on my older computer:
Current tab arrow size in VS Code:
Old tab arrows size (what I want in my new editor):
This is driving me crazy, and I'm sure it's a simple setting somewhere that I'm missing. Any help would be appreciated!
Edit: In case it is relevant, I'm using JetBrains Mono as my font, and its the same version of the font as from my old computer as well, I copied it over and installed it on the new PC.
To my shock, the issue resolved itself after rebooting my PC. Once again it would seem that the tried and true "have you tried turning it off and on again" continues to ring true in many cases.
The only explanation I can think of is that perhaps some of the font symbols for whitespace characters weren't fully updated for some reason after installing the JetBrains Mono font, which I had installed earlier the same day, and after rebooting my PC I guess all the characters were fully updated/refreshed, and now the longer arrow is displayed for the tabs; I guess this also means that there is no arrow resizing per se, and the arrow symbol for the tab is simply the font symbol.
In any case, I figured I should write this update as an answer in case something like this happens to anyone else in the future.
Does anyone know how to get rid of the superfluous white space at the top of a split editor pane in the latest version of eclipse (I think it's been around since Indigo actually). To me it looks like the minimise and maximise buttons have been misplaced, see image below.
I know editor planes can be split in a different way, but that is a problem when I switch perspectives, or open new files (they always open in the original editor pane).
I know it is a minor thing, but wasted real estate on my screen annoys me.
Thanks,
Stephen
I've dealt with this on numerous occasions and still occurs on Juno.
If you open two files in the order: ITest.java, Test.java and drag the second/rightmost file (Test.java) to create the split the whitepace will be created (as your picture). The fix is to drag the first/leftmost file (ITest.java) to create the split and then the whitespace is not created.
We are just testing our application on IE9 and I found an issue regarding the arrow keys behaviour in text area in popup window.
Two arrow keys are not working fine:
1) Left arrow key - When we enter some multiline text in the text field and try to move the left arrow key in last line. Repeated left arrows movement on the line result in the cursor going to the left THEN back to the end of the same line. It does not move to the last of the previous line (as expected).
2) Up Arrow Key - When we enter some multiline text in the text field and try to move to the previous line using the Up arrow key. It does not work.
It will be great if somebody can help me on it.
Thanks in Advance :).
Regards
I have seen many posts on this in other forums, and had some issues with it in web-based applications we use at my work. It seems to be something weird associated with IE9 and ieSpell.
While some forums have said pressing F7 allows you to get around the problem, it doesn't actually solve it, and there doesn't seem to be any acceptable permanent solution. Some say to dump your browsing history, others to turn caret browsing off in IE options.
Generally, there are lots of suggestions to get around the problem, but none to actually solve it.
I have Eclipse 3.7.1 classic, with added Android plugin and HTML editor plugin.
If I have a long line of text in the HTML editor and scroll the horizontal scrollbar to where I want to be, when I place the cursor there and start to type, after a short pause it keeps resets the horizontal scrollbar to the far left. It doesn't do it all the time, but it is frequent enough to be annoying.
Why is Eclipse doing this, and how can I stop it?
Not really an answer but I have the same Problem since yesterday. I don't know the cause or any solution but ende up splitting all my lengthy strings using either "\" or "+". That "fixed" the problem and resulted and better readability of the code.
Good Day
Redfox
In my case this started happening after installing the Coffee Bytes Java Folding extension/plugin, and eventually it just annoyed me so much I turned it off...and the scroll jumping stopped.
It was a shame because I wanted folding of 'Regions' like in .Net and that extension gave me that ability. I've not looked for an alternative yet, but anyway I'm rambling - see if you have this extension enabled under Preferences > Java > Editor > Folding.
When this happens to me, the problem is that I'm not steady enough in my line selection. So I'll briefly be selecting two lines of input. And when the other line of input is shorter or even empty, it resets to the rightmost edge of that line (which if empty is the far left). Being very careful when moving horizontally can work but is difficult to maintain. Perhaps turning down the mouse sensitivity would help.
Searching for "eclipse line wrap" found that Alt Shift Y turns line wrap on and off. There also seems to be a button on the toolbar. See Does Eclipse have line-wrap for more details.
As others have noted, changing so that the lines aren't wider than the window also fixes this. But when you're in a situation where someone else sets the line length, toggling line wrap can be a quick and easy solution to this problem.
This of course assumes that you are having the same problem as me and not something caused by a plugin or other issue.