Community
Participate
Working Groups
When editing multiple sourcefiles in eclipse IDE, every day I find a string inserted at multiple positions in some of the edited files. It is exactly the same string, that I find inserted multiple times, at different positions distributed over the file, often inserted in more than one of the sourcefiles. I think I can recognise all this artefacts, because they cause a compiler error and when I correct them, sometimes I find this string also added to comment lines. Hints: It is always exactly one of the strings, that I used to search for in the hours before, sometimes manually entered in the search dialog form, sometimes preset by selecting some words from an edited file in the file tab and then opening the search window (Control F) Often (but not always) this string is inserted at the line end of existing source lines. Eclipse IDE 21-09 Version: 2021-06 (4.20.0) Build id: 20210612-2011 CENTOS CentOS Linux release 8.3.2011
Finally i found a possibility to omitt these eclipse bugs. When i disable the middle mouse button (in CENTOS, X11) before the eclipse call,then the daily creation of artefacts is stopped. Here my script, that replaces the eclipse executable: # disable mouse button 2 xinput set-button-map "Microsoft Basic Optical Mouse" 1 0 3 4 5 6 7 #execute eclipse $HOME/bin/eclipse_xvz/eclipse rc=$? # enable mouse button 2 xinput set-button-map "Microsoft Basic Optical Mouse" 1 2 3 4 5 6 7 exit $rc