Early Access Program

WebStorm 2019.1 EAP #7: run Node.js using Docker Compose, Recent Locations popup

WebStorm 2019.1 Early Preview build #7 is now available!

If you’re unfamiliar with our Early Access Program or if you want to catch up on all the new features, check out the previous EAP blog posts.

Toolbox App is the easiest way to get EAP builds. You can also get notified right from the IDE when a new EAP build is available: go to Preferences | Appearance & Behavior | System Settings | Updates and select “Automatically check updates for Early Access Program”.


Important! WebStorm EAP builds are not fully tested and might be unstable.

Here are some of the highlights of WebStorm 2019.1 EAP #7 (build 191.6014.17). For the full list of issues fixed in this update, see the Release Notes.

Run and debug Node.js app when using Docker Compose

If you’re using Docker for testing your Node.js application, you can now use the configuration described in the Docker Compose file to easily run and debug the app from the IDE.

Please note that the described steps only work if you use node or npm in the command field of your Docker Compose file to run your app, e.g. command: node ./src/app.js

  1. Create a new Node.js run/debug configuration using the Edit Configurations… action in the Run menu.
  2. Click the icon next to the Node.js interpreter field, then click + and select Add Remote…
  3. In the dialog that opens, select Docker Compose. If you haven’t used Docker in WebStorm before, you need to configure the Docker connection – click the New… icon and select the connection option according to your OS as described in this doc.
    Add remote node interpreter with Docker Compose
  4. Set the path to the Docker Compose file and select the service you want to run.
  5. In the Node.js run/debug configuration, leave the JavaScript file field blank if you want WebStorm to use the command specified in your Docker Compose file. If you want to override it, you can use the fields in the configuration (JavaScript file, node, and app parameters…).
  6. Save the configuration.

Now you can use this configuration to run or debug your app – the IDE will deploy the app to the Docker container using the docker-compose up command and, if running in the debug mode, pass the debug flag to Node.js and attach to the debug process.

If you don’t use Docker Compose or want to have a closer look at the Docker support for Node.js in WebStorm, check out the blog post “Quick tour of WebStorm and Docker”.

Recent Locations

WebStorm 2019.1 adds a new way to navigate around the project – the Recent Locations popup. It can be opened with Cmd-Shift-E on macOS or Ctrl+Shift+E on Windows and Linux.

Recent Locations popup

It shows you the list of files and lines of code in them that you have recently opened in the editor (when navigating to the definition or usage, using the Go to action, or simply opening the file from the project view).

When the popup is open, start typing to filter the results and find the code you need (the search works for the code and file names). Of course, you can also just use the up and down arrows to select the required location.

Recent Locations popup: quick search

If you want to only see the code fragments that have been changed, select the “Show only changed” checkbox.

Support for TSLint as TypeScript plugin

If you’re using TypeScript in your .vue files and want to lint the code inside the script tag using TSLint, you can now use the typescript-tslint-plugin plugin for TypeScript. With this, TSLint checks become part of the TypeScript language service, and you will be able to see all the TSLint errors next to the TypeScript errors in the IDE tool window and, of course, in the editor.

You can fix and suppress TSLint errors and warnings using the intentions available on Alt-Enter.

To start using it, first, install the plugin with npm install typescript-tslint-plugin and then enable it in the project’s tsconfig.json file:

  "compilerOptions": {
    "plugins": [
      { "name": "typescript-tslint-plugin" }

By the way, you may also want to use typescript-tslint-plugin if you have enabled the TSLint rules that require type information (like “deprecation” or “prefer-readonly”) – that way these types of errors will be highlighted in the editor as you type.

Simple Node.js project template

To make it easier to start a simple Node.js app, we’ve added a new template called “Node.js”. You can choose this when you click Create New Project on the IDE Welcome screen.

This project generator runs the npm init command that adds a package.json file and enables code completion for Node.js core APIs.

Please report any issues on our issue tracker. And stay tuned for the next week’s update!

WebStorm Team

Comments below can no longer be edited.

4 Responses to WebStorm 2019.1 EAP #7: run Node.js using Docker Compose, Recent Locations popup

  1. Avatar

    Jose Santacruz says:

    March 8, 2019


    I expect on this update that you fix the bug related with the shortcut cmd+shift A, where on the first time works fine I can write an action and executed, but the starting the second time the action screen appears but immediately the terminal is open and print this error:

    I18N::Collate(3pm) – compare 8-bit scalar data according to the current locale
    MooseX::Storage::Engine(3pm) – The meta-engine to handle collapsing and expanding objects
    Tk_CollapseMotionEvents(3tcl), Tk_QueueWindowEvent(3tcl) – Add a window event to the Tcl event queue
    Unicode::Collate(3pm) – Unicode Collation Algorithm
    Unicode::Collate::CJK::Big5(3pm) – weighting CJK Unified Ideographs for Unicode::Collate
    Unicode::Collate::CJK::GB2312(3pm) – weighting CJK Unified Ideographs for Unicode::Collate
    Unicode::Collate::CJK::JISX0208(3pm) – weighting JIS KANJI for Unicode::Collate
    Unicode::Collate::CJK::Korean(3pm) – weighting CJK Unified Ideographs for Unicode::Collate
    Unicode::Collate::CJK::Pinyin(3pm) – weighting CJK Unified Ideographs for Unicode::Collate
    Unicode::Collate::CJK::Stroke(3pm) – weighting CJK Unified Ideographs for Unicode::Collate
    Unicode::Collate::CJK::Zhuyin(3pm) – weighting CJK Unified Ideographs for Unicode::Collate
    Unicode::Collate::Locale(3pm) – Linguistic tailoring for DUCET via Unicode::Collate
    colldef(1) – convert collation sequence source definition
    strcoll(3), strcoll_l(3) – compare strings, according to current collation
    wcscoll(3), wcscoll_l(3) – compare wide strings according to current collation

    [Process completed]

    • Ekaterina Prigara

      Ekaterina Prigara says:

      March 11, 2019

      Hello Jose, we would really appreciate it if you report this issue on the issue tracker and provide the following information: the full IDE version (you can copy it on the IDE About screen), your operating system version, and the IDE logs (menu Help – Compress Logs). Thank you!

  2. Avatar

    Peter Kellner says:

    March 11, 2019

    Thanks so much for doing these posts Ekaterina! They are a huge help in keeping up with the latest updates. I’m particularly happy to see you supporting docker-compose. I’m just learning that and it’s comforting to know that I will be able to debug right inside WebStorm! Keep up the awesome work.

    • Ekaterina Prigara

      Ekaterina Prigara says:

      March 11, 2019

      Thank you, Peter! Thank you for reading these posts and following the WebStorm EAP.