question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug]: -r opens wrong file in wrong instance

See original GitHub issue

Is there an existing issue for this?

  • I have searched the existing issues

OS/Web Information

  • Web Browser: Firefox
  • Local OS: Arch
  • Remote OS: Arch
  • Remote Architecture: x86_64
  • code-server --version: 4.7.1 b562d4a880f21aace51b6bd1e7ac64330d023b3a with Code 1.71.2

Steps to Reproduce

  1. Open two code-server workspaces for folders a and b in two tabs
  2. In folder a, run code-server -r a.php

Expected

The first tab opens a/a.php

Actual

The second tab opens b/a.php

Logs

No response

Screenshot/Video

No response

Does this issue happen in VS Code or GitHub Codespaces?

  • I cannot reproduce this in VS Code.
  • I cannot reproduce this in GitHub Codespaces.

Are you accessing code-server over HTTPS?

  • I am using HTTPS.

Notes

No response

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
danogcommented, Oct 26, 2022

Actually no I opened the files in a separate terminal, and I could’ve sworn this worked/was recently fixed in vscode, will try again tomorrow

1reaction
tobycmcommented, Oct 26, 2022

I opened up 2 a and b folder in vscode, in different windows. Opening a file using the code cli leads me to the b window so I guess this is normal behaviour?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to resolve Error in file(file, rt): cannot open the connection ...
Among the most recurring errors in reading / importing data or files into R / RStudio is: "Error in file ( file," rt...
Read more >
R 4.2: Document unexpectedly opens as empty in some ...
Save it, then try File -> Reopen with Encoding -> ISO-8859-1. Describe the problem in detail. The file is opened as a blank...
Read more >
Exceptions and debugging - Advanced R. - Hadley Wickham
Not all problems are unexpected. When writing a function, you can often anticipate potential problems (like a non-existent file or the wrong type...
Read more >
15 Common Problems with rmarkdown (and some solutions)
15.1 Avoiding problems · restart R · run all chunks below · find the chunk that did not work, fix until it does...
Read more >
373182 - Wrong file name when clicking on data-uri anchor ...
Issue 373182: Wrong file name when clicking on data-uri anchor with "download" tag. This issue has been migrated to Launch, see link in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found