This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| This a comparison to help myself decide my IDE, listed in order of importance. | |
| ## Context | |
| 1. Coding in Typescript for 2 year, 3 years on NodeJS before that, 15+ years in general (mostly Java) | |
| 2. Spent about 6 months on VS Code and 6 month with WebStorm | |
| 3. Cost is not a factor (company provides JetBrain licenses) | |
| 4. What my projects look like: back-end, OOP, Typescript, Mocha, ESLint, pnpm and monorepos (~15 packages, ~300 files) | |
| ## WebStorm does better |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export const pxToVw = (px: number, windowWidth?: number) => | |
| `${(px / (windowWidth ?? window.innerWidth)) * 100}vw`; | |
| export const pxToVh = (px: number, windowHeight?: number) => | |
| `${(px / (windowHeight ?? window.innerHeight)) * 100}vh`; |
OlderNewer