我正在尝试通过在Node.js脚本中发出以下命令来打开unix文本编辑器(在本例中为nano): require('child_processprocess.exit(); // try to block here in order not to execute rest of code in this file这打开了nano,但这两个文本都很奇怪,而且它不让我写任
每次我在Eclipse2020中打开一个js文件时,它默认使用系统文本编辑器。我已经设置了Window->Preferences->General-> Editor ->File Associations *.js到JavaScript编辑器,并将其设置为默认设置,在行为中不更改如果我通过右键单击“打开方式”->“其他”->“内部编辑器”打开一个js文件,选择“JavaScript编辑器”并勾选“Use for al