IntelliJ not asking to convert JSON to Go struct

Answered

I have the same version of the editor on my home workstation and laptop. On my home workstation if I create the shell of a struct and paste json inside, it prompts me to convert to a go struct. On my laptop this is not working. I don't get a prompt and it just pastes the json; it even garbles the json formatting.

What am I missing? I propagated my settings from my workstation to my laptop using your documentation. I don't recall having to enable this in any settings nor do I recall installing a 3rd party plugin to do this.

Please advise,

Version: 2022.2.1 (Ultimate)

0
1 comment

Can you check if Go plugin is installed (Settings > Plugins > Installed > type 'go' in search box)?

This plugin is required in order to have the same functionality in IntelliJ IDEA as in GoLand IDE. If it still doesn't work with the plugin installed/enabled, please provide some diagnostic data (Help > Collect Logs and Diagnostic Data)

You can upload them here: https://uploads.jetbrains.com/, and provide the upload file ID here

0

Please sign in to leave a comment.