How do I know if I'm using the correct framework

Clearly I’m very new to VSCode and PlatformIO. I’m not new at all to programming in general. I for some reason am just not getting this VSCode/PlatformIO/Pioarduino environment. My question:
I’m developing for the esp32-s3. I was told that I need to be using the pioarduino extension because of some reason. I think I did things correctly but now I’m having doubts. I have the extension installed but my platformio.ini looks like this:

[env:adafruit_feather_esp32s3_nopsram]
platform = espressif32
board = adafruit_feather_esp32s3_nopsram
framework = arduino
lib_deps = mobizt/FirebaseClient@^2.1.5
monitor_speed = 115200

Is that correct? If so, how do I know I’m using the pioarduino extension. If not, what should it be?

The exact reason would be interesting.

Well, you can use pioarduino’s espressif32-platform with the PlatformIO extension or with pioarduino’s own extension for VS Code.

What does the output look like during compilation?

I personally use the pioarduino espressif32 platform with the PlatformIO extension.

That’s why I set the platform to the version I want. For Arduino Espressif 3.2.0, for example, like this:

platform = https://github.com/pioarduino/platform-espressif32/releases/download/54.03.20/platform-espressif32.zip

The output log then says

...
PLATFORM: Espressif 32 (54.3.20) > Espressif ESP32-S3-DevKitC-1-N8 (8 MB QD, No PSRAM)
...
 - framework-arduinoespressif32 @ 3.2.0 

I believe the reason is Arduino Core 3.x is no longer supported in PlatformIO.

That’s the reason for the existence of the pioarduino fork.

To get Arduino 3.x simply use the platform setting from above!

[env:adafruit_feather_esp32s3_nopsram]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/54.03.20/platform-espressif32.zip
board = adafruit_feather_esp32s3_nopsram
framework = arduino
lib_deps = 
  mobizt/FirebaseClient@^2.1.5
monitor_speed = 115200

Really helpful. Thank you very much. One last question. I have both the PlatformIO extension and pioarduino extensions installed in my VSCode. How do I know which one is being “used” (not even sure what I’m asking here) or are they both “used” as needed? I ask this because I thought I was “using” the pioardunio extension (maybe I wasn’t given your answer above) but when I try to open a pioardunio project it says I have never used it.

Remove one of them. Afaik they can’t used both at the same time.
What matters is the platform setting in your project.