ReactPropTypes-Plugin
ReactPropTypes-Plugin copied to clipboard
PropTypesGenerate doesn't show up
Hello,
I'm running the plugin on Windows 10 and IntelliJ IDEA Ultimate 2020.2.
When I do alt + enter in the className / functionName it doesn't show the field "PropTypesGenerate ".
Here's the source code:
import React from "react";
import TextField from "@material-ui/core/TextField";
export default function CustomTextField(props) {
const {
value, onChange, error, label, name, helperText
} = props;
return (
<TextField
value={value}
color="secondary"
label={label}
error={error}
helperText={helperText}
name={name}
onChange={(e) => {
onChange(name, e);
}}
fullWidth
/>
);
}
Do you have any idea if I'm doing something wrong?
Thanks in advance
It seems that in the 2020.x version, PropTypesGenerate doesn't show up. You can alse use shift + ctrl + alt + P
KeyMap to show Dialog. @iElsha I will take time to fix this problem.
Thank you for your answer, I didn't see the KeyMap.