Copy and paste act funny in the eap....
If I have the following code...:
if (sometest) { log.error("test failed); }
If I copy this and paste it the same place, x value, I get the following..:
if (sometest) { log.error("test failed"); }
Is this a known bug or is there some settings I have screwed up?
Regards,
BTJ
请先登录再写评论。
I of course found a setting after posting the question that seems to cause this... "Reformat on paste" was set to "Indent block" and changing this to "Reformat block" worked (Might be a workaround but it work as I want... :-) )
BTJ
Hi Bjørn,
Check the "Reformat on paste" setting in Settings > IDE Settings > Editor > Smart Keys. If that is not set to one of the reformat options, you may get the type of issue you are describing. Although I would not expect it to have that issue when pasting in the same place.
And as an FYI, I'm not experiencing this in 110.3 running on Windows XP. I have my "Reformat on paste" setting set to "Reformat Block".
I hope that helps.
-Mark
p.s. I've always liked your avatar :)
oops - I guess we cross posted. Glad you solved it.
Thx... I like it too.... B-)
BTJ