GDQuest / GDQuest/zed-gdscript

Variables not listed after NOT operator

Open
#46 1 comment 0 reactions 0 assignees View on GitHub
upstream
Dominant language
Tree-sitter Query
Stars
206
Forks
23
Avg merge
19d 1h
Merged PRs (30d)
2

Description

I'm not sure if this is a bug or a missing feature.

Usually, variables get listed for code completion while typing:

```
var is_sunny_weather = true

if is_sun| # | is the text cursor and Zed would list "is_sunny_weather" in the appearing dropdown
```

However, it does not when there is a preceding NOT operator:

```
var is_sunny_weather = true

if !is_sun| # note the "!", and Zed does not list any local variables anymore
```

Any idea?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.