Skip to content

Commit a78ca1b

Browse files
Add context menu and advanced tree manipulation features
Enhanced tree-view UI with a context menu providing advanced operations for managing node states, tailored selections, and expanded/collapsed views. - Introduced a context menu with options: check/uncheck all children, check specific levels (folders/files), and toggle expansion. - Added `applyTransformation` and `applyNodeTransformation` for node-level and subtree manipulations. - Implemented "Expand All" and "Collapse All" actions for global tree control. - Updated README with new features and usage instructions. - Incremented version to 1.1.0 in metadata.
1 parent 694574d commit a78ca1b

19 files changed

+1507
-423
lines changed

README.md

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# JetTreeMark for VS Code
22

33
![Build](https://github.com/HichemTab-tech/JetTreeMark-vscode/actions/workflows/ci.yml/badge.svg)
4-
[![Version](https://img.shields.io/badge/version-1.0.1-blue.svg)](https://github.com/HichemTab-tech/JetTreeMark-vscode/releases) [![License](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/HichemTab-tech/JetTreeMark-vscode/blob/master/LICENSE)
4+
[![Version](https://img.shields.io/badge/version-1.1.0-blue.svg)](https://github.com/HichemTab-tech/JetTreeMark-vscode/releases) [![License](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/HichemTab-tech/JetTreeMark-vscode/blob/master/LICENSE)
55

66
---
77

@@ -10,7 +10,7 @@
1010
**JetTreeMark** for VS Code brings the same lightning-fast,
1111
one-click tree-view generation you know from the IntelliJ plugin into your favorite editor.
1212
Right-click any folder in the Explorer, choose **Show Tree View**,
13-
and youll instantly get a clean, customizable markdown-compatible tree of your project—ready to copy, share,
13+
and you'll instantly get a clean, customizable markdown-compatible tree of your project—ready to copy, share,
1414
or document.
1515
😉
1616

@@ -24,6 +24,7 @@ or document.
2424
- 📂 **Generate** a neat tree view of any selected folder
2525
- 📋 **Copy** the filtered structure to clipboard with one click
2626
- ✔️ **Tri-state checkboxes** let you include/exclude subfolders & files
27+
- 🖱️ **Context menu** with powerful selection operations (check/uncheck folders, files, levels)
2728
-**Lightweight**—built as a native VS Code Webview extension
2829
- 🎨 **Tailwind-powered** UI for a clean, responsive look
2930

@@ -48,7 +49,7 @@ or document.
4849
### From the Marketplace
4950

5051
JetTreeMark is now available on the Visual Studio Marketplace!
51-
Install it directly from VS Codes Extensions view—just search for **JetTreeMark** and click **Install**.
52+
Install it directly from VS Code's Extensions view—just search for **JetTreeMark** and click **Install**.
5253

5354

5455
### Manual Installation
@@ -93,7 +94,7 @@ vsce package
9394
## 🎯 How to Use
9495

9596
1. **Right-click** on any folder in the Explorer.
96-
2. Select **Show Tree View** from the context menu.
97+
2. Select **"Show Tree View"** from the context menu.
9798

9899
![How to use the JetTreeMark plugin from folder context menu](https://github.com/HichemTab-tech/JetTreeMark-vscode/blob/master/meta/screenshot-1.png "Screenshot -JetTreeMark in context menu-")
99100

@@ -102,7 +103,15 @@ vsce package
102103

103104
![How to use the JetTreeMark plugin to exclude nodes from the tree view result](https://github.com/HichemTab-tech/JetTreeMark-vscode/blob/master/meta/screenshot-2.png "Screenshot - filter nodes from tree results -")
104105

105-
5. Click **“Copy Selected Structure”** at the top to copy your markdown tree.
106+
5. **Right-click** on any node to access the context menu with powerful selection operations:
107+
- **Check All Children** - Include all files and folders under this node
108+
- **Check All Folders** - Include only folders under this node
109+
- **Uncheck All Children** - Exclude all files and folders under this node
110+
- **Check Without Children** - Include only this node, not its children
111+
- **Level-Specific Operations** - Apply operations only to the current level
112+
- **Expand/Collapse** - Control node visibility
113+
114+
6. Click **"Copy Selected Structure"** at the top to copy your markdown tree.
106115

107116
---
108117

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "jettreemark",
33
"displayName": "JetTreeMark",
44
"description": "JetTreeMark is a VS Code plugin that generates a markdown-compatible structure tree for selected files and folders",
5-
"version": "1.0.1",
5+
"version": "1.1.0",
66
"publisher": "HichemTab-tech",
77
"homepage": "https://github.com/HichemTab-tech/JetTreeMark-vscode",
88
"repository": {
@@ -81,6 +81,7 @@
8181
"@vscode/test-cli": "^0.0.10",
8282
"@vscode/test-electron": "^2.4.1",
8383
"@vscode/vsce": "^3.3.2",
84+
"cross-env": "^7.0.3",
8485
"eslint": "^9.23.0",
8586
"ts-loader": "^9.5.2",
8687
"typescript": "^5.8.2",

pnpm-lock.yaml

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webview-ui-dist/assets/index-BcEoQtVD.js

Lines changed: 161 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webview-ui-dist/assets/index-BcEoQtVD.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webview-ui-dist/assets/index-BuHSc5Eb.js

Lines changed: 0 additions & 121 deletions
This file was deleted.

webview-ui-dist/assets/index-BuHSc5Eb.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

webview-ui-dist/assets/index-CPvCgQeX.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

webview-ui-dist/assets/index-rIJpokay.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webview-ui-dist/index.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
<!doctype html>
2+
<!--suppress HtmlUnknownTarget -->
23
<html lang="en">
34
<head>
45
<meta charset="UTF-8" />
56
<link rel="icon" type="image/svg+xml" href="./pluginIcon.svg" />
67
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
78
<title>Vite + React + TS</title>
8-
<script type="module" crossorigin src="./assets/index-BuHSc5Eb.js"></script>
9-
<link rel="stylesheet" crossorigin href="./assets/index-CPvCgQeX.css">
9+
<script type="module" crossorigin src="./assets/index-BcEoQtVD.js"></script>
10+
<link rel="stylesheet" crossorigin href="./assets/index-rIJpokay.css">
1011
</head>
11-
<body>
12+
<body class="jettreemark-body">
1213
<div id="root"></div>
1314
</body>
1415
</html>

0 commit comments

Comments
 (0)