-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.html
286 lines (247 loc) · 6.81 KB
/
README.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Introduction</title>
<style>
/* From extension vscode.github */
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
.vscode-dark img[src$=\#gh-light-mode-only],
.vscode-light img[src$=\#gh-dark-mode-only] {
display: none;
}
</style>
<style>
.task-list-item {
list-style-type: none;
}
.task-list-item-checkbox {
margin-left: -20px;
vertical-align: middle;
pointer-events: none;
}
</style>
<style>
pre {
position: relative;
}
pre, pre code {
font-family: Consolas;
font-size: 12px;
}
h1 {
font-family: Consolas;
font-size: 32px;
}
h2 {
font-family: Bell MT;
font-size: 30px;
}
h3 {
font-family: Lucida Fax;
font-size: 22px;
}
h4 {
font-family: Bookman Old Style;
font-size: 18px;
}
h5 {
font-family: Palatino Linotype;
font-size: 16px;
}
h6 {
font-family: Arial;
font-size: 14px;
}
h1, h2, h3, h4, h5, h6 {
margin: 0;
padding: 0;
margin-top: 0.25em;
margin-bottom: 0.25em;
}
table, th, td {
border: 1px solid;
}
table {
margin: 1em;
border-collapse: collapse;
width: -moz-max-content;
width: max-content;
max-width: 1500px;
}
tbody tr:nth-child(even) {
background-color: rgba(245, 248, 255, 0.8);
}
tbody {
border: 5px solid rgba(147, 174, 207, 0.9);
border-top: 10px solid rgba(147, 174, 207, 0.9);
}
table p {
margin-bottom: 0.3em;
}
td {
padding: 0.3em;
text-align: left;
vertical-align: top;
font-size: 90%;
}
dl {
display: block;
margin: 0;
padding: 0;
position: relative;
}
dt {
display: block;
}
dd {
display: block;
margin: 0;
padding: 0;
margin-left: 1em;
position: relative;
line-height: 110%;
margin-bottom: 1.5em;
}
ol, ul {
display: block;
margin: 0;
padding: 0;
position: relative;
}
li {
margin: 0;
padding: 0;
margin-left: 1em;
/* padding-left: 1em; */
}
:is(ol, ul, dl)::before {
content: "";
background: linear-gradient(180deg, rgba(182, 182, 182, 0.5) 0%, rgba(241, 241, 241, 0.5) 15%, rgba(241, 241, 241, 0.5) 95%, rgba(182, 182, 182, 0.5) 100%);
display: block;
height: 100%;
width: 2px;
position: absolute;
}
img {
-o-object-fit: scale-down;
object-fit: scale-down;
max-width: 650px;
max-height: 200px;
text-align: center;
}
img {
cursor: zoom-in;
}
figure {
text-align: center;
}
a {
color: rgb(70, 2, 122);
text-decoration: none;
}
blockquote {
padding: 1px 0px 1px 1em;
border-left: 4px solid rgba(203, 203, 203, 0.8);
background-color: rgba(248, 248, 248, 0.8);
}
/* */
p {
margin: 0;
}
blockquote {
margin: 0.3em 0 0 0;
}
</style>
</head>
<body class="vscode-body vscode-light">
<h3 id="introduction">Introduction</h3>
<ul>
<li>
<p>This is a Virtual Folder.</p>
<p>You can <strong>create more virtual folders</strong> inside. <br>
Then <strong>move</strong> your workspace (<strong>real</strong>) files/folders inside <br>
& <strong>manage</strong> them better <strong>inside</strong> the Virtual Folder.</p>
<p>The underlying (real) files/folders <strong>will not be changed</strong> <br>
(-- thats what Virtual stands for).</p>
</li>
<li>
<p>These below are Project Folders copied from your current workspace. <br>
You drag files/folders from here into the Virtual Folder.</p>
</li>
<li>
<p><img src="file:///h:\Using\virtualfoldervsc\docs\virtualfoldervsc%20demo%2020230930%20.png" alt="demo"></p>
</li>
<li>
<p><a href="https://github.com/Norlandz/virtualfoldervsc/assets/43581880/a97d3cbb-4e4a-45aa-9a2f-a55258da8a54">https://github.com/Norlandz/virtualfoldervsc/assets/43581880/a97d3cbb-4e4a-45aa-9a2f-a55258da8a54</a></p>
</li>
</ul>
<h3 id="functionality">Functionality</h3>
<ul>
<li>
<p>has a <strong>Root Virtual Folder</strong> <br>
have your <strong>workspace (real) files/folders</strong> below</p>
</li>
<li>
<p><strong>create Virtual Folder</strong> inside the Root Virtual Folder</p>
</li>
<li>
<p>copy real files/folders <strong>into</strong> virtual folders</p>
</li>
<li>
<p>The below-copied underlying (<strong>real</strong>) files/folders <strong>will not be changed</strong></p>
<ul>
<li>(if you attempt to do so, it will either only appears in the virtual way, or not respond to your action)</li>
<li>though, of course you are allowed to open the file & <strong>edit</strong> them in the editors</li>
<li>the thing wont chagne is the <strong>Folder Structure</strong> in your file system</li>
</ul>
</li>
<li>
<p><strong>drag and drop</strong> the files/folders <br>
(allow drag from <strong>other File Explorer</strong> too)</p>
</li>
<li>
<p><strong>save</strong> the Virtual Folder Structure (automatically on every modification)</p>
</li>
<li>
<p><strong>restore</strong> the Virtual Folder Structure back to Factory (empty the Root Virtual Folder)</p>
</li>
<li>
<p><strong>undo</strong> (no redo yet)</p>
</li>
</ul>
<h3 id="limiations--problems">Limiations / Problems</h3>
<ul>
<li>
<p>you <strong>cannot use hotk</strong>eys on the Tree Item <br>
-- I think this is the Vscode problem (the Tree Item context just <strong>wont</strong> get passed into the command handler)</p>
</li>
<li>
<p>save the Virtual Folder Structure is executed <strong>on every modification</strong> <br>
-- bad for performance -- should do it when you close the Extension/Vscode <br>
-- but exec on <code>deactivate()</code> cannot do the job, cuz it has a limit of 5 seconds (though, save doesnt take that long, it just wont execute) <br>
& there is no other Event trigger for "on Extension Closed"</p>
</li>
<li>
<p>may still have (many) <strong>bugs</strong></p>
</li>
<li>
<p>the Real and Virtual can <strong>coexist</strong> if its at the same Level (conceptually, its still Virtual folder) -- this is bit <strong>mixed</strong> (but nothing wrong, just powerful & <strong>complex</strong>). <br>
but you <strong>cannot</strong> make that coexist happen for the <strong>subfolders</strong> inside below that level</p>
</li>
<li>
<p>can have <strong>inf recurrsion</strong> if you drop the folder into itself (wont break, deps on your usage; & hard to notice;)</p>
</li>
</ul>
<h3 id="version--update">Version & Update</h3>
<ul>
<li>v0.1.4 (initial publish)</li>
</ul>
<h3 id="links-related">Links related</h3>
<p>github: <a href="https://github.com/Norlandz/virtualfoldervsc">https://github.com/Norlandz/virtualfoldervsc</a></p>
<p>vscode marketplace: <a href="https://marketplace.visualstudio.com/items?itemName=norlz.virtualfoldervsc">https://marketplace.visualstudio.com/items?itemName=norlz.virtualfoldervsc</a></p>
</body>
</html>