js-promise-function-colorizer extension for VSCodeHighlights JavaScript/TypeScript functions that return promises with a custom color. You can customize the color using the I created this because sometimes I forget to add an await in functions that return a promise. While the require-await rule on ESLint is useful, sometimes we might want to make async calls without waiting for their result. This extension simply makes us more aware of which function calls are async. Disclaimer: AI was heavily used when making this, and there are no unit tests written. Let me know if you find any problems and I will respond in n+1 business days, where n = days passed since you reported the problem. TODO
FeaturesAutomatically detects promise-returning functions and calls
RequirementsDepends on VSCode's typescript-language-features being enabled Extension SettingsThis extension contributes the following settings:
Example
Known Issues
Releasing
or
|