vscode-standard icon indicating copy to clipboard operation
vscode-standard copied to clipboard

Fix all auto-fixable problems not working

Open TechNomad615 opened this issue 3 years ago • 5 comments

What version of this package are you using? v2.1.0

What operating system, Node.js, and npm version? I am getting the same errors on both Arch Linux and Windows Arch Linux NodeJS: 18.7.0 NPM: 8.17.0

Windows 10 NodeJS:17.17.3 NPM:8.12.2

What happened? Press CTRL + SHIFT + P, select JavaScript Standar Style: Fix all auto-fixable Problems and an error pops up. 'undefined is not validating any files yet Source StandardJS - JavaScript Standard Style (Extension)

What did you expect to happen? The extension to format the document

Are you willing to submit a pull request to fix this bug? Never done that before, but I am willing to learn

I also reverted back to the vscode-standardjs (old version) by Sam Chen using ext install chenxsan.vscode-standardjs. This package works as intended on both systems (Linux and Windows). This only started happening after I migrated to the new supported version

TechNomad615 avatar Aug 11 '22 12:08 TechNomad615

since there has been no updates on this issue I have switched to eslint which works as expected. so I am closing this issue

TechNomad615 avatar Oct 23 '22 11:10 TechNomad615

Same issue..newer version of standardJS not working as intended

Robsonsjre avatar Nov 14 '23 15:11 Robsonsjre

I can't get the VSCode extension as well, same issue

kolyasya avatar Dec 21 '23 09:12 kolyasya

// "editor.codeActionsOnSave": { // "source.fixAll": "explicit", // },

"standard.autoFixOnSave": true,

This fixed autosaving for me with standard - you have to disable vsCode's config

maxwellsmart84 avatar May 01 '24 19:05 maxwellsmart84