Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PropTypesGenerate doesn't show up #13

Open
iElsha opened this issue Aug 6, 2020 · 2 comments
Open

PropTypesGenerate doesn't show up #13

iElsha opened this issue Aug 6, 2020 · 2 comments

Comments

@iElsha
Copy link

iElsha commented Aug 6, 2020

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 ".

image

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

@dpzxsm
Copy link
Owner

dpzxsm commented Aug 12, 2020

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.

@iElsha
Copy link
Author

iElsha commented Aug 12, 2020

Thank you for your answer, I didn't see the KeyMap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants