I decided to wait until Babel 7 comes out with TypeScript support. In the meantime I’m using flowtype for type checking. It doesn’t suffer from the same issues though the IDE support is not as good, though not horrible.
I’ve used Webstorm in the past extensively. It’s slow and expensive, so def not looking to go back. VSCode is really one of the most popular text editors, so it’s a pretty huge bummer that Meteor and VSCode can’t play nice on the absolute paths.
Could you share how you configured it? For me with the default conf it just starts introducing “The keyword ‘import’ is reserved” for every import statement.
As in their built in import suggestions?
I thought it was linting errors, ie. can’t resolve imported module. My mistake
In that case I’m using the import-js plugin for that: https://github.com/dabbott/vscode-import-js. It has built in meteor import resolution, including absolute, relative and package paths. It still has some issues resolving the correct path for local packages, but it’s close.
I started using it on Sublime and kept it when I moved to VSCode. I’ve kept using it over the built in imports resolution because of it’s meteor support
The issue has been resolved, there is no need for babel plugin now. Assuming basic project structure, jsconfig.json file must contain the following lines to make path intellisense work: