![]() |
SB-Prime variable intellisense - Printable Version +- Small Basic Forum (https://litdev.uk/mybb) +-- Forum: Small Basic (https://litdev.uk/mybb/forumdisplay.php?fid=1) +--- Forum: Discussion (https://litdev.uk/mybb/forumdisplay.php?fid=4) +--- Thread: SB-Prime variable intellisense (/showthread.php?tid=55) |
SB-Prime variable intellisense - AbsoluteBeginner - 04-25-2024 (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? ![]() Thank you. RE: SB-Prime Bugs And Error - litdev - 04-25-2024 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. RE: SB-Prime Bugs And Error - AbsoluteBeginner - 04-26-2024 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. ![]() Thank you. RE: SB-Prime Bugs And Error - z-s - 04-26-2024 Hi AB I Guess That The Problem Is Because you Use Latin characters. RE: SB-Prime variable intellisense - litdev - 04-26-2024 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. RE: SB-Prime variable intellisense - AbsoluteBeginner - 04-26-2024 (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. RE: SB-Prime variable intellisense - Scout - 04-26-2024 If I start the English version after downloading, everything is ok. RE: SB-Prime variable intellisense - AbsoluteBeginner - 04-26-2024 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. RE: SB-Prime variable intellisense - Scout - 04-26-2024 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. RE: SB-Prime variable intellisense - AbsoluteBeginner - 04-26-2024 My general settings are like this: |