Hi.
I’m been struggling with using meteor with visual studio code, the real problem that annoys me is that intellisense breaks when using absolute imports instead of relative imports:
Eg. using:
import Collections from '/imports/collections/collections.js'
instead of:
import Collections from '../../collections/collections.js'
I prefer using absolute paths because when the project gets bigger, the relative paths get bigger too, and becomes a messy thing.
Has anyone made the meteor absolute import path work with VSCode intellisense (including go to definition)? I’ll really appreciate your help.
Until now I just made this work using the absolute path, but whithout the root slash:
Eg. This works with intellisense and go to definition:
import Collections from 'imports/collections/collections.js'
But in this way, the imports doesn’t work with meteor.
ps. sorry for my bad english