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
#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


Messages In This Thread
RE: SB-Prime variable intellisense - by litdev - 04-26-2024, 08:30 AM
RE: SB-Prime variable intellisense - by Scout - 04-26-2024, 09:45 AM
RE: SB-Prime variable intellisense - by Scout - 04-26-2024, 09:48 AM
RE: SB-Prime variable intellisense - by z-s - 04-26-2024, 10:34 AM
RE: SB-Prime variable intellisense - by litdev - 04-26-2024, 11:16 AM
RE: SB-Prime variable intellisense - by Scout - 04-26-2024, 01:21 PM
RE: SB-Prime variable intellisense - by litdev - 04-26-2024, 04:01 PM
RE: SB-Prime variable intellisense - by Scout - 04-26-2024, 04:36 PM
RE: SB-Prime variable intellisense - by litdev - 04-26-2024, 05:14 PM
RE: SB-Prime variable intellisense - by litdev - 04-26-2024, 06:11 PM
RE: SB-Prime variable intellisense - by Scout - 04-26-2024, 07:51 PM
RE: SB-Prime variable intellisense - by litdev - 04-26-2024, 07:55 PM
RE: SB-Prime variable intellisense - by Scout - 04-26-2024, 08:36 PM
RE: SB-Prime variable intellisense - by litdev - 04-26-2024, 08:41 PM
RE: SB-Prime variable intellisense - by z-s - 04-28-2024, 03:00 PM
RE: SB-Prime Bugs And Error - by litdev - 04-25-2024, 09:32 PM
RE: SB-Prime Bugs And Error - by AbsoluteBeginner - 04-26-2024, 05:06 AM
RE: SB-Prime Bugs And Error - by z-s - 04-26-2024, 07:28 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)