简体   繁体   English

禁用ES6中的导入,在PhpStorm中显示为“import ...”

[英]Disable imports in ES6 displaying as “import …” in PhpStorm

I'm currently struggling to work out how to turn this off, its small I know. 我正在努力研究如何解决这个问题,我知道它很小。 But it bugs the hell out of me that every file I open I have to click the plus :O 但是我不知道我打开的每个文件都要点击加号:O.

What is in the ... 什么在......

import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';
import * as auth from '../actions/auth';
import Shell from '../components/Shell';

What it currently looks like 它目前的样子

在此输入图像描述

Settings > Editor > General > Code Folding 设置>编辑器>常规>代码折叠

Uncheck "JavaScript imports" 取消选中“JavaScript导入”

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

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