Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>What To CodeNew to Visual Studio Code? Get it now.
What To Code

What To Code

李盆儿

| (1) | Free
Browse software development wishes from the community
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

What To Code - VSCode 插件

浏览社区的软件开发愿望列表。

功能

  • 🌳 树形面板展示愿望列表
  • 🔍 搜索愿望(按标题和描述)
  • 🏷️ 按类别筛选
  • 📄 点击查看愿望详情

数据结构

interface Wish {
  id: string;          // 唯一标识
  title: string;       // 愿望标题
  description: string; // 详细描述
  category: string;    // 类别
  author: string;      // 作者
  createdAt: string;   // 创建日期
}

使用方法

1. 配置数据库

创建 .env 文件(参考 .env.example):

DB_HOST=localhost
DB_PORT=3306
DB_USER=root
DB_PASSWORD=your_password
DB_NAME=whatcode
PORT=3456

2. 启动服务器

npm install
npm run compile
node out/server.js

服务器会自动创建 wishes 表。

3. 启动插件

  • 按 F5 启动调试,会打开一个新的 VSCode 窗口
  • 在左侧活动栏点击 "What To Code" 图标
  • 查看愿望列表

4. 使用功能

  • 点击列表项查看详情
  • 点击搜索图标输入关键词搜索
  • 点击刷新图标重新加载

开发

# 安装依赖
npm install

# 编译
npm run compile

# 监听模式
npm run watch

打包

npm install -g @vscode/vsce
vsce package
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft