It turns out the IntelliJ IDEA must not support the FromString hinting yet.