-
Plugin version (or commit hash): 0.12.1799
-
IDE name and version: Intellij IDEA 2016.2.5
-
Java version: 8
-
OS name and version: Windows 10 Pro
-
What happens?
Auto complete and error checking don't work correctly, all of the standard Go primitive types and functions are not recognised.
Have I made an error with the set up of this plugin?
package client
import (
"context"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/ethclient"
"github.com/ethereum/go-ethereum/rpc"
"log"
"math/big"
"strconv"
)
type Client struct {
handlesErrors bool
EtherClient *ethclient.Client
RpcClient *rpc.Client
}
func Dial(rawUrl string, handlesErrors bool) (*Client, error) {
// Make connection to Ethereum client
ethClient, err := ethclient.Dial(rawUrl)
// TODO Handle errors in handler
if err != nil {
log.Fatalf("Failed to connect to the Ethereum network: %v", err)
}
// Make connection to the RPC client
newRpcClient, err := rpc.Dial(rawUrl)
// TODO Handle errors in handler
if err != nil {
log.Fatalf("Failed to connect to the Ethereum network: %v", err)
}
return &Client{
handlesErrors: handlesErrors,
EtherClient: ethClient,
RpcClient: newRpcClient,
}, err
}

Plugin version (or commit hash):
0.12.1799IDE name and version:
Intellij IDEA 2016.2.5Java version:
8OS name and version:
Windows 10 ProWhat happens?
Auto complete and error checking don't work correctly, all of the standard Go primitive types and functions are not recognised.
Have I made an error with the set up of this plugin?