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 folder based mappings to the additionalFileMapping setting #255

Open
Nidoxs opened this issue Oct 18, 2023 · 2 comments
Open

Add folder based mappings to the additionalFileMapping setting #255

Nidoxs opened this issue Oct 18, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@Nidoxs
Copy link

Nidoxs commented Oct 18, 2023

I would love the ability to specify something like this where all files within the specified folder have the specified icon.

"vscord.behaviour.additionalFileMapping": {
   "src/ui/react-components/*": "jsx"
}

This is particularly useful for situations where you want to convey that you're working on a certain file, but the circumstance is a little too specific for the extension to pick up on it. For example, I'm using React but not in a JS or TS file yet I still want to convey that I'm working on React files.

It's unclear to me whether this feature would require some sizeable refactoring to core parts of the extension's source. I'm also unsure if this is possible already within the extension (i did take a look at the source, but couldn't find anything that stood out) so I thought I'd make this issue.

@xhayper
Copy link
Collaborator

xhayper commented Oct 18, 2023

This is such an amazing idea, i will see if i can get it implemented

@Nidoxs
Copy link
Author

Nidoxs commented Oct 18, 2023

Thank you so much for the speedy response! Yeah, I think it would be really cool to be able to do this.

@xhayper xhayper added the enhancement New feature or request label Oct 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants