drcika / apc-extension

https://marketplace.visualstudio.com/items?itemName=drcika.apc-extension
MIT License
673 stars 27 forks source link

Bug in APC Customize UI++ Extension Causing Gray and Non-Functional New Windows in VS Code 1.93.0 // Erro na Extensão APC Customize UI++ Causa Janelas Novas Cinzas e Não Funcionais no VS Code 1.93.0 #223

Open Nashiizu opened 2 months ago

Nashiizu commented 2 months ago

ENGLISH I’m experiencing an issue with the APC Customize UI++ extension and the apc.electron package in VS Code. When I open a new window, it becomes bugged and gray, displaying no content, while the original window works fine. To temporarily fix this, I had to comment out the following lines in the settings.json:

// "apc.electron": { // "titleBarStyle": "hiddenInset", // }, // "apc.header": { // "height": 36 // }, // "apc.listRow": { // "height": 24 // }, // "apc.font.family": "Inter", // "apc.stylesheet": { // ".title-label > h2": "display: none", // ".editor-actions": "display: none", // ".nosider .inline-tabs-placeholder": "width: 75px", // ".pane-header": "padding: 0 8px", // ".pane-body": "padding: 8px", // ".split-view-view:first-child .pane-header": "display: none !important;", // ".monaco-list-row": "border-radius: 4px;", // ".monaco-workbench .monaco-list:not(.element-focused):focus:before": "display: none;" // },

I would like to use this custom style again, but I’m unable to due to conflicts that cause VS Code to malfunction. My VS Code version is 1.93.0.

PORTUGUÊS Estou enfrentando um problema com a extensão APC Customize UI++ e o pacote apc.electron no VS Code. Quando abro uma nova janela, ela fica bugada e cinza, sem exibir o conteúdo, enquanto a janela original funciona normalmente. Para corrigir temporariamente, precisei comentar as seguintes linhas no settings.json:

// "apc.electron": { // "titleBarStyle": "hiddenInset", // }, // "apc.header": { // "height": 36 // }, // "apc.listRow": { // "height": 24 // }, // "apc.font.family": "Inter", // "apc.stylesheet": { // ".title-label > h2": "display: none", // ".editor-actions": "display: none", // ".nosider .inline-tabs-placeholder": "width: 75px", // ".pane-header": "padding: 0 8px", // ".pane-body": "padding: 8px", // ".split-view-view:first-child .pane-header": "display: none !important;", // ".monaco-list-row": "border-radius: 4px;", // ".monaco-workbench .monaco-list:not(.element-focused):focus:before": "display: none;" // },

Gostaria de usar novamente esse estilo personalizado, mas não consigo devido a conflitos que fazem o VS Code funcionar mal. Minha versão do VS Code é 1.93.0.

mikebronner commented 2 months ago

I'm seeing this or something similar as well, on macOS: SHIFT-CMD-N opens a new window, but APC is not loaded, or does not load custom imports. The original window also looses formatting. To get it to work again I have to completely quit, then reopen VSCode. The same thing happens when opening existing projects, even in the same window.

    "apc.imports": [
        "file:///User/mike/.vscode-customizations/ui.css",
        "file:///User/mike/.vscode-customizations/ui.js",
        // "https://gist.githubusercontent.com/mikebronner/38c17b4875ba017e99c962fcf544377a/raw/4d4f6eb3c7538564053f79903e6f28e2afb9293d/custom.css",
        // "https://gist.githubusercontent.com/mikebronner/38c17b4875ba017e99c962fcf544377a/raw/4d4f6eb3c7538564053f79903e6f28e2afb9293d/custom.js"
    ],
Version: 1.93.1
Commit: 38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40
Date: 2024-09-11T17:20:05.685Z
Electron: 30.4.0
ElectronBuildId: 10073054
Chromium: 124.0.6367.243
Node.js: 20.15.1
V8: 12.4.254.20-electron.0
OS: Darwin arm64 24.1.0