Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>PyCodeJOJONew to Visual Studio Code? Get it now.
PyCodeJOJO

PyCodeJOJO

PyJOJO

|
104 installs
| (0) | Free
VSCode with superhero themes and python coding utilities
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

🐍 PyCodeJoJo VSCode Extension

PyCodeJoJo 是一个功能丰富的 VSCode 扩展,提供了多个变形金刚和超级英雄主题,以及一些实用的编码辅助功能。

PyCodeJoJo is a feature-rich VSCode extension that offers multiple Transformers and Superhero themes, along with several useful coding utilities.

⭐ 特性 | Features

🎨 切换主题 | Switch Theme

  • 🤖 Iron Man Mark 3 - 钢铁侠经典配色
  • 🐝 Bumblebee - 大黄蜂明亮配色
  • 🦇 Dark Knight - 黑暗骑士深色主题
  • ❄️ Frozen Crystal - 冰霜水晶主题
  • 🚛 Optimus Prime - 擎天柱经典配色
  • 💎 Purple Crystal - 紫色水晶系列主题
  • 💎 Purple Phantom - 紫色幻影系列主题
  • 🌳 Emerald Forest - 翡翠森林主题
  • 🚀 Random - 随机主题

使用方法 | Usage:

  1. ⌨️ Ctrl+Shift+P 打开命令面板 | Open command palette
  2. 🔍 输入 "Switch Theme" | Type "Switch Theme"
  3. ✨ 选择任意 PyCodeJoJo 主题 | Select any PyCodeJOJO theme

主题切换演示 | Theme Switching Demo

🐍 Python __init__.py 生成器 | Python __init__.py Generator

自动扫描当前目录下的 Python 文件,提取所有类名并生成/更新 __init__.py 文件。 Automatically scans Python files in the current directory, extracts all class names, and generates/updates the __init__.py file.

功能特点 | Features:

  • 📁 自动扫描目录下所有 Python 文件 | Automatically scans all Python files in the directory
  • 🔍 智能提取类定义 | Intelligently extracts class definitions
  • 📝 自动生成导入语句 | Automatically generates import statements
  • 🎯 仅在有 Python 文件时创建 __init__.py | Creates __init__.py only when Python files exist

使用方法 | Usage:

  1. ⌨️ Ctrl+Shift+P 打开命令面板 | Open command palette with Ctrl+Shift+P
  2. 🔍 输入 "Generate Python init file for target directory" | Type "Generate Python init file for target directory"
  3. ✨ 自动生成/更新当前选中目录的 __init__.py | Automatically generates/updates __init__.py in current selected directory

使用方法(所有目录)| Usage (for all directories):

  1. ⌨️ Ctrl+Shift+P 打开命令面板 | Open command palette with Ctrl+Shift+P
  2. 🔍 输入 "Generate Python init files for all directories" | Type "Generate Python init files for all directories"
  3. ✨ 自动生成/更新所有目录的 __init__.py | Automatically generates/updates __init__.py in all directories

也可以删除所有 __init__.py 文件:

  1. ⌨️ Ctrl+Shift+P 打开命令面板 | Open command palette with Ctrl+Shift+P
  2. 🔍 输入 "Delete all Python init files" | Type "Delete all Python init files"
  3. ✨ 删除所有 __init__.py 文件 | Delete all __init__.py files

Python __init__.py 生成器演示 | Python __init__.py Generator Demo

🗑️ 删除所有__pycache__文件夹 | Delete All Pycache Folders

一键删除当前工作区所有__pycache__文件夹及内部的缓存文件 one click to delete all __pycache__ folders and their internal cache files in the current workspace

使用方法 | Usage:

  1. ⌨️ Ctrl+Shift+P 打开命令面板 | Open command palette with Ctrl+Shift+P
  2. 🔍 输入 "Delete all pycache folders" | Type "Delete all pycache folders"
  3. ✨ 自动删除所有__pycache__文件夹 | Automatically delete all __pycache__ folders

