如何在 Jupyter VS 代码中显示上次运行单元格的时间戳?

PJ_*_*PJ_ 8 python jupyter visual-studio-code

VScode 中的 Jupyter 显示单元执行时间如下:

'1.9s'
Run Code Online (Sandbox Code Playgroud)

但我想要一种在单元运行时添加时间戳的方法:

'1.9s on 4/28/22 10:30:05'
Run Code Online (Sandbox Code Playgroud)

我在浏览器的 Jupyter 中通过扩展程序实现了此功能,但尚未找到在 VSCode 中显示它的方法。有任何想法吗?

Min*_*SFT 5

很遗憾地告诉您,该功能目前无法实现。您可以在GitHub中查询该功能的请求。

因为同样的功能在jupyter Notebook上也以扩展的形式实现,这意味着官方还没有开始做相关内容,所以我们最好再等等。