Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

collapse button not showing up when opened in new window #3188

Open
aeschli opened this issue Oct 15, 2021 · 6 comments
Open

collapse button not showing up when opened in new window #3188

aeschli opened this issue Oct 15, 2021 · 6 comments
Labels

Comments

@aeschli
Copy link

aeschli commented Oct 15, 2021

Moved from microsoft/vscode#126889

Hereby attaching images which replicates this issues.

  1. open a new window from File > New Window.
    image
  2. drag and drop one of file on new window.
    image
    as you can see in the above image collapse buttons are now visible.
  3. now drag and drop another file in new tab of new window.
    image
  4. now click on first tab of new window.
    image

as you can see the above image collapse buttons are not visible.
This issue may be specific to .vue files, attaching files for reference.
vue-files.zip

@aeschli
Copy link
Author

aeschli commented Oct 15, 2021

The dev tools console shows multiple errors that are likely the reason for the missing indicators:

log.ts:301 ERR Unhandled method textDocument/foldingRange: Error: Unhandled method textDocument/foldingRange
at /home/martin/.vscode-insiders/extensions/octref.vetur-0.34.1/dist/vueMain.js:1:64858
at /home/martin/.vscode-insiders/extensions/octref.vetur-0.34.1/dist/vueMain.js:1:65153
at Immediate. (/home/martin/.vscode-insiders/extensions/octref.vetur-0.34.1/dist/vueMain.js:1:65518)
at processImmediate (internal/timers.js:461:21)

@yoyo930021
Copy link
Member

yoyo930021 commented Oct 16, 2021

Vetur doesn't support a single file.
Please open a Vue project in VSCode window.

@shirodkarpushkar

@shirodkarpushkar
Copy link

shirodkarpushkar commented Oct 16, 2021

Hi @yoyo930021 ,

The image which you are seeing above is from a Vue project. I usually require to open a file in new window for keeping reference of a code, for getting a better view in a separate screen.

It came to my notice that it happens for .vue files only . It would be better if this extension supports single file also like all other frameworks.

Reagrds,
Pushkar

@yoyo930021
Copy link
Member

Hi @yoyo930021 ,

The image which you are seeing above is from a Vue project. I usually require to open a file in new window for keeping reference of a code, for getting a better view in a separate screen.

It came to my notice that it happens for .vue files only . It would be better if this extension supports single file also like all other frameworks.

Reagrds, Pushkar

You open a new session when you open VSCode windows.
VSCode windows are independent of the other.

@shirodkarpushkar
Copy link

similar thing is also observed in new session of vscode
image

@yoyo930021
Copy link
Member

@shirodkarpushkar If you only want collapse, you can refer to this link.
#2308 (comment)

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

No branches or pull requests

3 participants