From @miqmago on April 30, 2016 11:15
- VSCode Version: 1.1.0-insider
- OS Version: 10.10.5
In a react-native project, in this issue facebook/react-native#3099 (comment) it is suggested to follow this steps in order to avoid ../../../../.. paths in requires:
package.json:
(or without @ it works too)
Then in your files you can load a package like this:
import MyComponent from '@whatever/components/myComponent';
The problem with this is that navigation (ctrl+click), intellisense, etc. stops working
Copied from original issue: microsoft/vscode#6015