Skip to content

Intellisense, navigation (ctrl+click) stops working for react-native projects #8528

@dbaeumer

Description

@dbaeumer

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:

{
  "name": "@whatever"
}

(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

Metadata

Metadata

Assignees

No one assigned

    Labels

    QuestionAn issue which isn't directly actionable in code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions