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
#23
Yes, that was what I meant by " if this character is a . then it wrongly adds an object as a variable.  I uploaded a fix for this."

Sorry I tend to modify a post when I discover something new revelant to that post.

EDIT

I don't get that if I understand correctly - see my image in post 21 (just tested with /l:de-de and still doesn't create variables for each character typed). 

I can't see how this could happen unless you type a space after each character and then delete the space for example, or if there is something in the way your keyboard works that causes a similar effect.

EDIT2

I was able to reproduce Scout's issue by putting a space in a line, then moving cursor to before the space and type a word.  Every time a letter is typed it sees the word+space and thinks this is a finished word.
This would clearly happen a lot typing into an existing line before a space for example.
Can't win them all, I guess it all depends on how folk use it, but I think the big win is we understand the rules and there are a couple options (Options Parse variables as they are typed and Format that also rechecks all variables).
Thanks to Scout and AB for working to improve this. Smile

EDIT3

Uploaded a version where it checks for variable assignment before adding to list of variables when parsing current line.  That is, there must be a = following the variable (optionally after white space).  Variables only need to be found once to be added and when a new variable is added by user it almost always is initially set to a value. Big Grin
[-] The following 1 user Likes litdev's post:
  • AbsoluteBeginner
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: 5 Guest(s)