Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
vnykSJ opened this issue Jun 21, 2018 · 1 comment

Comments

@vnykSJ
Copy link

vnykSJ commented Jun 21, 2018

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
Copy link

Same here, any solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants