How can I increase the font size in WebStorm?

Change font size with MouseWheel (called “zooming in the editor”) To enable changing font size in the editor Open the Settings/Preferences dialog, expand the Editor node, and click General. Make sure that the setting Change font size (Zoom) with Ctrl+MouseWheel is enabled. https://www.jetbrains.com/help/idea/2017.1/zooming-in-the-editor.html

‘require’ keyword not being recognized by webstorm

In Webstorm, there are three places in your settings (ctrl-alt-s) where you can update settings for Node.js projects. Settings: Javascript Libraries First, in Javascript | Libraries you can specify that Node libraries should be loaded. Your set of libraries may look different than this, but it should be pretty close…or, if needed, you can add … Read more

How does one debug NextJS React apps with WebStorm?

The following steps work for me: start the app with next (npm run dev or whatever your start script looks like) add breakpoints, create JavaScript Debug run configuration, specify http://localhost:3000 URL debug If you like to debug the code that is executed on the server side, I’d suggest using the Node.js run configuration with node_modules\next\dist\bin\next … Read more

TypeScript: ‘super’ must be called before before accessing ‘this’ in the constructor of a derived class

Another solution I eventually came up with, in addition to the ones provided by @iberbeu and @Nypan, is to add and intermediary initProps() method right before the call to scream(): class Person { public firstName: string; constructor(firstName: string, props?: any) { this.firstName = firstName; this.initProps(props); this.scream(); } protected initProps(props: any): void { } protected scream(): … Read more

How to provide Python syntax coloring inside Webstorm?

Your ONLY option in WebStorm is to use TextMate bundles support plugin with Python bundle — it will provide syntax highlighting (no completion or syntax checking etc). This official article (with pictures) is for PhpStorm, but it should work the same for WebStorm as well: http://confluence.jetbrains.com/display/PhpStorm/TextMate+Bundles+in+PhpStorm There are several TextMate bundles available for Python: https://github.com/textmate?utf8=%E2%9C%93&q=python … Read more

tech