Ctrl+P
craft-ls
See https://github.com/Batalex/craft-ls.
Set the interpreter path in the settings to a Python 3.12 interpreter:
"craft-ls.interpreter": [ "/usr/bin/python3.12" ]