tomekc
January 21, 2018, 12:24am
#1
Hello,
This is very annoying: for example, after finding a library to use you can’t go to code and back to PlatformIO home tab to library page (with examples, installation) because view always resets to default home page.
I am using macOS Sierra
and VS Code.
This is a known bug in VSCode:
opened 10:52PM - 09 Aug 17 UTC
closed 05:36PM - 05 May 18 UTC
enhancement
# Temporary solution
Please open PIO Home in a separate layout (Split Editor … and drag PIO Home tab to a new tab pane). See | | | icon in the top right corner.
-------
Currently, VSCode totally destroys PIO Home when a user changes tab. Need to find a way how to restore previous IFRAME state.
There is no information here:
* https://code.visualstudio.com/docs/extensionAPI/vscode-api-commands#_working-with-the-html-preview
/cc @dbaeumer @tyriar should I open a feature request? Related [source code](https://github.com/platformio/platformio-vscode-ide/blob/develop/src/home.js#L18).
