We would like to build a community for Small Basic programmers of any age who like to code. Everyone from total beginner to guru is welcome. Click here to register and share your programming journey!


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SB-Prime variable intellisense
#1
(translated by Google translator)

Hi all.
Please tell me what can I do so that the variable just declared starts to appear in the IntelliSense list?
I won't understand when and why the variable name suddenly starts appearing in the list. The name is absent from the list for some time, and then appears.
Maybe I should perform some action to make the name appear almost immediately?  Huh

Thank you.
Reply
#2
Hi AB,

I'm not sure what the issue may be.  For example I type as below and the variable 'test' appears in the list.

   

2 possibilities

1] It is added to the list only when a line with it is correctly parsed and it is identified as a variable.  There is a bit of logic to only add a variable to the list when it is sure, for example not a half written word or something in a comment.  The rule I use is that:
a) variable is found and is not a subroutine name, goto label, object.method, keyword or existing variable name
b) it is found on a line that is not where the cursor is, i.e. hopefully a previously completed line

2] It is something strange from international characters, but doesn't really explain whay it works after a while.
[-] The following 2 users Like litdev's post:
  • AbsoluteBeginner, z-s
Reply
#3
LitDev,

can you advise me what steps I should take and what I should pay attention to in order to get more information about this problem?
The thing is that I now only use English language and Latin characters. No other languages and characters.  Huh

Thank you.
Reply
#4
Hi AB I Guess That The Problem Is Because you Use Latin characters.
ZS
Reply
#5
AB,

To be able to help more I need to reproduce something.  That comes in 2 parts:

1] Make sure we are using the same code and options - please update to latest SB-Prime and say what language or other settings (Aliases unticked) you may have.
2] Give me steps to reproduce - for example does the simple case I showed typing 2 lines work?  If you click to a new line and back does it work? - how to reproduce so it doesn't work, maybe share a screenshot.  Also helpful if others say they can or cannot see the issue.

At this stage when I have no idea what you are experiencing I have to start guessing.
[-] The following 1 user Likes litdev's post:
  • AbsoluteBeginner
Reply
#6
(translated by Google translator)

I have new data.
In my test, the variable "b" is immediately shown in the list if I declare it on the last line.
   
Reply
#7
If I start the English version after downloading, everything is ok.

   
Reply
#8
If I insert it between lines in which other variables are already declared, then “b” does not appear in the list.
   

Also, if I delete the line with the declaration of the variable "a", it still continues to appear in the list.
Reply
#9
If intellisense is set to "de" text and text window no longer appear.
After expanding the variable name, the variable that no longer exists is retained.

   
Reply
#10
My general settings are like this:
   
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)