简体   繁体   中英

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

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"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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