gerane / VSCodeThemes

Themes for Visual Studio Code
200 stars 77 forks source link

HalfLife Theme Doesn't Work Anymore #69

Closed eiskalteschatten closed 4 years ago

eiskalteschatten commented 4 years ago

I've used the HalfLife theme for a long time, but since updating to Visual Studio Code 1.39.2 today, it no longer works. I can't select it or change to it. I've uninstalled it, reinstalled it, disabled it and re-enabled it with no luck.

This error appears in the Visual Studio Code dev tools console:

[gerane.Theme-HalfLife]: Expected string in `contributes.themes.path`. Provided value: undefined

I'm running Visual Studio Code on macOS 10.15 (Catalina).

eiskalteschatten commented 4 years ago

It seems to be the same issue as #68. I fixed it by changing the contributes.themes property in the package.json to:

"contributes": {
    "themes": [{
        "label": "Halflife",
        "uiTheme": "vs-dark",
        "path": "./themes/HalfLife.tmTheme"
    }]
}
heart-er commented 4 years ago

I only found setting.json.Where is package.json?

Niels-NTG commented 4 years ago

@jundge If you open your VSC command palette and run "Open extensions folder" and then find a folder named gerane.theme-${your-fav-theme} you will find the package.json file there.