本文介绍了Visual Studio Code中的Lime-安装失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很困惑,需要一点帮助.我正在尝试为Lime/OpenFL设置vscode,但始终收到此错误:

I'm stumped and need a bit of help. I'm trying to setup vscode for lime/OpenFL, but keep getting this error:

我做了石灰设置",石灰实际上在工作,我什至可以建造.但是在vscode中没有自动完成功能,什么也没有.即使在同一文件中,转到定义"也不起作用.至于lime.executable,我找不到那个地方...

I did "lime setup", lime is actually working, I can even build. But no autocomplete in vscode, no nothing. Even within the same file, "Go to Definition" does not work.As for lime.executable, I can't find where that is...

你们中的任何一个都可以帮我解决这个问题吗?:)

Can any of you guys please help me figure this out? :)

我在扩展目录> lime> package.json中找到了lime.executable.我在那里真的没看到问题.

I found the lime.executable thing in the extension directory > lime > package.json. I don't really see a problem there tho.

完整错误出现:错误:命令失败:lime display neko dev错误:使用"display"命令时,您必须具有"project.xml"文件或指定另一个有效的项目文件

at ChildProcess.exithandler (child_process.js:217:12)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:194:7)
at maybeClose (internal/child_process.js:899:16)
at Socket.<anonymous> (internal/child_process.js:342:11)
at emitOne (events.js:96:13)
at Socket.emit (events.js:191:7)
at Pipe._handle.close [as _onclose] (net.js:510:12)

推荐答案

该扩展程序默认应运行 nem ,而不是 nem dev ,也许您在目标标志中添加了"dev"?单击底部的编辑目标标志"按钮(看起来像一个列表),并确保其清晰可见.

The extension should run lime display neko, not lime display neko dev by default, perhaps you added "dev" to your target flags? Click the button at the bottom that says "Edit Target Flags" (it looks like a list) and make sure that it is clear.

这篇关于Visual Studio Code中的Lime-安装失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-11 15:05