Pure-D / code-d

Fully featured D language extension for Visual Studio Code using Serve-D
MIT License
290 stars 47 forks source link

Code-d broken, reinstalled twice. Can't open project settings dialog: #482

Open katastic opened 4 days ago

katastic commented 4 days ago

image

Tried both with my project, and a brand new project folder using > create new project option.

2024-07-02 15:04:08.196 [info] Eager extensions activated
2024-07-02 15:04:08.218 [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch, startup: false, activationEvent: 'onStartupFinished'
2024-07-02 15:04:08.223 [info] ExtensionService#_doActivateExtension vscode.merge-conflict, startup: false, activationEvent: 'onStartupFinished'
2024-07-02 15:04:08.236 [info] ExtensionService#_doActivateExtension ms-vscode-remote.remote-wsl, startup: false, activationEvent: 'onStartupFinished'
2024-07-02 15:04:08.268 [info] ExtensionService#_doActivateExtension vadimcn.vscode-lldb, startup: false, activationEvent: 'onStartupFinished'
2024-07-02 15:04:08.894 [info] ExtensionService#_doActivateExtension vscode.github-authentication, startup: false, activationEvent: 'onAuthenticationRequest:github'
2024-07-02 15:04:34.887 [info] ExtensionService#_doActivateExtension webfreak.code-d, startup: false, activationEvent: 'onLanguage:d'
2024-07-02 15:12:06.455 [error] Error: command 'vscode.previewHtml' not found
    at v.n (vscode-file://vscode-app/c:/Users/[...]/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1637:23867)
    at v.executeCommand (vscode-file://vscode-app/c:/Users/[...]/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1637:23796) dub.openSettingsEditor {"value":"webfreak.code-d","_lower":"webfreak.code-d"}
WebFreak001 commented 4 days ago

ah this is broken in the current release of code-d due to internal API changes by Microsoft 3 years ago. The current master of code-d has this somewhat fixed, but not fully restored functionality