question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Remote Folder name in Explorer: How to change?

See original GitHub issue

Hi,

First off, Great extension. Just moved over to VScode, and this plugin is a must for my workflow.

One thing I’m having trouble with is I have a workspace with multiple remote server folders. The name for any remote folder as listed under Explorer uses <username> (Remote). Since my username is the same across servers, all my remote folders have the same name. It would be nice if there were a <description> parameter in the remote server config which could uniquely identify the remote server. Perhaps fail back to either the label defined in User Settings for the remote server or even the hostname parameter.

Cheers, tzcole

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
Naramsimcommented, Feb 22, 2019

Just for clarity: you can set the name dynamically with this rootLabel

"remotefs.rootLabel": "${name} — (Remote)",
0reactions
ErtyHackwardcommented, Sep 19, 2022

SSH FS does not work with ftp.

I tried adding this to my VSCode settings.json:

"remotefs.remote": {
	"10.0.1.116": {
		"name": "1.116",
		"scheme": "sftp",
		"host": "10.0.1.116",
		"username": "root",
		"rootPath": "/usr/local/telco-data/slaview/customfilesOp/scripts"
	},
	"10.0.1.117": {
		"name": "1.117",
		"scheme": "sftp",
		"host": "10.0.1.117",
		"username": "root",
		"rootPath": "/usr/local/telco-data/slaview/customfilesOp/scripts"
	},
},
"remotefs.rootLabel": "${name} — (Remote)",

But it still shows this after reloading: image

You need to remove existing folders from workspace and re-add them (ctrl+shift+p)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot change network folder name - Microsoft Q&A
RDP to the server and open Computer Management. In the Shared Folders section close any open files or sessions that are impacting the...
Read more >
Change a Folder's Name Without Renaming It
Unlike changing the display name of a folder though, the icon can be set by simply right-clicking a folder, choosing Properties, then selecting ......
Read more >
How to Change or Rename a File, Folder, or Directory
Highlight the file or folder. Click File at the top of the window and select Rename from the list of available options. Tip....
Read more >
How to Change the User Folder Name in Windows 10 - Lifewire
Create a new local account with the name you want (set it as an administrator). Then go to Settings > Accounts > Your...
Read more >
Folders renamed through Windows Explorer keep the original ...
Have you tried pressing F5 to refresh the folder? Renaming a folder to the same name will make explorer cancel its action, which...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found