Skip to content

Local variable is considered non-existing

Hi.

extends CharacterBody3D

func _ready():
	var x = 12
	print(x)
	pass # Replace with function body.

image

Consequently it isn't renamed during refactoring and ignored when Ctrl+clicking.

CLion 2023.1.5
Build #CL-231.9225.21, built on July 17, 2023
Licensed to Nikolay Plekhanov
You have a perpetual fallback license for this version.
Subscription is active until July 2, 2024.
Runtime version: 17.0.7+10-b829.16 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 8000M
Cores: 12
Registry:
    run.processes.with.pty=TRUE
    debugger.attach.dialog.enabled=true
    org.rust.external.linter.max.duration=30000
    ide.images.show.chessboard=true

Non-Bundled Plugins:
    com.github.madwareru.intellijronremix (0.2.11)
    ice.explosive.gdscript (1.1.3)
    org.zalando.intellij.swagger (1.2.0)
    com.intellij.properties (231.8770.3)
    org.rust.lang (0.4.200.5421-231)
    com.github.kawamataryo.copygithublink (0.5.2)
Edited by kkolyan