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

import alias #321

Open
andelkocvjetkovic opened this issue Nov 23, 2022 · 2 comments
Open

import alias #321

andelkocvjetkovic opened this issue Nov 23, 2022 · 2 comments

Comments

@andelkocvjetkovic
Copy link

Hello,
I use this in my nvim lsp, but I'm having a hard time setting up this plugin to use my alias from tsconfig.json.

@import '@app/styles/mixins/_transition.scss'

Although this works and compiles, autocomplete for paths is broken and does not work.
Example:

@angrybacon
Copy link

This is now a year old issue. Are there plans to support TypeScript alias?

I'm not new to SCSS nor TypeScript in general, but new to using LSP in SCSS files specifically and I was wondering why/how SCSS depending on TS aliases paths is a thing at all 😮

@Drumstix42
Copy link

Still having troubles with this to this day. Normal local @import statements work fine for Jump-To, but @alias prefix breaks it.

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

3 participants