microsoft / TypeScript-Sublime-Plugin

IO wrapper around TypeScript language services, allowing for easy consumption by editor plugins
Apache License 2.0
1.72k stars 235 forks source link

Sublime Text 3 TS AutoSuggestion not working when I add paths in ts.config.app.json file #669

Open vnykSJ opened 6 years ago

vnykSJ commented 6 years ago

I was having long paths in imports something like this

import { ApiService } from "../../services/api-calls/api.service";

so I was trying to reduce the path with the help of tsconfig.app.json file like

"paths": {
      "@services/*": ["./services/*"]
    },

and in component I changed import path like

import { ApiService } from "@services/api-calls/api.service";

and it worked well for me, It didn't throw any error I was able to serve the app successfully on localhost, But the problem I am now facing is Sublime is not giving any auto suggestions for path or for imported Class, Does anyone faced this issue? how to fix it?

poplarDev commented 5 years ago

Same here, any solution?