简体   繁体   English

Karate-config.js 文件未在 eclipse 中保存为 JS 文件

[英]Karate-config.js file is not saved as JS file in eclipse

在此处输入图像描述

This is how it looks like inside file这就是文件内部的样子

在此处输入图像描述

I did this eclipse preference also:我也做了这个 eclipse 偏好:

在此处输入图像描述

Check in Window -> Preferences -> General -> Editors -> File Associations.检查 Window -> 首选项 -> 常规 -> 编辑器 -> 文件关联。 For *.js file type select any relevant script editor as default (For eg JS Editor) in the Associated editors window and apply.对于 *.js 文件类型 select 任何相关的脚本编辑器作为默认值(例如 JS 编辑器)在关联编辑器 window 中并应用。

If *.js is not present under file types, add it and select JS Editor as default in Associated Editors pane.如果文件类型下不存在 *.js,请将其添加,并将 select JS 编辑器作为默认值添加到关联编辑器窗格中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 将Json传递给karate-config.js文件 - Pass Json to karate-config.js file 空手道 - karate.configure('headers', { Accept: 'application/json' }); 在 karate-config.js 文件中无法识别。 它说缺少导入语句 - Karate - karate.configure('headers', { Accept: 'application/json' }); is not recognized in karate-config.js file. It says missing import statements 在 karate-config.js 中定义另外两个函数 - Defining two o more functions in karate-config.js Karate-config.js - 是否有可能在其他地方使用 java class 的方法? - Karate-config.js - is it possible to have methods of a java class made available for use elsewhere? 由以下原因引起:com.intuit.karate.exception.KarateException:ReferenceError:空手道配置js文件中未定义“ XMLHttpRequest”异常 - Caused by: com.intuit.karate.exception.KarateException: ReferenceError: “XMLHttpRequest” is not defined Exception in Karate config js file 将配置值传递给JS文件 - Pass In Config Values to JS File 我如何使用 1 个参数在空手道功能文件中调用 js function - How can i call the js function in karate feature file with 1 argument jquerymobile js文件蚀中的错误 - error in jquerymobile js file eclipse 读取通过FileSaver.js保存的文件 - Read a file saved via FileSaver.js 将config.js文件导入另一个文件 - Import config.js file in another file
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM