I'm using scala and every time I paste my code it changes the format. I reset the settings but it keeps doing it. I can't find the setting I tried to disable in Smart Keys but still.
What I want to paste
addItem: "food", "arroz", "arroz.jpg", 300, 1.50;
What gets pasted
addItem //todo: labels is not supported
"food"
"arroz"
"arroz.jpg"
300
1.50
答案 0 :(得分:2)
对我而言,这没有发生,但也许您选择了“在复制粘贴时将Java代码转换为Scala”,并在“在粘贴时不显示对话框并自动转换为Scala代码”下选中了。
在Preferences -> Languages & Frameworks -> Scala -> Editor
下进行检查。这是针对Mac的,但是如果您使用其他工具,我认为它与之相似。