【已解决】 如何设置在 VSCode 中打开当前文件?以及如何在 VSCode 中打开 Emacs。

更新从 VSCode 到 Emacs 的方法:

VSCode 的插件作者也很给力,刚反馈没多久就加上了定位光标所在列的功能,这样就可以在 VSCode 和 Emacs 中互相调用并精准定位光标位置了。

    "openInExternalApp.openMapper": [
        {
            "extensionName": "*",
            "apps": [
                {
                    "title" : "Open in Emacs",
                    "isElectronApp": false,
                    "shellCommand": "emacs +${cursorLineNumber}:${cursorColumnNumber} ${file}"
            }
        ]
        }
    ],