code

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Usage

使用方法

  • /code
    - Opens the current working directory
  • /code /path/to/folder
    - Opens the specified folder
  • /code
    - 打开当前工作目录
  • /code /path/to/folder
    - 打开指定文件夹

Implementation

实现方式

Run
code
with arguments if provided, otherwise open current directory:
bash
code ${ARGUMENTS:-.}
如果提供了参数则运行带参数的
code
命令,否则打开当前目录:
bash
code ${ARGUMENTS:-.}