Interface: ArduinoState
January 3, 2026 ยท View on GitHub
Interface: ArduinoState
The current state of the Arduino IDE.
Extended by
Properties
boardDetails
readonlyboardDetails:BoardDetails|undefined
Lightweight representation of the board's detail. This information is
provided by the Arduino
CLI
for the currently selected board. It can be undefined if the fqbn is
defined but the platform is not installed.
Deprecated
Use arduinoContext?.currentSketch?.boardDetails instead.
compileSummary
readonlycompileSummary:CompileSummary|undefined
The summary of the latest sketch compilation. When the sketchPath is
available but the sketch has not been verified (compiled), the buildPath
can be undefined.
Deprecated
Use arduinoContext?.currentSketch?.compileSummary instead.
dataDirPath
readonlydataDirPath:string|undefined
Filesystem path to the
directories.data
location.
Deprecated
Use arduinoContext?.config?.dataDirPath instead.
fqbn
readonlyfqbn:string|undefined
The Fully Qualified Board Name (FQBN) of the currently selected board in the Arduino IDE.
Deprecated
Use arduinoContext?.currentSketch?.board?.fqbn instead.
port
readonlyport:Port|undefined
The currently selected port in the Arduino IDE.
Deprecated
Use arduinoContext?.currentSketch?.port instead.
sketchPath
readonlysketchPath:string|undefined
Absolute filesystem path of the sketch folder.
Deprecated
Use arduinoContext?.currentSketch?.sketchPath instead.
userDirPath
readonlyuserDirPath:string|undefined
Filesystem path to the
directories.user
location. This is the sketchbook path.
Deprecated
Use arduinoContext?.config?.userDirPath instead.