Intellisense does not work in conditionals with parenthesis

When writing conditionals using parenthesis, the first comparison will correctly auto-fill with Intellisense, but all following comparisons within the expression will fail to use Intellisense. This is frustrating as I write a lot of my conditionals using parenthesis, I lose valuable insight as a result, making my workflow more challenging.

This is an example of one of these conditionals not providing Intellisense.

Here is a video showing the issue as well, with me removing the parenthesis at the end to resolve the bug.

Expected behavior

Intellisense should correctly work in these conditional scenarios with parenthesis.

3 Likes

Hi, thank you for filing this.

I tested this out and added it to our bug database.

While we’re working on the fix, I found that the workaround is to omit the parentheses.

3 Likes

Intellisense also does not work in interpolated strings and if-then-else expressions.

1 Like

To add onto this, the behavior also extends to interpolated strings, if-then-else ternary expressions, brackets, and interestingly enough, self intellisense (inferred/explicitly annotated).

  • This behavior is also present in the new type solver

I should note that this behavior was also present back when the “Incremental typechecking and autocompletion in studio” Beta feature was randomly enabled, and considering that this feature is no longer present in the beta features menu, I can only assume it was silently rolled out.

This bug has been present for 2 weeks and has been detrimental to my workflow seeing as a majority of my codebase revolves around the aformentioned features (most significantly involving declarative UI logic). It would be greatly appreciated if any future changes to the base type solver remained strictly optional until the new type solver is confirmed to be fully stable, as to prevent a similar situation from reoccuring.

Update: The self intellisense aspect of this bug has been resolved after 3 weeks in the most recent studio update, however the most significant aspect of the bug (interpolated strings, if-then-else ternary expressions, brackets) is still active…

1 Like

Hi there, as reported by a creator above, this issue was resolved in July or so. There was more follow-up work to the issues mentioned above as well. We expect that autocomplete should be working great, but please feel free to open any new issues if you’re encountering any problems today.