防止 Atom 编辑器自动创建文件

Prevent Atom Editor from auto creating files

目前我尝试使用 Atom 进行一些实验,以使用 RAML 编写 API 文档。一切正常,但该死的一件事: 每次我输入一些文件路径(例如 !include schemas/file.schema 当我输入的速度不够快时,Atom 会自动创建文件。因此,在某些情况下,我的架构文件夹中有一堆文件僵尸。这有点像烦人。

我的设置是 MacBook 上的标准 Atom,带有 api-workbench 插件,其中还包括 linter。我已经查看了所有与自动完成有关的设置 - 那里什么也没有找到。此外,Google 不显示任何提示。有什么建议吗?

此致, 克里斯

看起来这是一个 defect in the api-workbench package:

Api workbench creates new schemas, while i type their paths. For example below, i can see two-three files created while i type full name: E.g:

schemas:
 - myschema: !include schemas/myschema.json

Will create following files:

schemas/my
schemas/mysche
schemas/myschema
schemas/myschemas.json - this file is existing, i've created it before. all other files are redudant and i have to delete them.

Bug is not reproduced with examples, which i can also include in my document. Having issues while edition RAML 0.8 files.

如果你想帮助包维护者修复缺陷,我建议你整理一个最小但完整的示例来重现问题,这将使他们更容易识别和解决问题。