Questions tagged [webstorm]

WebStorm is a commercial IDE built by JetBrains for editing JavaScript, HTML, and CSS. It is built on the IntelliJ IDEA platform.

WebStorm is a commercial cross-platform IDE built by JetBrains for editing JavaScript, HTML, and CSS. It is built on the IntelliJ IDEA platform.

WebStorm supports a wide range of front-end web technologies, including, but not limited to:

  • HTML5, (X)HTML, XML and XSLT
  • CSS, LESS and SASS
  • JavaScript, CoffeeScript and TypeScript languages
  • Templating engines like Jade, Mustache and EJS
  • Node.js platform
  • JS libraries like jQuery, YUI or Prototype
  • Code quality tools (JSHint, JSLint)

There's also support for scaffolding a few project types, like for example Twitter Bootstrap and HTML5 Boilerplate.

Useful links:

5400 questions
681
votes
10 answers

What to gitignore from the .idea folder?

Possible Duplicate: Intellij Idea 9/10, what folders to check into (or not check into) source control? I started using WebStorm for web development and am not sure what to add and what to exclude from our Git repository. Clearly some files inside…
Borek Bernard
  • 50,745
  • 59
  • 165
  • 240
546
votes
5 answers

Can IntelliJ IDEA encapsulate all of the functionality of WebStorm and PHPStorm through plugins?

I am in the market for a new IDE but am confused about the overlap between some of Jetbrains' offerings. It looks like IntelliJ IDEA has plugins that allow you to do Node.js and php development. Can IntelliJ IDEA do everything that WebStorm and…
mr.freeze
  • 13,731
  • 5
  • 36
  • 42
365
votes
5 answers

WebStorm/PhpStorm double quotes in TypeScript auto import

I'm using TypeScript style with single quotes, double quotes are used exclusively in HTML templates. WebStorm/PhpStorm auto import adds import statements with double quotes and ruins the style. I guess this applies to all JetBrains products. How can…
Estus Flask
  • 206,104
  • 70
  • 425
  • 565
258
votes
6 answers

Difference between WebStorm and PHPStorm

I'm choosing an IDE for web development and I would like to know what the differences between WebStorm and PHPStorm are. I couldn't find any major points on JetBrains' website and even Google didn't help that much. All I know now is that PHPStorm…
Filip Kraus
  • 2,714
  • 2
  • 14
  • 16
256
votes
4 answers

What is the .idea folder?

When I create a project in JetBrains WebStorm, a folder called .idea gets created. Is it okay if I delete it? Will it affect my project?
ECMAScript
  • 4,439
  • 4
  • 21
  • 29
250
votes
13 answers

How can I fix WebStorm warning "Unresolved function or method" for "require" (Firefox Add-on SDK)

I'm using WebStorm 7 for Firefox Add-on SDK development. WebStorm shows a warning: "Unresolved function or method" for require(). I want to get rid of the warning. var pageMod = require("sdk/page-mod"); NOTE:I already configured JavaScript-library…
skatsumata
  • 2,614
  • 2
  • 11
  • 7
241
votes
7 answers

ESLint: TypeError: this.libOptions.parse is not a function

I was getting started with Next.js on WebStorm 2022.2.1 Build #WS-222.3739.57. I created a new Next.js project with TypeScript enabled, and that's all. The error is shown below: TypeError: this.libOptions.parse is not a function TypeError:…
Thebluedragon
  • 2,564
  • 2
  • 4
  • 13
233
votes
13 answers

Word wrapping in PhpStorm

How can I enable word wrapping in PhpStorm? I need to enable it only for some of my files (with extension .txt). Is it possible?
ozahorulia
  • 9,798
  • 8
  • 48
  • 72
213
votes
6 answers

Auto-saving files upon changes with Visual Studio Code

I have used WebStorm from JetBrains for almost four years now. It's a fantastic IDE for many reasons, but one of the best features is that it saves versions of files outside of version control. So if you accidentally delete files or lose files…
Alexander Mills
  • 90,741
  • 139
  • 482
  • 817
179
votes
12 answers

How can I change the file type association of an existing file in WebStorm?

I accidentally created a file with no extension and I chose the wrong file type association. Text Document I think. I renamed it to have the .js extension which is what I wanted, but now it's stuck without any syntax highlighting. WebStorm…
Joseph Eames
  • 2,529
  • 3
  • 16
  • 15
167
votes
10 answers

How to ignore a particular directory or file for tslint?

The IDE being used is WebStorm 11.0.3, the tslint is configured and works, but, it hangs because it tries to parse large *.d.ts library files. Is there a way to ignore a particular file or directory?
user3330840
  • 6,143
  • 7
  • 26
  • 39
154
votes
4 answers

How do I use WebStorm for Chrome Extension Development?

I just bought WebStorm 5 and so far have been really enjoying its Inspection features. One hitch I've run in to when developing my Chrome extension is that it doesn't recognize the chrome variable: Is there a way I can add the chrome variable to…
152
votes
7 answers

How to import js-modules into TypeScript file?

I have a Protractor project which contains such a file: var FriendCard = function (card) { var webElement = card; var menuButton; var serialNumber; this.getAsWebElement = function () { return webElement; }; …
SanchelliosProg
  • 2,091
  • 3
  • 20
  • 32
148
votes
7 answers

How to fight tons of unresolved variables warning in WebStorm?

I have a function that takes data from server: function getData(data){ console.log(data.someVar); } WebStorm says that someVar is an unresolved variable. How can I get rid of such warnings? I see several options: Suppress warnings in IDE…
S Panfilov
  • 16,641
  • 17
  • 74
  • 96
138
votes
7 answers

How can I get WebStorm to recognize Jasmine methods?

I have a node.js project that contains some Jasmine specifications. The specifications are in a spec/ subdirectory and have the .spec.coffee extension, as required by jasmine-node. When I open one of my spec files in the WebStorm IDE, all the calls…
Joe White
  • 94,807
  • 60
  • 220
  • 330
1
2 3
99 100