S
S
ssurrokk2019-11-02 09:09:10
Node.js
ssurrokk, 2019-11-02 09:09:10

How to conveniently insert relative paths to plugins (Intellij IDEA)?

Suppose in module AAA I include module BBB like this:
const b = require('../../src/abc/BBB');
While typing inside single quotes inside require, for example, if I type 'BB" and press CTRL+SHIFT and then CTRL+SHIFT again, the path to the BBB module is displayed, but if I press Enter on this path, then the code will insert just 'BBB', not '../../src/abc/BBB'
Maybe there is some plugin or the like to make it easier to insert relative paths
Ideally it would be possible to drag a BBB file inside the AAA and so that require with the desired relative path stands in this place.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question