0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

WebstormでCSSライブラリーの入力補完が何故か効かない問題の原因の一個

Posted at

何故かうまくいかず半日潰したので、誰かのヒントになるといいと思い、雑ですがメモ程度に書きます。

Webstormでnode_modules配下のcssファイルが入力補完候補に上がるかどうかで、ライブラリーのディレクトリ名が関係しているっぽい

cssライブラリーを作っていたのですが、何故かWebstormがcssファイルを入力補完候補として読み込んでくれませんでした。

色々package.jsonなどをいじったりもしたのですが、最終的に分かったのは/scssというディレクトリ名称の配下にあるファイルはWebstormに読み込まれ入力補完候補に上がっていました。

/scss のディレクトリ名を /dist/cssなどに変換した場合には入力補完候補に上がりません。(特にディレクトリを指定するような設定は記述していませんでした)

どうやらデフォルトでどのフォルダをcssの入力補完候補の読込先にするかの設定が絡んでいるようです。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?