5,523 questions
20
votes
4
answers
3k
views
How do I get Jetbrains IDE's embedded terminal to recognize ALT/Option as the Meta key?
I'm currently working in WebStorm, but also use IDEA and RubyMine.
I am using the embedded terminal and would like to get the Alt/Option key to be recognized as a the meta key, or at least send key+...
72
votes
2
answers
37k
views
Are VS code keybindings available for IntelliJ Idea/Webstorm?
I'm used to VS code shortcuts, is there anything way I can import vscode shortcuts for IntelliJ Idea.
1
vote
0
answers
40
views
How do I specify to WebStorm the canonical definition of the Vuex store?
Problem
I have a Vue project that uses Vuex for state management. Parts of the Vuex store are often mocked in unit tests (Vitest).
When Vuex stores are defined in both the main production code and in ...
0
votes
2
answers
1k
views
How to document field with dash with JSDoc
Given an object definition that I'm not allowed to modify:
let a = {"a-b" : 5};
How can I add JSDoc over it ?
I tried
/**
* @type {{"a-b": number}}
*/
But WebStorm tells me that this is not valid ...
113
votes
3
answers
25k
views
Add space in self closing tags before in self closing tags
How do you include a space before the closing tags in self closing tags with WebStorm/IntelliJ-based products?
Default settings turns <ReactComp /> to <ReactComp/>, which is against one ...
2
votes
1
answer
111
views
WebStorm: how to turn off double guidelines?
I opened a new project in WebStorm, and I see two guidelines. One appears at 80 and the at 120.
I want to keep the guideline at 120 and get rid of the one at 80, but all attempts to tweak settings ...
-1
votes
2
answers
136
views
Can't change an *ngFor to a @for. Its @for(commune of communes) is rejected, telling that Commune[] needs an iterator. But Commune is an interface
I have a Commune interface generated by an OpenAPI generator:
/** Une commune du Code Officiel Géographique */
export interface Commune {
/** Code de la commune */
codeCommune: string;
/*...
6
votes
1
answer
801
views
Any shortcut in WebStorm to surround a block of code with an IIFE
That is, if I have a function like:
angular.module('sessionController',[]);
and I want to change it to
(function () {
'use strict';
angular.module('sessionController',[]);
}());
I was ...
1
vote
2
answers
2k
views
Impossible to use WebStorm with React + MUI
I am using WebStorm 2022 with React, JavaScript and MUI -- and I have been getting insanely slow performance, that it's become impossible to use.
Autocomplete takes around 6-7 seconds to load, and my ...
0
votes
1
answer
82
views
WebStorm (IntelliJ, JetBrains) shows 'unused constant' warning even when constant is being used in TSX
I use Styled Components with Emotion and issue a "Unused Constant" alert, even though I actually use the constants defined above when I use them right below.
This is not a warning from ...
0
votes
1
answer
637
views
WebStorm critical error on Windows 10 operating system
I'm facing a problem running WebStorm from my Windows 10 pro laptop.
Internal error. Please report to http://jb.gg/ide/critical-startup-errors
java.nio.file.AccessDeniedException: C:\Users\Dell\....
1
vote
2
answers
171
views
Angular 19/20 Monorepo in JetBrains IDE
Starting with Angular 19 I keep getting errors like TS-992010: 'imports' is only valid on a component that is standalone. which I see others have fixed on VS Code by updating angular language service &...
9
votes
3
answers
3k
views
Setup WebStorm for Elixir (Project SDK is not defined)
I've been trying to setup WebStorm to work with Elixir and I'm getting a Project SDK is not defined message.
This is what I have:
$ elixir -v
Erlang/OTP 20 [erts-9.0] [source] [64-bit] [smp:8:8] [ds:...
1
vote
1
answer
90
views
WebStorm Windows PowerShell aliases don't work
When I run script ("example":"docker ps") via WebStorm run button, I get:
'docker' is not recognized as an internal or external command,
operable program or batch file.
PowerShell ...
1
vote
2
answers
1k
views
WebStorm unable to recognise Next.js project
I'm having an issue with an existing project in React Next.js, previously it was working fine but now it's unable to recognise the project and files.
Hence I cannot search for files, and also cannot ...
32
votes
3
answers
25k
views
Search all Files in WebStorm
I do not see an option to search for a term in all code files in WebStorm 6.0. Does anyone know how to search all files for certain keyword/text?
118
votes
7
answers
41k
views
How to set single clicking to open file in IntelliJ IDEA?
And what are counterparts to eclipse's declaration view and javadoc view?
1
vote
1
answer
66
views
How can I make WebStorm resolve SCSS @use "package:..." imports from another Dart package?
I’m working on a Dart project that uses the sass_builder package to compile SCSS files. I have a shared Dart package (let’s call it my_package) that contains SCSS utilities, and I want to import them ...
1
vote
2
answers
991
views
WebStorm gives warning for CSS files using url("/assets/...") path
WebStorm gives "Cannot resolve directory 'some_path'" error.
if assets path is used instead of relative path. By assets path I mean path starting with /assets/.
There is no problem when ...
48
votes
5
answers
19k
views
Enabling Liquid templating syntax highlight in webStorm/phpStorm
I wonder if someone managed to enable the Liquid templating engine syntax highlighting in WebStorm IDE, I work a lot on Shopify stores and really like using Webstorm for that purpose. Did anyone ...
0
votes
0
answers
36
views
How to remove wrong imports in IntelliJ WebStorm?
There are so many questions about removing unused imports, optimizing imports and everything else with imports, but not a single mention of removing wrong imports.
The case is:
I moved the whole ...
1
vote
2
answers
1k
views
How do I make WebStorm close the processes, in the terminal, when I exit?
I am developing an app using React Native Expo as the frontend, and NodeJS (Hono) as the backend.
my IDE is now WebStorm (I switched from VS Code a week ago).
after the transition from VS code, I get ...
-2
votes
1
answer
105
views
WebStorm latest 2019.3 and Angular 9. getting Cannot find module errors
After upgrading to Angular 9, I keep getting errors in TypeScript error console... but no errors exist when i run tsc in command line
Package Version.
my tsconfig
{
"compileOnSave": false,...
0
votes
0
answers
46
views
Where can I find an XSD/DTD for XUL which WebStorm will like?
I'm trying to use JetBrains' WebStorm IDE to work on a Mozilla Thunderbird extension of mine. It's not giving me such an easy time... but the worst part is all the error messages about my XUL files.
...
5
votes
1
answer
3k
views
How to disable inspection on files in dist folder
Most of my JavaScript projects have a folder lib containing source files and a folder dist containing builds of the project.
I use WebStorm (great IDE!), and WebStorm's code inspector and code ...