Skip to content
This repository has been archived by the owner on Apr 11, 2020. It is now read-only.

Feature Request: Allow intellisense for Sass (.scss) importing from node_modules path #1045

Open
ryanelian opened this issue Jun 2, 2017 · 1 comment

Comments

@ryanelian
Copy link

Most people has stopped using bower. Even bower has posted deprecated notice on their website and npm.

Thus people started using yarn / npm for managing packages, even for those that are considered not JavaScript projects. (e.g. bootstrap-sass)

For convenience, our company has developed a build tool for building client-based project easily using TypeScript and Sass, which is then used across all teams: https://github.com/ryanelian/instapack

We configured the Sass compiler to look into node_modules folder when attempting to import a source code. For example:

sass

sassproj

This allows working with the npm repository using Sass, just like how you'd work with NuGet in C#. Very elegant.

Unfortunately, Visual Studio thinks that the imported files do not exist. This disables the programmer from fully utilizing F12 and intellisense.

It would be nice to have this behavior somehow.

@mlorbetske
Copy link

cc @madskristensen

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

No branches or pull requests

2 participants