dprint-vscode
dprint-vscode copied to clipboard
Visual Studio Code extension for formatting code with dprint.
Version `0.16.0` works just fine with VS Code on Mac and formats documents. Version `0.16.1` stopped working. Initialization of the plugin fails with "No configuration file found" printed to the...
VSCode: ``` Version: 1.87.2 (user setup) Commit: 863d2581ecda6849923a2118d93a088b0745d9d6 Date: 2024-03-08T15:20:17.278Z Electron: 27.3.2 ElectronBuildId: 26836302 Chromium: 118.0.5993.159 Node.js: 18.17.1 V8: 11.8.172.18-electron.0 OS: Windows_NT x64 10.0.22000 ``` Plugin version: ``` Name: Dprint...
If you set `"dprint.experimentalLsp": true` and open a dprint config file, VS Code says: > Unable to load schema from 'dprint://schemas/config.json': cannot open dprint://schemas/config.json. Detail: Unable to resolve resource dprint://schemas/config.json....
Using dprint extension v0.13.5 With vs code insiders: ``` Version: 1.75.0-insider (Universal) Commit: e2816fe719a4026ffa1ee0189dc89bdfdbafb164 Date: 2023-02-01T15:16:42.458Z (3 hrs ago) Electron: 19.1.9 Chromium: 102.0.5005.194 Node.js: 16.14.2 V8: 10.2.154.23-electron.0 OS: Darwin arm64...
dprint prints the errors that it encounters in the output channel of the IDE. However, it doesn't create diagnostics. It would be great if it does. Instead of this, we...
The folder structure is as follows. ``` project_root/
See https://github.com/dprint/dprint/issues/355
This PR adds new `dprint.command` vscode option which allows running custom command. Closes #38 and #45
Hi, just started exploring dprint and tried this extension, formatting the document works fine but when I try to format a selection VScode complains about dprint not being a valid...