VS Code extensions for web development in 2022
21–30 of 30 posts
Re: VS Code extensions for web development in 2022
#22Why do people use both prettier and eslint when eslint has auto-formatting built in?
Re: VS Code extensions for web development in 2022
#23Re: VS Code extensions for web development in 2022
#24VSCode thread, a great opportunity to ask, how does one deal with seemingly one of the worst "(" ")" indentation rules in a history of editors? E.g. h = React.createElement h("div", h("label", h("input", ) ) Reindents into: h = React.createElement h("div", h("label", h("input", ) ) It only happens with (), but {} [] work fine. Couldn't find any extension, neither wrap my head around indentationRules.
Prettier?
Fun part is, neovim plugin reindents it correctly with =.
Re: VS Code extensions for web development in 2022
#25VSCode thread, a great opportunity to ask, how does one deal with seemingly one of the worst "(" ")" indentation rules in a history of editors? E.g. h = React.createElement h("div", h("label", h("input", ) ) Reindents into: h = React.createElement h("div", h("label", h("input", ) ) It only happens with (), but {} [] work fine. Couldn't find any extension, neither wrap my head around indentationRules.
I think eslint --fix does the right thing by default
Re: VS Code extensions for web development in 2022
#26 - atom-easy-jsdoc
- atom-live-server
- atom-typescript
- atom-ide-deno
- atom-ide-javascript
For full IDE-like experience, I recommend these as well: - linter
- linter-ui-default
- atom-ide-base
- atom-ide-code-format
- atom-ide-datatip
- atom-ide-base
- atom-ide-debugger-node
- atom-ide-definitions
- atom-ide-deno
- atom-ide-hyperclick # Or hyperclick by facebook-atom
- atom-ide-javascript
- atom-ide-outline
- atom-ide-ui # don't forget to turn off diagnose in setting. It conflict with linterRe: VS Code extensions for web development in 2022
#27One of my most used VSCode extensions at the moment is "Fix JSON". It fixes problems in JSON by running the broken JSON through jsonic. If you ever need to take a JS object dump (from an error stack trace, or a Redux state dump, etc) and turn it in to well formatted JSON it's very useful.
Re: VS Code extensions for web development in 2022
#28Earlier quoted context omitted.
Prettier?
If you mean "install prettier, set it as a default formatter", then it doesn't. I tried all shallow methods, then all deep ones I was able to comprehend. Indentation rules are different from formatting, and default prettier settings mess it up completely into argument-per-line if it's a big hierarchy (which it usually is). Hyperscript readability highly depends on how you format it. Fun part is, neovim plugin reinden…
Re: VS Code extensions for web development in 2022
#29Earlier quoted context omitted.
If you mean "install prettier, set it as a default formatter", then it doesn't. I tried all shallow methods, then all deep ones I was able to comprehend. Indentation rules are different from formatting, and default prettier settings mess it up completely into argument-per-line if it's a big hierarchy (which it usually is). Hyperscript readability highly depends on how you format it. Fun part is, neovim plugin reinden…
I've not heard Hyperscript in a while. While I detest JSX, with Hyperscript's bad ergonomics and indentation issues you have, why use JavaScript? There's a plethora of better options that compile to the JS target if you want markup as function that improves the ergonomics and likely a better experience. Heck even CoffeeScript does a better job at this.
foo(bar, baz, ........
quux)
I'd agree if you told that it probably begs for a refactoring into named arguments, but it isn't an excuse to mess with indentation. Virtually every other editor out there would indent quux line, if it at all has indentation concept built in. Even neovim vscode plugin "knows" that.