Files
wizgit-vscode-extension/package.json
Terence Carrera 239ddbd362 feat: Add export functionality for issues and pull requests
- Implemented exportIssues and exportPullRequests functions to export data in markdown, CSV, and JSON formats.
- Created helper functions for generating markdown and CSV formats for issues and pull requests.
- Added showExportDialog for user interaction to select export options.
- Implemented saveToFile function to handle file saving.

feat: Implement favorites and recent repositories management

- Added functionality to add, remove, and check favorites for repositories.
- Implemented recent repositories tracking with a limit on the number of recent entries.
- Created a quick pick interface to show favorites and recent repositories.

feat: Introduce notifications management

- Implemented functions to fetch, mark as read, and manage notifications.
- Created a NotificationProvider class to display notifications in a tree view.
- Added functionality to show notifications in a modal with quick actions.

feat: Implement search functionality for repositories, issues, and pull requests

- Added searchRepositories, searchIssues, and searchPullRequests functions with filtering options.
- Implemented getLabels and getCollaborators functions for additional filtering capabilities.
- Created a showFilterQuickPick function for user interaction to select filters.

feat: Enhance status bar with shortcuts and dynamic updates

- Added default keyboard shortcuts for various commands.
- Implemented createStatusBarItem and updateStatusBar functions to manage status bar display.
- Created a showStatusMenu function for quick actions related to the extension.
2025-12-17 16:06:52 +08:00

274 lines
9.0 KiB
JSON

