FAQ Database Discussion Community


I just created an HTML 5 Boilerplate project in WebStorm. Is there a standard command for compiling the “dist” folder?

html5,webstorm,html5boilerplate
I'm getting started with WebStorm 9. I created an HTML 5 Boilerplate project and I noticed a src and a dist folder. Is there a standard command to compile the content of the src folder into the dist folder? This is how my project looks like: ...

Angular parameter types on jsdoc

angularjs,ide,phpstorm,webstorm,jsdoc
I'm wondering what are the "proper" parameter types on angular specified stuff within jsdoc? Eg. if I have something like: /** * Some comment * * @param {WhatHere} $http * @param {WhatHere} $timeout */ function FooBar($http, $timeout) { } What are the proper types for those $http and $timeout so...

Webstorm not ignoring directories marked “excluded”

extjs,webstorm
I have marked the WebContent/desktop/build directory as excluded, but Webstorm is still trying to index it. This is annoying whenever I build, and I have to wait for Webstorm to finish indexing before I can do anything. How do I make it not index anything in the folder? Here's what...

Boiler plate code for webstorm angular js

angularjs,webstorm
Is there any boiler plate code available for angularJs that I can use with webstorm for speedy development. Bascially i am looking for code snippets to quickly create controllers, services, directives etc. I think sublime provides that feature, but not sure if we can do that in webstorm or not....

Node Express.js 4 Route Not working, Getting 404

javascript,node.js,express,webstorm
I've been trying to debug my route in my express app. The request is undefined but not sure why. I'm using Express 4.0 but running it Express 3.0 style (no bin/www). server.js var app = require('./app') var port = process.env.PORT || 3000; app.set('port', port); app.listen(app.get('port', function(){ console.log('Express web server is...

getter/setter on a module in TypeScript

typescript,webstorm,typescript1.4
I am using AMD modules (compiler flag "--module amd") in my TypeScript project. While I can easily use getters/setters on my classes I would like to do the same on my modules but export get abc() : string { return "abc"; } returns error TS1008: Unexpected token; 'module, class, interface,...

WebStorm: Hide html selector toolbar

ide,webstorm
In WebStorm I want to hide the toolbar that appears on html files at the top. It shows the html selectors and ids drill down. I've circled it in the below picture... ...

Webstorm helper for requiring module

webstorm,commonjs
I'm looking for a way to require module easily with Webstorm (shortcut, plugin, intention, ...). Here is my use case : Given my cursor located at the end of a unknown variable myVar somewhere in my JS file. When I press a shortcut, I jump at the top of the...

Search file names that contain a string

phpstorm,webstorm
I have a module named flume and file names that include that module name, like flumeIndexController, flumePlugin etc. Now I've decided to rename the module to oozie so I want to have these files renamed to include new module's name like oozieIndexController, ooziePlugin. How can I get a list of...

Typescript and webstorm, missing --module flag

javascript,typescript,webstorm
Editing a typescript project, that was created on VisualStudio, in WebStorm is replying this error: Error:(1, 1) TS1148: Cannot compile external modules unless the '--module' flag is provided. the code is simple like this: in file Test.ts class helloWorld{ } export = helloWorld; Thanks in advance for your help EDITED...

How to use WebStorm JavaScript Debug configuration without Google Chrome?

debugging,webstorm
I have FF (v.35), Opera (v.12), and IE (v.11) installed on my Win 7 x64 PC and wanted to debug a (locally stored) HTML file that loads a JS script. After adding the file to a new project, I went to File > Settings > Tools > Web Browsers and...

How to Debug Ionic WebApp?

ionic-framework,webstorm,ionic
I want to debug my ionic application in WebStorm. I am able to run the app in browser. But how can I debug? I tried: ionic serve --debug which doesn't seem to trigger any debugging? How can I debug the app when it runs in browser?...

How to perform grunt remote debug in IntelliJ IDEA?

google-chrome,intellij-idea,gruntjs,typescript,webstorm
I build and run my typescript application by Grunt and connect(grunt-contrib-connect) and livereload plugins. While grunt compile .ts files, it also generate sourcemap. My application is oppening on google chrome. How can I remotely connect by Intellij Idea to this application that was run by Grunt and oppened in Chrome...

WebStorm - Jasmine jQuery

jquery,unit-testing,karma-runner,webstorm,karma-jasmine
I'm quite new to the usage of WebStorm, but it's not working as epected. I had a project in the past, but now I try to recreate it and try to unit test my code. I'm very new to unit testing JavaScript code. So, I have a file karma.conf.js which...

WebStorm: Disabling language injection coloring

webstorm
WebStorm is injecting the css coloring rules in my JavaScript. For example in the following code block... $('.navbar-collapse ul li a').click(function() { $('.navbar-toggle:visible').click(); }); Everything inside '.navbar-collapse ul li a' is colored according to the css color rules. I would like this to be colored like a normal javascript string....

Using TypeScript type definitions with Webstorm 10 [duplicate]

node.js,typescript,webstorm
This question already has an answer here: intellisense and code complete for DefinitelyTyped (TypeScript type definitions) on WebStorm IDE 2 answers I am trying to use Webstorm 10's new built-in TypeScript compiler. When compiling a simple Node.js file such as below, it gives a TS compilation error of "Error:(1,...

How to create a NodeJS + LoopBack Application using WebStorm?

node.js,webstorm,loopbackjs
I am using WebStorm v 9.0.3. I would like to create a Strongloop/Loopback Application + NodeJS Application. Is there a way to create it directly through WebStorm IDE or should we manually do it using commandline. Currently I can see only NodeJS Express App provision during project creation in WebStorm....

Custom syntax highlighting for content of