Reactjs – Strange space in WebStorm/PhpStorm 2022 between tags
I'm using React and writing tags in a tsx file. When I use Reformat code, spaces appear instead of newlines. Tell me how to fix this and what could be causing this?
I'm using React and writing tags in a tsx file. When I use Reformat code, spaces appear instead of newlines. Tell me how to fix this and what could be causing this?
In our project there is .idea folder checked-in into git repository with old content (there is even .iml file that is actually previous generation), and it puts project into dirty state right after import. While ultimate solution will be to…
I cannot find the exact problem. WebStorm highlights CommonModule directives even if the BrowserModule was provided. Below you can see my app.module and app.component.html. But it seems that everything is okay, because the app compiles correctly. There is no any…
Question: How to import JavaScript files in NodeJS using file paths from project root? (instead of relative file paths) In other words, my team is trying to transition from Syntax Style A to Syntax Style B (shown below): Syntax Style…
When previewing a file in the search window, the "Annotate" (git blame) option is grayed out. Is there a way to enable this with an config option or a plugin? Searching "phpstorm show annotations in search" takes me to this…
I have a MacBook M1 and installed WebStorm 2022.2.3 and installed Docker plugin. Then I installed Docker Desktop for Apple Silicon. The Docker Desktop is working fine but in my WebStorm I got an error when I try to build…
I am trying to use Run/Debug Configurations on WebStorm, however it doesn't seem to source .zshrc and produces errors about not finding commands and environment variables. (An example of this would be yarn tauri dev when using Tauri) I have…
I got a package.json where I export different scripts using the exports field. "exports": { ".": { "default": "./dist/main.es.js", "require": "./dist/main.cjs.js", "types": "./dist/main.d.ts" }, "./utils": { "default": "./dist/utils.es.js", "require": "./dist/utils.cjs.js", "types": "./dist/utils.d.ts" }, "./segments/*": { "default": "./dist/webvtt/segments/*.es.js", "require": "./dist/webvtt/segments/*.cjs.js", "types":…