ChristianKohler/NpmIntellisense

No intellisense with absolute paths

uLan08 opened this issue · 1 comments

I am using this package for absolute imports. And with this configuration

{
  "plugins": [
    ["babel-plugin-root-import", {
      "rootPathSuffix": "src"
    }]
  ]
}

So I am now importing modules with import util from '~/util' but I am not getting intellisense.
I did try setting this in VS code user settings.

    "path-intellisense.mappings": {
        "~/": "${workspaceRoot}/src"
    }

But nothing still.

Closing, as it is working. It was because I am on a multi folder project.