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

Auto switch themes #1

Open
i-am-shodan opened this issue Nov 13, 2024 · 1 comment
Open

Auto switch themes #1

i-am-shodan opened this issue Nov 13, 2024 · 1 comment
Assignees
Labels
contribute Even an idea is fine

Comments

@i-am-shodan
Copy link

I really don't like my theme being changed. This change to my settings.json means that when I open a file ending in *.ds the theme will be switched only for that file. You need to have have the 'theme-by-language' extension installed.

{
    "theme-by-language.themes": {
        "filename:.*\\.ds$": "LightDuckyScript"
    },
    "workbench.colorTheme": "PowerShell ISE"
}

Leaving this here in case anyone else has this problem, feel free to close.

@i-am-shodan i-am-shodan added the contribute Even an idea is fine label Nov 13, 2024
@aleff-github
Copy link
Owner

I fully understand this issue…

I sincerely want to thank you for the contribution you've decided to make to the project, and as a result, I will include it on the home page to give credit to this idea.

Additionally, I would like to take the opportunity to openly ask anyone reading this if they know how to overcome this problem, perhaps by using some trick to apply other generic theme settings, allowing the syntax I've created to work with any theme. At the moment, I don't know how to do this, and I'm not sure if it's feasible (but I imagine it is).

@aleff-github aleff-github pinned this issue Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribute Even an idea is fine
Projects
None yet
Development

No branches or pull requests

2 participants