如何防止rascal_builder在Eclipse IDE的每个保存中运行 [英] How to prevent rascal_builder from running on every save in Eclipse IDE

查看:41
本文介绍了如何防止rascal_builder在Eclipse IDE的每个保存中运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在Eclipse 2018中进行Rascal项目.该项目大约有500个LOC.我的问题是在项目中保存文件大约需要20到40秒.这是由于每次保存后都会运行rascal_builder.

I've been working on a Rascal project in Eclipse 2018. The project is roughly 500 LOC. My problem is that saving a file within the project takes about 20 to 40 seconds. This is due to rascal_builder running after every save.

由于我习惯于在编辑过程中进行多次保存,因此这开始降低我的工作效率.有没有一种方法可以阻止rascal_builder在每次保存时都被调用,并且仅在请求程序的实际执行时才运行rascal_builder?我对保留语法注释不感兴趣,例如错误的声明,引号缺失等.

Since I am accustomed to saving many times during editing, this is starting to reduce my productivity. Is there a way to stop rascal_builder from being invoked every save and have it run only when actual execution of the program is requested? I am not interested in conserving the syntactic annotations for e.g. wrong declarations, missing quotes etc.

推荐答案

是的,在Eclipse的配置部分中,在Mac上为 CMD +,,转到Rascal部分并禁用实验性编译器标志.

Yes, in the configuration part of eclipse, CMD+, on Mac, go to the Rascal section and disable the experimental compiler flag.

这篇关于如何防止rascal_builder在Eclipse IDE的每个保存中运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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