Intellisense bug: comma-separated declarations

When declaring variables in a comma-separated fashion, only the first variable in the list is detected by intellisense, while the rest are not.

Repro:

  1. Declare any number of variables in a comma-separated list. Whether or not they are initialized with any value makes no difference.
    local a, b, c, d
  1. Try to type a. It will show up with intellisense. However, typing b, c, or d will not be detected by intellisense.

This is a long-standing bug (I don’t remember it not being there), but was just reminded of it by @TheNickmaster21’s tweet.


Example:
vid

(Quick open-source plug: made this gif with my ToGIF thingy)

14 Likes

This bugs the hell out of me. Thanks for taking the time to post about it!

Yeah it’s annoyed me too quite a bit