Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

"Arduino Examples" showed twice #496

Closed
reyang opened this issue Mar 12, 2018 · 6 comments
Closed

"Arduino Examples" showed twice #496

reyang opened this issue Mar 12, 2018 · 6 comments
Assignees
Labels
Milestone

Comments

@reyang
Copy link
Member

reyang commented Mar 12, 2018

Plug in the DevKit, unplug it, then plug in again, there will be two "Arduino Examples" tabs opened.
Expect only one.

image

@czgtest
Copy link
Contributor

czgtest commented Mar 13, 2018

@reyang which OS are you using ?

I try on my win10 , but not repro this issue
Arduino extension version: 0.2.11
vscode : 1.21.0

@reyang
Copy link
Member Author

reyang commented Mar 13, 2018

Microsoft Windows [Version 10.0.16299.248]

image

Arduino for Visual Studio Code v0.2.11
Azure Account v0.3.1

@czgtest czgtest added the bug label Mar 15, 2018
@czgtest
Copy link
Contributor

czgtest commented Mar 15, 2018

I can repro this issue too.

@Sneezry Can you help to fix this issue ?

image

@lirenhe lirenhe added the P1 label Mar 15, 2018
@lirenhe lirenhe added this to the Sprint 133 milestone Mar 16, 2018
@Sneezry
Copy link
Member

Sneezry commented Mar 20, 2018

This issue happens when no document open in vscode. Arduino Examples page is open in the second column

https://github.com/Microsoft/vscode-arduino/blob/0bb2b7392e67b2f59a67382a210fbbd2095a1206/src/extension.ts#L113

When on document open, vscode will open it in the first column, and when we re-plugin DevKit, vscode open a new one in the second column.

@Sneezry
Copy link
Member

Sneezry commented Mar 20, 2018

I have post an issue here: microsoft/vscode#46161

@ArthurMa1978
Copy link
Member

Since this is not a issue from our extension, and VS Code planned to fix it.
Close it on our side.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants