|
1 | 1 | { |
2 | | - "name": "autoclosetabs", |
3 | | - "displayName": "Auto Close Tabs", |
4 | | - "icon": "Zwyx-220x220-rounded.png", |
5 | | - "description": "Automatically close unused tabs", |
6 | | - "version": "1.1.3", |
7 | | - "publisher": "zwyx", |
8 | | - "repository": "github:zwyx/vscode-autoclosetabs", |
| 2 | + "name": "tabarchive", |
| 3 | + "displayName": "Tab Archive", |
| 4 | + "icon": "logo-220x220.png", |
| 5 | + "description": "Unused tab archive", |
| 6 | + "version": "1.0.0", |
| 7 | + "publisher": "guza", |
| 8 | + "repository": "github:guuzaa/vscode-tabarchive", |
9 | 9 | "engines": { |
10 | 10 | "vscode": "^1.80.0" |
11 | 11 | }, |
|
19 | 19 | "contributes": { |
20 | 20 | "configuration": [ |
21 | 21 | { |
22 | | - "title": "Auto Close Tabs", |
| 22 | + "title": "Tab Archive", |
23 | 23 | "properties": { |
24 | | - "autoclosetabs.activation": { |
| 24 | + "tabarchive.activation": { |
25 | 25 | "type": "string", |
26 | 26 | "default": "everywhere-except-excluded", |
27 | 27 | "enum": [ |
28 | 28 | "everywhere-except-excluded", |
29 | 29 | "nowhere-except-included" |
30 | 30 | ], |
31 | 31 | "markdownEnumDescriptions": [ |
32 | | - "Automatically close unused tabs in all workspaces, except the workspaces present in the Excluded list.", |
33 | | - "Automatically close unused tabs only in the workspaces present in the Included list." |
| 32 | + "Automatically archive unused tabs in all workspaces, except the workspaces present in the Excluded list.", |
| 33 | + "Automatically archive unused tabs only in the workspaces present in the Included list." |
34 | 34 | ], |
35 | | - "markdownDescription": "`everywhere-except-excluded`: automatically close unused tabs in all workspaces, except the workspaces present in the Excluded list.\n\n`nowhere-except-included`: automatically close unused tabs only in the workspaces present in the Included list." |
| 35 | + "markdownDescription": "`everywhere-except-excluded`: automatically archive unused tabs in all workspaces, except the workspaces present in the Excluded list.\n\n`nowhere-except-included`: automatically archive unused tabs only in the workspaces present in the Included list." |
36 | 36 | }, |
37 | | - "autoclosetabs.excludedWorkspaces": { |
| 37 | + "tabarchive.excludedWorkspaces": { |
38 | 38 | "type": "array", |
39 | 39 | "items": { |
40 | 40 | "type": "string" |
41 | 41 | }, |
42 | 42 | "default": [], |
43 | | - "markdownDescription": "List of workspaces in which unused tabs will not be automatically closed. Only used when `autoclosetabs.activation` is equal to `everywhere-except-excluded`." |
| 43 | + "markdownDescription": "List of workspaces in which unused tabs will not be automatically archived. Only used when `tabarchive.activation` is equal to `everywhere-except-excluded`." |
44 | 44 | }, |
45 | | - "autoclosetabs.includedWorkspaces": { |
| 45 | + "tabarchive.includedWorkspaces": { |
46 | 46 | "type": "array", |
47 | 47 | "items": { |
48 | 48 | "type": "string" |
49 | 49 | }, |
50 | 50 | "default": [], |
51 | | - "markdownDescription": "List of workspaces in which unused tabs will be automatically closed. Only used when `autoclosetabs.activation` is equal to `nowhere-except-included`." |
| 51 | + "markdownDescription": "List of workspaces in which unused tabs will be automatically archived. Only used when `tabarchive.activation` is equal to `nowhere-except-included`." |
52 | 52 | }, |
53 | | - "autoclosetabs.numberOfTabsInGroup": { |
| 53 | + "tabarchive.numberOfTabsInGroup": { |
54 | 54 | "type": "number", |
55 | 55 | "minimum": 0, |
56 | 56 | "default": 5, |
57 | | - "markdownDescription": "Unused tabs will be closed only if the number of tabs in the group is greater than this number; enter `0` to close all unused tabs." |
| 57 | + "markdownDescription": "Unused tabs will be archived only if the number of tabs in the group is greater than this number; enter `0` to archive all unused tabs." |
58 | 58 | }, |
59 | | - "autoclosetabs.tabAgeForAutomaticClosing": { |
| 59 | + "tabarchive.tabAgeForAutomaticArchiving": { |
60 | 60 | "type": "number", |
61 | 61 | "minimum": 1, |
62 | 62 | "default": 12, |
63 | | - "markdownDescription": "Number of hours after which an unused tab is automatically closed." |
| 63 | + "markdownDescription": "Number of hours after which an unused tab is automatically archived." |
64 | 64 | } |
65 | 65 | } |
66 | 66 | } |
67 | 67 | ], |
68 | 68 | "commands": [ |
69 | 69 | { |
70 | | - "command": "autoclosetabs.closeAsManyTabsAsPossible", |
71 | | - "title": "Auto Close Tabs: Close as many tabs as possible" |
| 70 | + "command": "tabarchive.archiveAsManyTabsAsPossible", |
| 71 | + "title": "Tab Archive: Archive as many tabs as possible" |
72 | 72 | }, |
73 | 73 | { |
74 | | - "command": "autoclosetabs.activate", |
75 | | - "title": "Auto Close Tabs: Activate automatic closing of unused tabs for this workspace" |
| 74 | + "command": "tabarchive.activate", |
| 75 | + "title": "Tab Archive: Activate automatic archiving of unused tabs for this workspace" |
76 | 76 | }, |
77 | 77 | { |
78 | | - "command": "autoclosetabs.deactivate", |
79 | | - "title": "Auto Close Tabs: Deactivate automatic closing of unused tabs for this workspace" |
| 78 | + "command": "tabarchive.deactivate", |
| 79 | + "title": "Tab Archive: Deactivate automatic archiving of unused tabs for this workspace" |
80 | 80 | }, |
81 | 81 | { |
82 | | - "command": "autoclosetabs.listAutomaticallyClosedTabs", |
83 | | - "title": "Auto Close Tabs: List automatically closed tabs" |
| 82 | + "command": "tabarchive.listArchivedTabs", |
| 83 | + "title": "Tab Archive: List recently archived tabs" |
84 | 84 | } |
85 | 85 | ], |
86 | 86 | "menus": { |
87 | 87 | "commandPalette": [ |
88 | 88 | { |
89 | | - "command": "autoclosetabs.activate", |
90 | | - "when": "autoclosetabs.activeInWorkspace === 'no'" |
| 89 | + "command": "tabarchive.activate", |
| 90 | + "when": "tabarchive.activeInWorkspace === 'no'" |
91 | 91 | }, |
92 | 92 | { |
93 | | - "command": "autoclosetabs.deactivate", |
94 | | - "when": "autoclosetabs.activeInWorkspace === 'yes'" |
| 93 | + "command": "tabarchive.deactivate", |
| 94 | + "when": "tabarchive.activeInWorkspace === 'yes'" |
95 | 95 | } |
96 | 96 | ] |
97 | 97 | } |
|
101 | 101 | "package": "vsce package", |
102 | 102 | "vscode:prepublish": "npm run build", |
103 | 103 | "publish": "vsce publish", |
| 104 | + "ovsx-publish": "ovsx publish", |
104 | 105 | "watch": "tsc -watch -p ./", |
105 | 106 | "pretest": "npm run build", |
106 | 107 | "lint": "eslint src --report-unused-disable-directives --max-warnings 0", |
|
121 | 122 | "glob": "^8.1.0", |
122 | 123 | "mocha": "^10.8.2", |
123 | 124 | "prettier": "3.0.0", |
| 125 | + "ovsx": "^0.10.1", |
124 | 126 | "typescript": "^5.1.3" |
125 | 127 | } |
126 | 128 | } |
0 commit comments