'Autocomplete not suggesting properly in kotlin
As shown in the image, suggestion for above created variable is not showing, but if i create a new function then i can access the variable.
I have tried reinstalling android studio,invalidate cache and restart, deleted AndroidStudio folder inside AppData folder as well
Im using android studio bumblebee patch 3
Solution 1:[1]
You can not use a variable directly their, if you want to IDE to show suggestion their you can reinitialize your variable with other variable like
var name="hello"
var newName = na(here comes the suggetion)
here the suggestion with your above variable should show or if you call this variable from inside any function it will show
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Rahul Mishra |
