Option to open a file in transient state

An extension I’m developing adds a sidebar with a list of files, displaying a stack trace for an error. When selecting a stack trace item in the list, the associated file is opened at the line and column of the call within the selected. I would like to open the file in the transient state when just selecting the item and fully open it upon double clicking it. Maybe the Workspace.openFile call can get a ‘transient’ option?

This totally makes sense. I will file this as an API enhancement request!