Skip to content

Instantly share code, notes, and snippets.

@legendSabbir
legendSabbir / main.js
Created October 17, 2023 16:09
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) {
@dreamorosi
dreamorosi / Readme.md
Last active October 18, 2023 06:16
Create new Python virtual environment and manage dependencies

Create new Python virtual environment and manage dependencies

Requirements

Create new virtual environment

The following command creates a new virtual environment named venv in the current directory, usually this will be your project's directory.