Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add labels/colors for folders #62104

Closed
tiagoboeing opened this issue Oct 30, 2018 · 35 comments
Closed

Add labels/colors for folders #62104

tiagoboeing opened this issue Oct 30, 2018 · 35 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) feature-request Request for new features or functionality file-explorer Explorer widget issues themes Color theme issues

Comments

@tiagoboeing
Copy link

Issue Type: Feature Request

Assign colors or labels to any folder, making it easy to identify the most important. Useful for when working with many folders.

@vscodebot
Copy link

vscodebot bot commented Oct 30, 2018

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

@cleidigh cleidigh added feature-request Request for new features or functionality file-explorer Explorer widget issues themes Color theme issues labels Oct 30, 2018
@techsin
Copy link

techsin commented Nov 6, 2018

image

@tiagoboeing
Copy link
Author

tiagoboeing commented Nov 6, 2018

This resource is used for extensions of Git how GitLens! For show changes in files or folders.

@techsin
Copy link

techsin commented Nov 6, 2018

filename text colors can be used to for git lens, background color of most recent colored parent directory can be used to help user color code their folder structures into sections.

@tiagoboeing
Copy link
Author

Ohh perfect, but, how set the color for a folder? Is necessary a extension/plugin?

@techsin
Copy link

techsin commented Nov 9, 2018

I don't know how to set colors for folders. But I was thinking children should inherit color of parent UNLESS they were given different color then again similarly their children should go with new color.

This system is used all over Adobe programs to help users quickly navigate through layers.
Programs like Ai, After Affects, etc.

@techsin
Copy link

techsin commented Nov 9, 2018

of course a button to clear all colors on the directory and sub directories would be useful. I think right click menu is a good place to put that.

@parthi2929
Copy link

This issue has been open since last october.. Any plan to integrate?

@techsin
Copy link

techsin commented Mar 12, 2019

+1

@anasmsb
Copy link

anasmsb commented Apr 14, 2019

any update if this feature will be added

@tiagoboeing
Copy link
Author

I'm still following... 😕

@techsin
Copy link

techsin commented Apr 15, 2019

Still waiting here too

@Owanesh
Copy link

Owanesh commented Jul 3, 2019

Any plan to integrate it ? it will be very useful <3

@techsin
Copy link

techsin commented Jul 3, 2019

need this

@emileber
Copy link

emileber commented Aug 6, 2019

Work around I found in the meantime.

image

In the workspace settings file, just include any unicode emoji in the "name" option of each folders object:

	"folders": [
		{
			"name": "🌕🌕🌕🌕 ROOT",
			"path": "...snip..."
		},
		{
			"name": "📁📁📁📁 SOURCES",
			"path": "...snip..."
		},
		{
			"name": "CHALLENGES",
			"path": "...snip..."
		},
		{
			"name": "📗📗📗📗 STORYBOOK",
			"path": "...snip..."
		}
	],

@CharlesGouldmann
Copy link

Would love to see this implemented.

@isidorn isidorn added this to the Backlog milestone Oct 9, 2019
@BenRacicot
Copy link

BenRacicot commented Nov 6, 2019

@isidorn would love to be able to color differentiate project folders such as:

client/
common/
server/

So that you know what files you're working on without having to confirm.
(maybe also each folder's open file's tab-font-color to match)

@JustinGrote
Copy link
Contributor

Seeing as I just erased a bunch of code I was working on because I was mistakenly working in my Release folder and then when I clicked "build" it went away, it would have been nice to mark my release directories and files with a subtle "red" background so I don't do that again...

@sefabaser
Copy link

I there any progress on this? Really needed.

@techsin
Copy link

techsin commented Mar 25, 2020

@jakubnavratil
Copy link

Isn't this possible through extension?

@CharlesGouldmann
Copy link

Isn't this possible through extension?

If you have found an extension that does this, then please let us know.
I have not been able to find any extensions which allow for grouping of folders by using colors.

@jakubnavratil
Copy link

jakubnavratil commented Apr 23, 2020

After some research, there is currently Proposed Api #54938

Decorator API allows changing text color, but it's missing ability to change background color.
If we add ability to change background color in Decoration and new Proposed API lands in stable, extension could be done.
src/vs/workbench/services/decorations/browser/decorationsService.ts

There will still be a limitation on where background is applied (not full width of explorer).

Example:
image

Note: maybe there is posibility to exploit current implementation of decorationsService.ts, and define color like ---; background-color: #f00; (similar to good old SQL injection 😄 ), but I didn't try.

@BenRacicot
Copy link

Nice research @trubit! We're so close to this feature being available.
Is that API available within the current builds? I can't tell from that thread.

@jakubnavratil
Copy link

jakubnavratil commented Apr 23, 2020

@BenRacicot It's in Insiders build after enabling proposed API.
https://code.visualstudio.com/api/advanced-topics/using-proposed-api

But still, we need VScode to support background color on decorations.
Someone maybe make separate feature request?

@jakubnavratil
Copy link

In a meantime there is nice extension which can help with organization:
https://marketplace.visualstudio.com/items?itemName=howardzuo.vscode-favorites

@tiagoboeing
Copy link
Author

Awesome! For favorites exists too this extension that allows to categorize, create groups and subgroups:

Enquanto isso, há uma boa extensão que pode ajudar na organização:
https://marketplace.visualstudio.com/items?itemName=howardzuo.vscode-favorites

@phoenixsampras
Copy link

Is there any advance on this URGENT matter? some people like have to handle 1 million files and folders.... this will relieve the burden... thanks in advance!

@ribeirompl
Copy link

+1

@Sheldonfrith
Copy link

I really need this feature as well

@MelleNi
Copy link

MelleNi commented Sep 25, 2020

My life would be considerably better if this feature was added

@zzik
Copy link

zzik commented Oct 20, 2020

First off, huge thanks to VS.Code for being free.
I am a beginner, but still, it would make my life so much easier if there was a way to separate folders which I use and change on a regular basis from the ones that I don't.

@Chaciej
Copy link

Chaciej commented Oct 25, 2020

bump! Used it in IntelliJ Idea and this feature is awesome, had many colored scopes separately for server, assets, certain projects and working like that was super fast & intuitive... really could be a game changer for VSC

@emileber
Copy link

@isidorn could we lock this issue?

There's nothing much to add and we get spammed by these bumps ☝️ I still want to be subscribed to know if this ever get implemented.

@microsoft microsoft locked as spam and limited conversation to collaborators Oct 26, 2020
@isidorn isidorn assigned JacksonKearl and unassigned isidorn Aug 12, 2021
@lramos15 lramos15 assigned lramos15 and unassigned JacksonKearl May 25, 2022
@joaomoreno
Copy link
Member

/duplicate #31308

@joaomoreno joaomoreno closed this as not planned Won't fix, can't repro, duplicate, stale Dec 15, 2023
@VSCodeTriageBot VSCodeTriageBot added the *duplicate Issue identified as a duplicate of another issue(s) label Dec 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) feature-request Request for new features or functionality file-explorer Explorer widget issues themes Color theme issues
Projects
None yet
Development

No branches or pull requests