简体   繁体   English

WebStorm下的无库选项

[英]No Libraries option under WebStorm

I want to include jQuery in my Libraries for code completion, but there is no Libraries under JavaScript. 我想在我的库中包含jQuery以完成代码,但是JavaScript下没有库。

WebStorm下的无库选项

I want to include jQuery in my Libraries for code completion, but there is no Libraries under JavaScript. 我想在我的库中包含jQuery以完成代码,但是JavaScript下没有库。

That's because you are accessing the wrong settings. 那是因为您访问了错误的设置。

You need "File | Settings" (Windows/Linux; on Mac it's "WebStorm | Preferences") which show global + this project settings ... but on screenshot you are using "File | Default Settings" ... which affect only future new projects and do not contain all possible settings pages. 您需要“文件|设置” (Windows / Linux;在Mac上是“ WebStorm |首选项”),它显示了全局+该项目设置...但是在屏幕快照中, 您使用的是“文件|默认设置” ...新项目,并且不包含所有可能的设置页面。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM