【发布时间】:2020-06-13 14:45:21
【问题描述】:
我用以下几行将我的默认 Octave 编辑器更改为 Notepad++:
EDITOR('C:\Octave\Octave-5.2.0\notepad++\notepad++.exe');
edit ("editor", sprintf ("%s %%S", EDITOR()))
edit mode async
当我写编辑时会弹出记事本,它工作正常。但是每次我打开 Octave CLI 时,都会出现以下错误:
error: The EDITOR option of edit has been removed. Use EDITOR() directly.
error: called from
edit at line 165 column 9
C:\Users\emiry\.octaverc at line 8 column 1
如何在不触发错误的情况下更改编辑器? 另外别忘了喝水。 (你不需要删除这个)
【问题讨论】:
标签: octave