VS Code自动使用(dist)名称创建文件夹 [英] Vs code create folder automatically with (dist) name

查看:46
本文介绍了VS Code自动使用(dist)名称创建文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在每次修改后在我的VS代码中,在该目录中创建一个名为 dist 的文件夹,例如,在更改 foo/index.js 文件夹中的内容并将其保存后更改后,会自动在文件夹 foo/中显示2个文件,名称分别为 foo/index.dev.js foo/index.prod.js

我怎样才能停止呢?

解决方案

解决方案

发生此问题,也许您安装了Sass/Less/Typescript/Jade/Pug编译英雄将插件插入VS代码,如果使用此插件,则可以禁用该插件以避免在保存文件上进行编译,并创建 index.dev.js index.prod.js 文件

In My VS code after each modifies create a folder with name dist in that directory, for example after in change something in folder foo/index.js and save that changes, automatically 2 files appear in folder foo/ with name foo/index.dev.js and foo/index.prod.js

how can I stop this ?

解决方案

Solution

This Issue happens maybe you install Sass/Less/Typescript/Jade/Pug Compile Hero Plugin in your VS code and if you use this plugin, you can disable that for avoiding compile on save file and create index.dev.js and index.prod.js file

这篇关于VS Code自动使用(dist)名称创建文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