取消选择“在编译器过程中运行工作表".导致找不到源文件 [英] Unselecting "Run worksheet in the compiler process" causes source file not to be found

查看:57
本文介绍了取消选择“在编译器过程中运行工作表".导致找不到源文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我选择文件->设置->语言和框架-> Scala->工作表(标签).取消选择在编译器过程中运行工作表".我收到如下错误

Error:source file '/home/username' could not be found

我需要取消选中该选项来解决以下问题:更改源代码后,Scala Worksheets不注册更改.以下帖子要求我取消选中该复选框.如果相关,我正在使用Ubuntu Debian.

Scala工作表在不重新启动的情况下无法进行更改,所以我尝试了

Intellij scala工作表找不到项目类

IntelliJ:Scala工作表无法接收代码更改而无需重新启动

解决方案

这是一个已知的错误,请对该问题进行投票: https://youtrack.jetbrains.com/issue/SCL-14694

When I select File -> Settings -> Languages & Frameworks -> Scala -> Worksheet (tab) . Unselect "Run worksheet in the compiler process". I get an error as follows

Error:source file '/home/username' could not be found

I needed to untick the option to fix a the problem whereby Scala Worksheets aren't registering my changes after I change my source code. The following posts asked me to untick that checkbox. I'm using Ubuntu Debian if that is relevant.

Scala worksheets are not picking up my changes without a restart so I tried

Intellij scala worksheet can't find project classes

and

IntelliJ: Scala worksheet don't pick up code changes without restart

解决方案

This is a known bug, please vote on the issue: https://youtrack.jetbrains.com/issue/SCL-14694

这篇关于取消选择“在编译器过程中运行工作表".导致找不到源文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