Skip to content

Commit 46c1b10

Browse files
Merge pull request #16 from JonahFintzDev/14-directory-names-display-with-spaces-url-escaped
feat: decode URI components in workspace path for accurate name extra…
2 parents f225ccf + ebb220f commit 46c1b10

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

VsCode/Classes/VSCodeWorkspace.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public string GetName()
4545
string workspaceName = "";
4646

4747
// split name by / and get last part
48-
var nameParts = Path.Split('/');
48+
var nameParts = Uri.UnescapeDataString(Path).Split('/');
4949
if (nameParts.Length == 0)
5050
{
5151
return workspaceName;

VsCode/Package.appxmanifest

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
<Identity
1313
Name="JonahFintzDEV.602808C55E867"
1414
Publisher="CN=240FD63B-E96D-4F79-A6D2-BFC6E6AD6C10"
15-
Version="1.4.1.0" />
16-
15+
Version="1.4.2.0" />
1716

1817
<Properties>
1918
<DisplayName>Command Palette - VS Code</DisplayName>

0 commit comments

Comments
 (0)