{
"name": "wizgit-in-vscode",
"displayName": "WizGIT in VS Code",
"description": "A VS Code extension to interact with WizGIT API for repository management.",
"version": "0.0.4",
"publisher": "Terence Carrera",
"icon": "resources/wizgit-marketplace-icon.png",
"license": "MIT",
"repository": {
"type": "git",
"url": "http://126.209.24.132/terence.carrera/wizgit-vscode-extension"
},
"engines": {
"vscode": "^1.74.0"
},
"categories": [
"SCM Providers",
"Other"
],
"activationEvents": [
"onStartupFinished",
"workspaceContains:.git"
],
"main": "./out/extension.js",
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "wizgit",
"title": "WizGIT",
"icon": "./resources/wizgit-logo.svg"
}
]
},
"views": {
"wizgit": [
{
"id": "wizgitRepositories",
"name": "Repositories",
"when": "wizgit:enabled"
},
{
"id": "wizgitIssues",
"name": "Issues",
"when": "wizgit:enabled"
},
{
"id": "wizgitPullRequests",
"name": "Pull Requests",
"when": "wizgit:enabled"
}
]
},
"commands": [
{
"command": "wizgit-in-vscode.configure",
"title": "Configure WizGIT",
"category": "WizGIT",
"icon": "$(gear)"
},
{
"command": "wizgit-in-vscode.createRepository",
"title": "Create Repository",
"category": "WizGIT",
"icon": "$(repo-create)"
},
{
"command": "wizgit-in-vscode.createIssue",
"title": "Create Issue",
"category": "WizGIT",
"icon": "$(issues)"
},
{
"command": "wizgit-in-vscode.createPullRequest",
"title": "Create Pull Request",
"category": "WizGIT",
"icon": "$(git-pull-request)"
},
{
"command": "wizgit-in-vscode.clearConfig",
"title": "Clear Configuration",
"category": "WizGIT",
"icon": "$(clear-all)"
},
{
"command": "wizgit-in-vscode.refreshRepositories",
"title": "Refresh",
"category": "WizGIT",
"icon": "$(refresh)"
},
{
"command": "wizgit-in-vscode.cloneRepository",
"title": "Clone Repository",
"category": "WizGIT",
"icon": "$(repo-clone)"
},
{
"command": "wizgit-in-vscode.openIssue",
"title": "Open Issue",
"category": "WizGIT",
"icon": "$(link-external)"
},
{
"command": "wizgit-in-vscode.openPullRequest",
"title": "Open Pull Request",
"category": "WizGIT",
"icon": "$(link-external)"
},
{
"command": "wizgit-in-vscode.searchRepositories",
"title": "Search Repositories",
"category": "WizGIT",
"icon": "$(telescope)"
},
{
"command": "wizgit-in-vscode.searchIssues",
"title": "Search Issues",
"category": "WizGIT",
"icon": "$(search)"
},
{
"command": "wizgit-in-vscode.searchPullRequests",
"title": "Search Pull Requests",
"category": "WizGIT",
"icon": "$(search)"
},
{
"command": "wizgit-in-vscode.openRecentRepositories",
"title": "Open Recent Repositories",
"category": "WizGIT",
"icon": "$(history)"
},
{
"command": "wizgit-in-vscode.exportIssues",
"title": "Export Issues",
"category": "WizGIT",
"icon": "$(save)"
},
{
"command": "wizgit-in-vscode.exportPullRequests",
"title": "Export Pull Requests",
"category": "WizGIT",
"icon": "$(save)"
},
{
"command": "wizgit-in-vscode.showNotifications",
"title": "Show Notifications",
"category": "WizGIT",
"icon": "$(bell)"
}
],
"menus": {
"view/title": [
{
"command": "wizgit-in-vscode.refreshRepositories",
"when": "view == wizgitRepositories",
"group": "navigation"
},
{
"command": "wizgit-in-vscode.createRepository",
"when": "view == wizgitRepositories",
"group": "navigation"
},
{
"command": "wizgit-in-vscode.createIssue",
"when": "view == wizgitIssues",
"group": "navigation"
},
{
"command": "wizgit-in-vscode.createPullRequest",
"when": "view == wizgitPullRequests",
"group": "navigation"
}
],
"explorer/context": [
{
"command": "wizgit-in-vscode.createIssue",
"when": "explorerResourceIsFolder && wizgit:enabled",
"group": "7_modification"
}
],
"editor/context": [
{
"command": "wizgit-in-vscode.createIssue",
"when": "wizgit:enabled",
"group": "9_cutcopypaste"
}
],
"commandPalette": [
{
"command": "wizgit-in-vscode.refreshRepositories",
"when": "false"
},
{
"command": "wizgit-in-vscode.openIssue",
"when": "false"
},
{
"command": "wizgit-in-vscode.openPullRequest",
"when": "false"
}
]
},
"keybindings": [
{
"command": "wizgit-in-vscode.searchRepositories",
"key": "ctrl+shift+g r",
"mac": "cmd+shift+g r",
"when": "wizgit:enabled"
},
{
"command": "wizgit-in-vscode.searchIssues",
"key": "ctrl+shift+g i",
"mac": "cmd+shift+g i",
"when": "wizgit:enabled"
},
{
"command": "wizgit-in-vscode.searchPullRequests",
"key": "ctrl+shift+g p",
"mac": "cmd+shift+g p",
"when": "wizgit:enabled"
},
{
"command": "wizgit-in-vscode.openRecentRepositories",
"key": "ctrl+shift+g t",
"mac": "cmd+shift+g t",
"when": "wizgit:enabled"
}
],
"configuration": {
"title": "WizGIT",
"properties": {
"wizgit.apiEndpoint": {
"type": "string",
"description": "WizGIT API endpoint URL",
"default": ""
},
"wizgit.autoDetect": {
"type": "boolean",
"description": "Automatically detect WizGIT repositories in workspace",
"default": true
},
"wizgit.statusBar.enabled": {
"type": "boolean",
"description": "Show WizGIT information in status bar",
"default": true
},
"wizgit.notifications.enabled": {
"type": "boolean",
"description": "Enable WizGIT notifications",
"default": true
},
"wizgit.defaultBranch": {
"type": "string",
"description": "Default branch name for new repositories",
"default": "master"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./"
},
"devDependencies": {
"@types/node": "16.x",
"@types/vscode": "^1.74.0",
"typescript": "^4.9.4"
},
"dependencies": {
"node-fetch": "^3.3.2"
}
}