🎯 颜色选择器 | Color Picker

  • 📚 全面的语言支持 | Comprehensive language support
    • Python, JavaScript, TypeScript, Java, C++, C#, Go, Rust, HTML, CSS, SCSS, LESS, Vue, Svelte, JSON, YAML, XML, Markdown, Plain text
  • 🔍 快速选择和预览颜色 | Quick color selection and preview
  • 🔄 支持多种颜色格式 | Support for multiple color formats
    • HEX formats: #fff, #ffffff, #ffffffff (with alpha)
    • RGB formats: rgb(R,G,B), rgba(R,G,B,A)
    • Tuple formats: (R,G,B), (R,G,B,A)
  • 🎯 完善的 alpha 通道支持和智能格式保持 | Complete alpha channel support with intelligent format preservation
    • Supports alpha values in both 0-1 and 0-255 range
    • Precisely maintains original format and precision
  • 👀 实时颜色预览 | Real-time color preview

你可以通过 VSCode 设置自定义启用的功能: You can customize which features are enabled through VSCode settings:

  1. 按下 Ctrl+,(Mac 上为 Cmd+,) | Press Ctrl+, (or Cmd+, on Mac)
  2. 搜索 ">pycodejojo" | Search for ">pycodejojo"
  3. 根据需要开启或关闭特定功能 | Toggle specific features as needed

可用的配置选项包括:

  • Pycodejojo.ColorPicker.Enable - 启用/禁用取色器
  • Pycodejojo.ColorPicker.MatchRGB - 匹配 rgb(x, x, x) | rgba(x, x, x, x)
  • Pycodejojo.ColorPicker.MatchTupleRGB - 匹配 RGB 元组 (x, x, x) | (x, x, x, x)
  • Pycodejojo.ColorPicker.MatchHex3 - 匹配 3 位十六进制颜色 #FFF
  • Pycodejojo.ColorPicker.MatchHex6 - 匹配 6 位十六进制颜色 #FFFFFF
  • Pycodejojo.ColorPicker.MatchHex8 - 匹配 8 位十六进制颜色 #FFFFFFFF (带 alpha)
  • Pycodejojo.FontBackgroundColor.Enable - 启用/禁用字体背景色
  • Pycodejojo.Theme - 选择默认主题

取色器演示 | Color Picker Demo

🎲 随机主题生成器 | Random Theme Generator

生成随机主题。 Generates random themes.

使用方法 | Usage:

  1. ⌨️ Ctrl+Shift+P 打开命令面板 | Open command palette with Ctrl+Shift+P
  2. 🔍 输入 "Random Theme" | Type "Random Theme"
  3. ✨ 自动生成并应用新主题 | Automatically generates and applies new theme

随机主题生成器演示 | Random Theme Generator Demo

📖 功能的启用与关闭 | Enable and Disable Features

设置面板演示 | Settings Panel Demo

  1. ⌨️ 按下 Ctrl + , 打开设置面板 | Press Ctrl + , to open Settings
  2. 🔍 搜索 >pycodejojo 过滤配置项 | Search >pycodejojo to filter configurations

⚠️ 已知问题 | Known Issues

当同时使用 PyCodeJoJo 和 Pylance 插件时,Python 文件中的颜色字符串可能会在左侧出现两个取色器色块,导致界面混乱。如果你希望避免这种混乱局面,可以通过以下步骤关闭 Pylance 的取色器功能:

When using PyCodeJoJo alongside Pylance, you may notice two color pickers appearing on the left side of color strings in Python files, causing visual clutter. To avoid this confusion, you can disable Pylance's color picker by:

  1. 按下 Ctrl + , 打开设置 | Press Ctrl + , to open settings
  2. 在搜索框中输入 python.analysis.enableColorPicker | Search for python.analysis.enableColorPicker
  3. 取消勾选该选项即可关闭 Pylance 的取色器 | Uncheck the option to disable Pylance's color picker

🤝 贡献 | Contribution

欢迎提交问题和功能建议到 GitHub 仓库 Welcome to submit issues and feature suggestions to GitHub repository: GitHub Repository

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft