Bug? Version 8.50 - F7 "Rename to" is missing

LucaMs

Expert
Licensed User
It should be there. It appears at the bottom of the tab.
I know but it was missing.

After changing the name of a variable manually (yesterday), opening now that project... "rename to" is there" 😮

If I remember correctly, after noticing its absence using that project, I had created a new project just to look for it and I had confirmation that it wasn't there.
 

LucaMs

Expert
Licensed User
Now I see that it is also there as soon as b4j is started, so even before there is a project opened.
I can't explain it (to me! I mean I don't understand what...!); but that's fine :)
 

LucaMs

Expert
Licensed User
What happens when you click F7 on a variable?
What I wrote: "Rename to" is missing. But testing again...

B4X:
Sub Class_Globals
    Private ws As WebSocket
    Private Const TEXTMSG_MAXSIZE As Int = 262144
    Public RemoteIP As String
It is missing only if I press F7 on the ws variable, on the constant and RemoteIP "Rename to" appears.
 

LucaMs

Expert
Licensed User
What I wrote: "Rename to" is missing. But testing again...

B4X:
Sub Class_Globals
    Private ws As WebSocket
    Private Const TEXTMSG_MAXSIZE As Int = 262144
    Public RemoteIP As String
It is missing only if I press F7 on the ws variable, on the constant and RemoteIP "Rename to" appears.
it is not caused by the websocket type (I tried to create a new variable of this type and with this the problem does not arise).

After, just for test, I duplicated that line ("Private ws...") using CTRL+D, changed the ws name to ws2 (to have two websocket variables) and again only if I press on ws "Rename to" does not appear.
 

LucaMs

Expert
Licensed User
Last test.

Changed ws to ws1 manually (everywhere), pressed F7 on ws1 and "Rename to" now is shown.

So... I think we cannot know what happens and we can forget it; it is just a very strange exception.
 

LucaMs

Expert
Licensed User
Last test.

Changed ws to ws1 manually (everywhere), pressed F7 on ws1 and "Rename to" now is shown.

So... I think we cannot know what happens and we can forget it; it is just a very strange exception.
But I know the reason: just to drive me crazy 😆
 
Top