This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import plugin from "../plugin.json"; | |
const { editor } = editorManager; | |
const fsOperation = acode.require("fsOperation"); | |
const helpers = acode.require("helpers"); | |
const TokenIterator = ace.require("ace/token_iterator").TokenIterator; | |
const cache = Object.create(null); | |
const pathCompleter = { | |
id: "path-completion", | |
getCompletions: async function (editor, session, pos, prefix, callback) { |