Skip to content

Instantly share code, notes, and snippets.

View remi71350-droid's full-sized avatar
💭
fuck this is chapped nothing seems to work

remi71350-droid

💭
fuck this is chapped nothing seems to work
View GitHub Profile
@remi71350-droid
remi71350-droid / main.js
Last active October 13, 2025 19:38 — forked from legendSabbir/main.js
Path Autocomplete
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) {