text:
Debugging does not use automation shell

VS Code Version: 1.54.3
OS Version: Ubuntu

Steps to Reproduce:

launch a debugging session with cppdbg or vadimcn.vscode-lldb using a bash terminal
Note that the terminal launched is interactive (bash options are "himBH")

The documentation (https://code.visualstudio.com/docs/supporting/troubleshoot-terminal-launch) states that "terminal.integrated.automationShell.{platform} - Shell path for automation-related terminal usage like tasks and debug." however debugging as far as I can tell is invoking the non-automation shell.  This is problematic because to be able to differentiate between an automation process (build/debug) and an interactive process (terminal launched by user) is important/useful.
Already raised a ticket versus vscode-cpptools, but the opinion is that this is a vscode issue.

Does this issue occur when all extensions are disabled?: Yes

Looks like it just uses the terminal.integrated.defaultProfile when I run a task even if I've set automationProfile

authors: bbennetts meganrogge


text:
Right-clicking on a tab pastes into the terminal

I would expect a menu to show up or at the very least nothing to happen 😄

We need to make sure the tabs work for all values of terminal.integrated.rightClickBehavior

source: gharchive/issue

authors: Tyriar eamodio

repo: microsoft/vscode

license: MIT

license_type: permissive

license_source: github-api


text:
Notebook doesn't show as dirty when it is dirty

from https://github.com/microsoft/vscode/issues/120284

open a notebook file
open an untitled file
reload
while the unititled file shows, run an extension command as shown below
the notebook editor isn't mark as dirty

I have debugged this till here and everything seems correct, e.g dirty states are true
const docUri = vscode.Uri.file('/pathToVscode/vscode/.vscode/notebooks/api.github-issues');
const cellUri = docUri.with({ scheme: 'vscode-notebook-cell', fragment: 'ch0000001' });
const cellDoc = await vscode.workspace.openTextDocument(cellUri);
await vscode.languages.setTextDocumentLanguage(cellDoc, 'css');

@jrieken my guess would be that the working copy for notebooks gets created and works just fine, but the notebook editor input does not connect to that working copy and does not report dirty state. The editor area only considers a tab dirty when the editor input reports that.
In file land I solve this like so:

listen to file models becoming alive from within the editor input
accept the model into the input when created
register model listeners (that you probably already do)

I see. Thanks for the explanation, pushing a fix that listens to notebook coming to life and auto-resolving inputs

Thanks.
When I implemented my text area editor, I actually felt that this kind of code is easy to miss and ideally could be reused, but I wasn't really able to figure out how. There is somewhat of a gap between the nice working copy world where everything is reused and the editor input world where parts are reused (like label rendering) but e.g. working copy handling is entirely not and everyone is writing the same code to listen to changes of the working copy and re-emitting them through the editor input.
Maybe something like a working-copy-aware-editor-input could be added, but then again, there are editors that already extend another editor input, so inheritance would not work for them.

Oh and for notebooks this is even more complicated, because the underlying model is not always a file working copy, but sometimes the old one. If we could get rid of the old one, that would make this a bit easier.

This still seems to happen:
https://user-images.githubusercontent.com/2230985/124199387-a0507680-da87-11eb-8e51-617f9bc6ffa7.mp4

I cannot reproduce with the built in command to create a new GH Issue Notebook:

What is the code for the hello world command you trigger?

Not even Jos steps in https://github.com/microsoft/vscode/issues/126460#issue-922385305 reproduce for me now, I see the notebook show as dirty after reload.

authors: bpasero connor4312 jrieken


text:
clicking file links from terminal fails to make use of terminal current directory

When having multiple folders opened inside the workspace, clicking on a filename in side the terminal confuses the editor which asks for which file to open, as it fails to recognize the CWD from the terminal in order to determine the file.
What it happens is that it either prompts about which file to open or opens the wrong file.

As seen in the screenshot there are two project directory opened: molecule and ansible-compat. Both of them have a .github/workflows/tox.yml file inside them.
The expectation is that clicking the file inside the terminal would open the correct file because the current directory of the terminal is known and is the molecule project folder, so building a fully qualified path while sending the open file command to the editor should not be a problem at all.
What happens instead is that the incorrect file is opened instead, the one from the other project.

We made a lot of progress in this area over the past year or so, when you have shell integration the cwd is used/prioritized for links. The case in the original report looks like it works for me 🎉

I tested again and I think you are right, I clicked on a file that exists in more than one workspaces and it opened the the from current directory instead of asking me which one I want to open. That is a huge productivity boost! Thanks!

authors: Tyriar ssbarnea


text:
Ctrl+Alt+ keybindings should not be used by default under Windows.

run scripts\code.bat

On many keyboard layouts, Ctrl+Alt+[alphanum] are used for typing. It has to do with how AltGr+ works. We should therefore not ship by default any keybindings like that which might prohibit folks from typing on Windows.
Introduced via https://github.com/microsoft/vscode/commit/075664387464693a578454e80a3ad726d47d1dec

removed the shortcut for now

authors: alexdima sbatten


text:
Cell toolbar should be shown on focus and on hover

Testing #133903
Currently we show the cell toolbar only for cells that have focus.
I think we should also show it for cells that are being hovered over.
That way me as a user can run by line just by using the mouse and without clicking into the cell first.

We do have notebook.cellToolbarVisibility for this. I think the default was picked to avoid noise from moving the cursor around.

authors: isidorn roblourens


text:
Emmet Abbreviation

We have written the needed data into your clipboard bec
Issue Type: Bug
Hi,
Im having issues with Emmet Abbreviation not working on one of my HTML files.   When I type in a tag word like "button" or "!" it does not auto populate my brackets or the rest of the autofill tags or closing tags.  The Emmet window does not even show up, only "abc" window.
It only started happening a few enteries ago on the same file I am having issues on (where exactly, I am not sure?)  It works perfectly fine on new files or other files.
I am assuming I accidentally toggled a shortcut key that has somehow disabled it?
Any help you can provide would be greatly appreciated, thanks in advance.
-Kyle
VS Code version: Code 1.63.2 (899d46d82c4c95423fb7e10e68eba52050e30ba3, 2021-12-15T09:40:02.816Z)
OS version: Windows_NT x64 10.0.19042
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-7300U CPU @ 2.60GHz (4 x 2712)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
7.89GB (3.33GB free)

Process Argv
--crash-reporter-id 1f71a3ae-d4e8-496a-a7b4-e03e3fb40e0f

Screen Reader
no

VM
0%

Extensions (25)

Extension
Author (truncated)
Version

django-html
bib
1.3.0

EditorConfig
Edi
0.16.4

vsc-material-theme
Equ
33.2.2

vsc-material-theme-icons
equ
2.2.1

prettier-vscode
esb
9.1.0

auto-close-tag
for
0.5.13

code-python-isort
fre
0.0.3

todo-tree
Gru
0.0.215

vscode-power-mode
hoo
2.2.0

dotenv
mik
1.0.1

python
ms-
2021.12.1559732655

vscode-pylance
ms-
2022.1.3

jupyter
ms-
2021.11.1001550889

java
red
1.2.0

markdown-preview-enhanced
shd
0.6.1

code-spell-checker
str
2.1.4

vscode-djaneiro
the
1.4.2

rst-vscode
tht
3.0.1

vscodeintellicode
Vis
1.2.15

vscode-java-debug
vsc
0.37.0

vscode-java-dependency
vsc
0.18.9

vscode-java-pack
vsc
0.20.0

vscode-java-test
vsc
0.33.1

vscode-maven
vsc
0.34.2

grammarly
znc
0.14.0

(1 theme extensions excluded)

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyl392cf:30425750
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805:30301674
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
vsc1dst:30424896
pythonvs932:30410667
vscop804:30404766
vscop341:30404997
vsclayoutctrt:30425946
vsrem710:30416614
vsbas813:30426126
vsic-wlc-tsjs:30426436

ause it was too large to send. Please paste.
Please excuse my coding, Im new and learning, just using this file as a "reference page."

HTML 201

<link
    rel="shortcut icon"
    href="C:\Users\Allan\Desktop\HTML Folder\Images\favicon\123_favicon.png"
    type="image/png">

Welcome to HTML 201

GO TO BOTTOM

        Lorem ipsum, dolor sit amet consectetur adipisicing elit.

     Temporibus dignissimos eos aut eius modi libero maxime cum nemo provident, similique dolorum cumque praesentium laudantium incidunt, eum laborum quidem nostrum voluptas.
     Temporibus dignissimos eos aut eius modi libero maxime cum nemo provident, similique dolorum cumque praesentium laudantium incidunt, eum laborum quidem nostrum voluptas.

A
B
C

First Cell Here
Second Cell Here

First Row Here
Second Row Here

1

2
3

        4

Welcome to HTML 201

Navigation

Content

    Lorem ipsum dolor sit, amet consectetur adipisicing elit. Error nobis praesentium inventore vero quam! Quos maiores laudantium veniam suscipit amet vel corporis! Sed asperiores odit facilis doloribus, sunt repellendus quo?

    Lorem ipsum dolor sit amet consectetur adipisicing elit. Quaerat non odit id, perferendis, incidunt reprehenderit eos beatae repellendus assumenda pariatur dicta nostrum aut est vero nesciunt soluta consequuntur. Modi, suscipit.

    Lorem ipsum dolor sit amet consectetur, adipisicing elit. Tempore incidunt error laudantium provident fuga molestias quaerat et mollitia suscipit exercitationem laboriosam quos magnam placeat, harum aspernatur expedita, debitis corporis blanditiis?

    Lorem ipsum, dolor sit amet consectetur adipisicing elit. Ea consectetur nesciunt nulla neque, ipsum, qui aut assumenda impedit officiis deleniti velit! Incidunt, qui. Cupiditate, corrupti rerum alias animi suscipit maxime.

 Format code

            Some stuff here       <b>This is bold</b>
        Second line Here

  Lorem ipsum dolor sit amet consectetur adipisicing elit. Commodi delectus nulla animi laboriosam aperiam earum natus illum minima veritatis, nisi est atque impedit inventore amet tempora, aliquid accusamus nesciunt in!

Forms

    <form action="">
        <input type="text" value="Hello World"
        placeholder="Enter your name">

        <input type="password" value="password"
        placeholder="Enter Your password"

    </form>

    <form action="" method="GET">

Text in here
    White Space Matters here.

Button
Reset
Submit

This is Value 1
This is Value 2
Selected by default
This is disabled

    </form>

BACK TO TOP
   ©2022
   &copy 2022
   ©2022

\gifPlease

I don't see any pictures. If the problem is specific to that one file, I wonder if you can attach it, assuming it has no confidential information.
Also, does the issue reproduce on VS Code Insiders?

No its nothing secret, I am an HTML 201 course through Udemy so it is just
a reference sheet that I had made for my own personal use.
Here is the code I wrote up, also I will try and reattach pics.

HTML 201

<link
    rel="shortcut icon"
    href="C:\Users\Allan\Desktop\HTML

Folder\Images\favicon\123_favicon.png"
type="image/png">

Welcome to HTML 201

GO TO BOTTOM

        Lorem ipsum, dolor sit amet consectetur adipisicing elit.

     Temporibus dignissimos eos aut eius modi libero maxime cum nemo

provident, similique dolorum cumque praesentium laudantium incidunt, eum
laborum quidem nostrum voluptas.
Temporibus dignissimos eos aut eius modi libero maxime cum nemo
provident, similique dolorum cumque praesentium laudantium incidunt, eum
laborum quidem nostrum voluptas.

A
B
C

First Cell Here
Second Cell Here

First Row Here
Second Row Here

1

2
3

        4

Welcome to HTML 201

Navigation

Content

    Lorem ipsum dolor sit, amet consectetur adipisicing elit. Error nobis
praesentium inventore vero quam! Quos maiores laudantium veniam suscipit
amet vel corporis! Sed asperiores odit facilis doloribus, sunt repellendus
quo?

    Lorem ipsum dolor sit amet consectetur adipisicing elit. Quaerat non
odit id, perferendis, incidunt reprehenderit eos beatae repellendus
assumenda pariatur dicta nostrum aut est vero nesciunt soluta consequuntur.
Modi, suscipit.

    Lorem ipsum dolor sit amet consectetur, adipisicing elit. Tempore
incidunt error laudantium provident fuga molestias quaerat et mollitia
suscipit exercitationem laboriosam quos magnam placeat, harum aspernatur
expedita, debitis corporis blanditiis?

    Lorem ipsum, dolor sit amet consectetur adipisicing elit. Ea
consectetur nesciunt nulla neque, ipsum, qui aut assumenda impedit officiis
deleniti velit! Incidunt, qui. Cupiditate, corrupti rerum alias animi
suscipit maxime.

 Format code

            Some stuff here       <b>This is bold</b>
        Second line Here

  Lorem ipsum dolor sit amet consectetur adipisicing elit. Commodi delectus nulla animi laboriosam aperiam earum natus illum
minima veritatis, nisi est atque impedit inventore amet tempora, aliquid
accusamus nesciunt in!

Forms

    <form action="">
        <input type="text" value="Hello World"
        placeholder="Enter your name">

        <input type="password" value="password"
        placeholder="Enter Your password"

    </form>

    <form action="" method="GET">

Text in here
    White Space Matters here.

Button
Reset
Submit

This is Value 1
This is Value 2
Selected
by default
This is disabled

    </form>

BACK TO TOP
   ©2022
   &copy 2022
   ©2022

On Mon, Jan 24, 2022 at 9:57 AM Raymond Zhao @.***>
wrote:

I don't see any pictures. If the problem is specific to that one file, I
wonder if you can attach it, assuming it has no confidential information.
Also, does the issue reproduce on VS Code Insiders
https://code.visualstudio.com/insiders/?
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/141253#issuecomment-1020320925,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXIOCERJHMYBRFOVR4JZUVLUXWAIRANCNFSM5MUFW4AQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Kyle Laloge
@.***
780-219-3825

At line 213, you forgot a >. Same with line 69. There's also a tbody tag on line 70 with no matching closing tag.
Leaving out the > characters likely broke Emmet's parser, which is why Emmet wasn't able to suggest or expand abbreviations.

OMG!!!  The closing bracket on line 213 was the culprit!
Thank you very much, I really believed that I had an issue with something I
accidentally toggled, especially with all the code that worked after that
line???
I have a lot to learn still and I really appreciate you taking the time to
help me with this.
Thank you thank you thank you! :)
On Mon, Jan 24, 2022 at 10:43 AM Raymond Zhao @.***>
wrote:

At line 213, you forgot a >. Same with line 69. There's also a tbody tag
on line 70 with no matching closing tag.
Leaving out the > characters likely broke Emmet's parser, which is why
Emmet wasn't able to suggest or expand abbreviations.
[image: Screenshot of line 213]
https://user-images.githubusercontent.com/7199958/150835297-07894b25-141b-4c04-9a99-37aa6dad7291.PNG
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/141253#issuecomment-1020368661,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXIOCETY46VXVK4G2X2IK2TUXWFT5ANCNFSM5MUFW4AQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Kyle Laloge
@.***
780-219-3825


text:
Unexpected suggest highlighting ignores whole word match in favor of matching first letter

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.66.2
OS Version: Darwin x64 21.2.0
TypeScript Version: 4.6.2

Steps to Reproduce:
When using TypeScript untion intelliSense, a strange character matching was found, which failed to match "ok" in {}.
Judging from the rules in the picture, it seems to be the reason for the "{"symbol?
Is this problem caused by the internal lsp-tsserver?
But when I tried it in WebStorm, there was no such problem.
VSCode: ↓

WebStorm: ↓

TypeScript online playground: ↓
https://www.typescriptlang.org/play?#code/C4TwDgpgBAylC8UDkBbAhgYwBYEsB2EA9AN44AmAvklAD7JkOMMk4COVtyA9gEa+-EuAawqEArgGcIAJ2p0kZCYrLFJM0cKQBuAFA6MXPBOBQMGAFywE3IdqA

It looks to me like the only issue is the highlighting of the typed text in the suggestion. This highting is done by VS Code, not tsserver
I've updated the title to reflect this

When I enter a single letter, it doesn't give advice either.
↓

In theory, it should give a suggestion of "machine/ {id}" | "dddddddd/ {iq}"

We don't consider { as booster character (unlike ., _, casing-changes, etc) and therefore the first character or boost character must match

Ok, got it.
May I ask, What is the reason for not using { as a boost character?

No special reason, hasn't been asked for

I have pushed a change to also boost after {. This will help with https://github.com/microsoft/vscode/issues/147423#issuecomment-1099748356 and other cases. However, not with the original case (obobobf{ok}/user). The o can match multiple times. Our strategy rewards word start matches over sequential matches, e.g the later a character matches in a word the higher of a penalty it carries. The penalty isn't compensated with just 2 consecutive matches. ATM there are  is now plans to change that. Closing as half fixed and half as-designed

authors: jrieken mjbvz xlboy


text:
Impove the native Monokai theme with better syntax highlighting for Terraform

Does this issue occur when all extensions are disabled?: No

VS Code Version: 1.66.2
OS Version: WSL2 Ubuntu-18.04

Steps to Reproduce:

Natively activate the native Monokai theme provided by Microsoft.

Identifier vscode.theme-monokai

Observe the difficult to read syntax highlighting for .tf files.

Repeating underlying for all resources, no display of var and other attributes during calls, heavy use of red coloring which is hard on the eyes, no showing nested inputs for various resources, etc.
Added slight white differences and bolding to separate names resources, vs. assigned attributes

I have made changes based better highlight syntax which can be found in this repo.  I merely improved what already existed.

We don't really want to tune theme for specific grammars & languages. Especially not the themes that were originally authored by others (Monokai, Solarize,...)
Instead, you want to look at the Terraform grammar and what scopes it generates. Using standard scopes will improve rendering for all themes.

authors: aeschli jolsby


text:
Python Virtual environment

Hi there,
I'm trying to work with a virtual environment common to some projects, but not all my projects.
From documentation, I should use python.venvPath, which exists only in global settings (not mentioned).
From general setting, there is mention of python.venvFolders only.
I can set both in the user settings, but python.venvFolders are supposed to be in my home directory, which is not the case.
As a result, and different tries, this does not work. Any suggestion. What I like to do is

folder1, containing .venv

folder11, with a project, need .venv
folder12, with a project, need same .venv

folde2, different .venv

Thanks for the great work!

/extPython

It looks like this is caused by the Python extension. Please file the issue to the Python extension repository. Make sure to check their issue reporting template and provide them relevant information such as the extension version you're using. See also our issue reporting guidelines for more information.
Happy Coding!

authors: Tyriar VSCodeTriageBot fxf06


text:
problemMatcher with multiple patterns doesn't work

Does this issue occur when all extensions are disabled?: N/A

VS Code Version: 1.69.2
OS Version: Ubuntu 20.04

I'm trying to write problemMatchers for linker errors (for some reason linker errors do not generate new entries in "PROBLEMS").
I was able to get a few working in my tasks.json file. But some problemMatchers overrule others (linker2 and linker3). This is a problem. It also takes up a lot of lines of code in my tasks.json file, so I decided to write a Extension so I can add the problemMatcher in one line. The extension has the problem that it only seems to work with 1 pattern. More than one pattern results in 0 problems. Another problem is that the extension is very strict and it forces you to specify a file even if the error isn't specific to a file (such as memory size issues).
Here is my tasks.json:
  "version": "2.0.0",
  "tasks": [
    {
      "type": "cmake",
      "label": "Build all",
      "command": "build",
      "targets": [
        "all"
      ],
      "group": "build",
      "problemMatcher": [
        "$gcc",
        "$gcc_linker",
        {
          "owner": "linker0",
          "severity": "error",
          "fileLocation" : "absolute",
          "pattern": {
            "regexp": "((error): ld returned (-?\\d+) exit status)",
            "message": 1,
            "file" : 2
          }
        },
        {
          "owner": "linker1",
          "severity": "error",
          "fileLocation" : "absolute",
          "pattern": {
            "regexp": "(\\S*\\.cp{0,2}):(\\d*):\\s(undefined reference to `\\S*')",
            "file": 1,
            "line": 2,
            "message": 3
          }
        },
        {
          "owner": "linker2",
          "severity": "error",
          "fileLocation" : "absolute",
          "pattern": {
            "regexp": "((.*\\.cp{0,2}):(\\d+): (multiple definition of .+);.+:(.*\\.cp{0,2}):(\\d+): first defined here)",
            "message": 4,
            "file": 2,
            "line": 3
          }
        },
        {
          "owner": "linker3",
          "severity": "error",
          "fileLocation" : "absolute",
          "pattern": {
            "regexp": "((.*\\.cp{0,2}):(\\d+): (multiple definition of .+);.+:(.*\\.cp{0,2}):(\\d+): first defined here)",
            "message": 4,
            "file": 5,
            "line": 6
          }
        },
        {
          "owner": "linker4",
          "severity": "error",
          "fileLocation" : "absolute",
          "pattern": {
            "regexp": "((cannot open linker script file (.+.ld): No such file or directory))",
            "message": 1,
            "file": 3
          }
        },
        {
          "owner": "linker5",
          "severity": "error",
          "fileLocation" : "absolute",
          "pattern": {
            "regexp": "((region `\\S+' overflowed by \\d+ bytes))",
            "message": 1
          }
        }

      ],
      "detail": "CMake template build task"
    }
  ]
}

Here is my extension package.json:
{
  "name": "linker-problems",
  "displayName": "linker_problems",
  "description": "problemMatchers to show linker errors in problems window",
  "version": "0.0.1",
  "engines": {
    "vscode": "^1.69.0"
  },
  "categories": [
    "Other"
  ],
  "activationEvents": [
    "onCommand:linker-problems.command0"
  ],
  "main": "./out/extension.js",
  "contributes": {
    "commands": [
      {
        "command": "linker-problems.command0",
        "title": "Command 0"
      }
    ],
    "problemMatchers": [
      {
        "name": "gcc_linker",
        "owner": "linker-problems",
        "fileLocation": [
          "absolute"
        ],
        "severity": "error",
        "pattern": [
          {
            "regexp": "(\\S*\\.cp{0,2}):(\\d*):\\s(undefined reference to `\\S*')",
            "file": 1,
            "line": 2,
            "message": 3
          },
          {
            "regexp": "((.*\\.cp{0,2}):(\\d+): (multiple definition of .+);.+:(.*\\.cp{0,2}):(\\d+): first defined here)",
            "message": 4,
            "file": 2,
            "line": 3
          }
        ]
      },
      {
        "name": "gcc_linker2",
        "owner": "linker-problems2",
        "fileLocation": [
          "absolute"
        ],
        "severity": "error",
        "pattern": [
          {
            "regexp": "((.*\\.cp{0,2}):(\\d+): (multiple definition of .+);.+:(.*\\.cp{0,2}):(\\d+): first defined here)",
            "message": 4,
            "file": 2,
            "line": 3
          }
        ]
      }
    ]
  },
  "scripts": {
    "vscode:prepublish": "npm run compile",
    "compile": "tsc -p ./",
    "watch": "tsc -watch -p ./",
    "pretest": "npm run compile && npm run lint",
    "lint": "eslint src --ext ts",
    "test": "node ./out/test/runTest.js"
  },
  "devDependencies": {
    "@types/vscode": "^1.69.0",
    "@types/glob": "^7.2.0",
    "@types/mocha": "^9.1.1",
    "@types/node": "16.x",
    "@typescript-eslint/eslint-plugin": "^5.31.0",
    "@typescript-eslint/parser": "^5.31.0",
    "eslint": "^8.20.0",
    "glob": "^8.0.3",
    "mocha": "^10.0.0",
    "typescript": "^4.7.4",
    "@vscode/test-electron": "^2.1.5"
  }
}

And here are some examples of linker errors I was able to artificially generate:
 cmake_echo_color --cyan "====== Print firmware binary sizes ======" && arm-none-eabi-size project_name_development.elf && cd /home/username/git/build-project_name_development && arm-none-eabi-objcopy -O ihex project_name_development.elf project_name_development.hex && cd /home/username/git/build-project_name_development && arm-none-eabi-objcopy -O binary project_name_development.elf project_name_development.bin && cd /home/username/git/build-project_name_development && arm-none-eabi-objdump -h -S project_name_development.elf > project_name_development.list
/usr/share/gcc-arm-11.2-2022.02-x86_64-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/bin/ld: project_name_development.elf section `.bss' will not fit in region `RAM'
/usr/share/gcc-arm-11.2-2022.02-x86_64-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/bin/ld: region `RAM' overflowed by 1042280 bytes
Memory region         Used Size  Region Size  %age Used
             RAM:     1050472 B         8 KB    12823.14%
           FLASH:       26000 B        64 KB     39.67%
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
Build finished with error(s).
 *  Terminal will be reused by tasks, press any key to close it.

&& /home/username/.local/lib/python3.8/site-packages/cmake/data/bin/cmake -E cmake_echo_color --cyan "====== Print firmware binary sizes ======" && arm-none-eabi-size project_name_development.elf && cd /home/username/git/build-project_name_development && arm-none-eabi-objcopy -O ihex project_name_development.elf project_name_development.hex && cd /home/username/git/build-project_name_development && arm-none-eabi-objcopy -O binary project_name_development.elf project_name_development.bin && cd /home/username/git/build-project_name_development && arm-none-eabi-objdump -h -S project_name_development.elf > project_name_development.list
/usr/share/gcc-arm-11.2-2022.02-x86_64-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/bin/ld: project_name_development.elf section `.data' will not fit in region `RAM'
/usr/share/gcc-arm-11.2-2022.02-x86_64-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/bin/ld: project_name_development.elf section `.data' will not fit in region `FLASH'
/usr/share/gcc-arm-11.2-2022.02-x86_64-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/bin/ld: region `RAM' overflowed by 1042280 bytes
/usr/share/gcc-arm-11.2-2022.02-x86_64-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/bin/ld: region `FLASH' overflowed by 1009048 bytes
Memory region         Used Size  Region Size  %age Used
             RAM:     1050472 B         8 KB    12823.14%
           FLASH:     1074584 B        64 KB    1639.69%
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
Build finished with error(s).

/usr/share/gcc-arm-11.2-2022.02-x86_64-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/bin/ld: cannot open linker script file /home/username/git/project_name_development/project_name/hal/stm32l0xx/project_name_system/init_mcu/linker/STM32L051K8TX_FLASH.ld: No such file or directory
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
Build finished with error(s).
 *  Terminal will be reused by tasks, press any key to close it.

Build Started...
project_name_development_test.exe  lib/libgtestd.a  lib/libgmockd.a  lib/libgtest_maind.a  -lgcov  lib/libgtestd.a  -lpthread && :
/usr/bin/ld: CMakeFiles/project_name_development_test.exe.dir/project_name/hal/stm32l0xx/project_name_system/src/project_name_system_stm32l0xx_delay_calibration.c.o: in function `_project_name_system_initDelayUs':
/home/user/git/project_name_development/project_name/hal/stm32l0xx/project_name_system/src/project_name_system_stm32l0xx_delay_calibration.c:16: multiple definition of `_project_name_system_initDelayUs'; CMakeFiles/project_name_development_test.exe.dir/project_name/hal/stm32l0xx/project_name_system/src/project_name_system_stm32l0xx.c.o:/home/user/git/project_name_development/project_name/hal/stm32l0xx/project_name_system/src/project_name_system_stm32l0xx.c:63: first defined here
/usr/bin/ld: CMakeFiles/project_name_development_test.exe.dir/project_name/hal/stm32l0xx/project_name_system/src/project_name_system_stm32l0xx.c.o: in function `_project_name_system_initDelayUs':
/home/user/git/project_name_development/project_name/hal/stm32l0xx/project_name_system/src/project_name_system_stm32l0xx.c:64: undefined reference to `_project_name_system_initDelayUs2'
/usr/bin/ld: CMakeFiles/project_name_development_test.exe.dir/project_name/hal/stm32l0xx/project_name_system/src/project_name_system_stm32l0xx_delay_calibration.c.o: in function `_project_name_system_testDelayUs':
/home/user/git/project_name_development/project_name/hal/stm32l0xx/project_name_system/src/project_name_system_stm32l0xx_delay_calibration.c:232: undefined reference to `LL_GPIO_DeInit'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
Build finished with error(s).

Is there a way to get the following things to work using the problemMatchers?:

Multiple patterns
patterns without files
patterns that point to the same part of the string (I want to list both files in case of multiple reference linker issues)
all these patterns under one problemMatcher name ("$name_of_my_problem_matcher").

If not is there a way to implement this in an extension script?
Another useful feature for an extension would be that it would automatically run after a cmake build (from the cmake extension). Right now it can only add or remove problems when I run a custom task.

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.69.2. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

I have the same issue, two patterns that match on their own yet do not match together. I am on version 1.70.0.

I've simplified the task.json. I simply echo the build output as a string literal so no actual build is needed. I had to escape the ` (backtick), double quotes(once for json and once for echo) and line endings. Still the same problem in version 1.70.2 of vscode. I still cannot get multiple matches on the same line.
{
	"version": "2.0.0",
	"tasks": [
		{
			"label": "problemMatcherTest",
			"type": "shell",
			"command": "echo \"cmake_echo_color --cyan \\\"====== Print firmware binary sizes ======\\\" && arm-none-eabi-size project_name_development.elf && cd /home/username/git/build-project_name_development && arm-none-eabi-objcopy -O ihex project_name_development.elf project_name_development.hex && cd /home/username/git/build-project_name_development && arm-none-eabi-objcopy -O binary project_name_development.elf project_name_development.bin && cd /home/username/git/build-project_name_development && arm-none-eabi-objdump -h -S project_name_development.elf > project_name_development.list\n/usr/share/gcc-arm-11.2-2022.02-x86_64-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/bin/ld: project_name_development.elf section \\`.bss' will not fit in region \\`RAM'\n/usr/share/gcc-arm-11.2-2022.02-x86_64-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/bin/ld: region \\`RAM' overflowed by 1042280 bytes\nMemory region         Used Size  Region Size  %age Used\n             RAM:     1050472 B         8 KB    12823.14%\n           FLASH:       26000 B        64 KB     39.67%\ncollect2: error: ld returned 1 exit status\nninja: build stopped: subcommand failed.\nBuild finished with error(s).\n *  Terminal will be reused by tasks, press any key to close it.\n\n\n&& /home/username/.local/lib/python3.8/site-packages/cmake/data/bin/cmake -E cmake_echo_color --cyan \\\"====== Print firmware binary sizes ======\\\" && arm-none-eabi-size project_name_development.elf && cd /home/username/git/build-project_name_development && arm-none-eabi-objcopy -O ihex project_name_development.elf project_name_development.hex && cd /home/username/git/build-project_name_development && arm-none-eabi-objcopy -O binary project_name_development.elf project_name_development.bin && cd /home/username/git/build-project_name_development && arm-none-eabi-objdump -h -S project_name_development.elf > project_name_development.list\n/usr/share/gcc-arm-11.2-2022.02-x86_64-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/bin/ld: project_name_development.elf section \\`.data' will not fit in region \\`RAM'\n/usr/share/gcc-arm-11.2-2022.02-x86_64-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/bin/ld: project_name_development.elf section \\`.data' will not fit in region \\`FLASH'\n/usr/share/gcc-arm-11.2-2022.02-x86_64-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/bin/ld: region \\`RAM' overflowed by 1042280 bytes\n/usr/share/gcc-arm-11.2-2022.02-x86_64-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/bin/ld: region \\`FLASH' overflowed by 1009048 bytes\nMemory region         Used Size  Region Size  %age Used\n             RAM:     1050472 B         8 KB    12823.14%\n           FLASH:     1074584 B        64 KB    1639.69%\ncollect2: error: ld returned 1 exit status\nninja: build stopped: subcommand failed.\nBuild finished with error(s).\n\n\n/usr/share/gcc-arm-11.2-2022.02-x86_64-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/bin/ld: cannot open linker script file /home/username/git/project_name_development/project_name/hal/stm32l0xx/project_name_system/init_mcu/linker/STM32L051K8TX_FLASH.ld: No such file or directory\ncollect2: error: ld returned 1 exit status\nninja: build stopped: subcommand failed.\nBuild finished with error(s).\n *  Terminal will be reused by tasks, press any key to close it.\n\n\nBuild Started...\nproject_name_development_test.exe  lib/libgtestd.a  lib/libgmockd.a  lib/libgtest_maind.a  -lgcov  lib/libgtestd.a  -lpthread && :\n/usr/bin/ld: CMakeFiles/project_name_development_test.exe.dir/project_name/hal/stm32l0xx/project_name_system/src/project_name_system_stm32l0xx_delay_calibration.c.o: in function \\`_project_name_system_initDelayUs':\n/home/user/git/project_name_development/project_name/hal/stm32l0xx/project_name_system/src/project_name_system_stm32l0xx_delay_calibration.c:16: multiple definition of \\`_project_name_system_initDelayUs'; CMakeFiles/project_name_development_test.exe.dir/project_name/hal/stm32l0xx/project_name_system/src/project_name_system_stm32l0xx.c.o:/home/user/git/project_name_development/project_name/hal/stm32l0xx/project_name_system/src/project_name_system_stm32l0xx.c:63: first defined here\n/usr/bin/ld: CMakeFiles/project_name_development_test.exe.dir/project_name/hal/stm32l0xx/project_name_system/src/project_name_system_stm32l0xx.c.o: in function \\`_project_name_system_initDelayUs':\n/home/user/git/project_name_development/project_name/hal/stm32l0xx/project_name_system/src/project_name_system_stm32l0xx.c:64: undefined reference to \\`_project_name_system_initDelayUs2'\n/usr/bin/ld: CMakeFiles/project_name_development_test.exe.dir/project_name/hal/stm32l0xx/project_name_system/src/project_name_system_stm32l0xx_delay_calibration.c.o: in function \\`_project_name_system_testDelayUs':\n/home/user/git/project_name_development/project_name/hal/stm32l0xx/project_name_system/src/project_name_system_stm32l0xx_delay_calibration.c:232: undefined reference to \\`LL_GPIO_DeInit'\ncollect2: error: ld returned 1 exit status\nninja: build stopped: subcommand failed.\nBuild finished with error(s).\n\n\n\n\n\"",
			"problemMatcher": [
				"$gcc",
				"$gcc_linker",
				{
				  "owner": "linker0",
				  "severity": "error",
				  "fileLocation" : "absolute",
				  "pattern": {
					"regexp": "((error): ld returned (-?\\d+) exit status)",
					"message": 1,
					"file" : 2
				  }
				},
				{
				  "owner": "linker1",
				  "severity": "error",
				  "fileLocation" : "absolute",
				  "pattern": {
					"regexp": "(\\S*\\.cp{0,2}):(\\d*):\\s(undefined reference to `\\S*')",
					"file": 1,
					"line": 2,
					"message": 3
				  }
				},
				{
				  "owner": "linker2",
				  "severity": "error",
				  "fileLocation" : "absolute",
				  "pattern": {
					"regexp": "((.*\\.cp{0,2}):(\\d+): (multiple definition of .+);.+:(.*\\.cp{0,2}):(\\d+): first defined here)",
					"message": 4,
					"file": 2,
					"line": 3
				  }
				},
				{
				  "owner": "linker3",
				  "severity": "error",
				  "fileLocation" : "absolute",
				  "pattern": {
					"regexp": "((.*\\.cp{0,2}):(\\d+): (multiple definition of .+);.+:(.*\\.cp{0,2}):(\\d+): first defined here)",
					"message": 4,
					"file": 5,
					"line": 6
				  }
				},
				{
				  "owner": "linker4",
				  "severity": "error",
				  "fileLocation" : "absolute",
				  "pattern": {
					"regexp": "((cannot open linker script file (.+.ld): No such file or directory))",
					"message": 1,
					"file": 3
				  }
				},
				{
				  "owner": "linker5",
				  "severity": "error",
				  "fileLocation" : "absolute",
				  "pattern": {
					"regexp": "((region `\\S+' overflowed by \\d+ bytes))",
					"message": 1
				  }
				}
			],
		},
	]
}

authors: ChrisIdema VSCodeTriageBot YusTheYokai


text:
Installation of missing notebook renderer does not trigger output re-render

Open a notebook with output mimetypes that are not supported by existing extensions in VS Code (sample as below)
The notebook editor would show an error as "Missing renderer" in the output container

Users now install renderer extensions recommended by the marketplace (for example https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter-renderers)
The outputs are not re-rendered.

Sample notebook: Click to expand!

{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {
    "collapsed": false
   },
   "outputs": [],
   "source": [
    "# With the release of IPython 6 (coming April 2017), there's a GeoJSON display class that allows you to visualize GeoJSON data quickly.\n",
    "# from IPython.display import GeoJSON\n",
    "# In the meantime...\n",
    "from IPython.display import display\n",
    "def GeoJSON(data, **kwargs):\n",
    "    bundle = {\n",
    "        'application/geo+json': data,\n",
    "        'text/plain': ''\n",
    "    }\n",
    "    metadata = {\n",
    "        'application/geo+json': kwargs\n",
    "    }\n",
    "    display(bundle, metadata=metadata, raw=True)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {
    "collapsed": false
   },
   "outputs": [],
   "source": [
    "data = {\"type\":\"FeatureCollection\",\"features\":[{\"type\":\"Feature\",\"properties\":{\"place\":\"The coffee bar\",\"login\":\"espresso\",\"lat\":\"38.91427\",\"lon\":\"-77.02827\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[-77.02827,38.91427]}},{\"type\":\"Feature\",\"properties\":{\"place\":\"Bistro Bohem\",\"login\":\"2027355895\",\"lat\":\"38.91538\",\"lon\":\"-77.02013\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[-77.02013,38.91538]}},{\"type\":\"Feature\",\"properties\":{\"place\":\"Black Cat\",\"login\":\"luckycat\",\"lat\":\"38.91458\",\"lon\":\"-77.03155\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[-77.03155,38.91458]}},{\"type\":\"Feature\",\"properties\":{\"place\":\"Snap\",\"login\":\"nutella1\",\"lat\":\"38.92239\",\"lon\":\"-77.04227\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[-77.04227,38.92239]}},{\"type\":\"Feature\",\"properties\":{\"place\":\"Columbia Heights Coffee\",\"login\":\"FAIRTRADE1\",\"lat\":\"38.93222\",\"lon\":\"-77.02854\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[-77.02854,38.93222]}},{\"type\":\"Feature\",\"properties\":{\"place\":\"Azi's Cafe\",\"login\":\"sunny\",\"lat\":\"38.90842\",\"lon\":\"-77.02419\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[-77.02419,38.90842]}},{\"type\":\"Feature\",\"properties\":{\"place\":\"Blind Dog Cafe\",\"login\":\"baxtercantsee\",\"lat\":\"38.91931\",\"lon\":\"-77.02518\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[-77.02518,38.91931]}},{\"type\":\"Feature\",\"properties\":{\"place\":\"Le Caprice\",\"login\":\"baguette\",\"lat\":\"38.93260\",\"lon\":\"-77.03304\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[-77.03304,38.9326]}},{\"type\":\"Feature\",\"properties\":{\"place\":\"Filter\",\"login\":\"\",\"lat\":\"38.91368\",\"lon\":\"-77.04509\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[-77.04509,38.91368]}},{\"type\":\"Feature\",\"properties\":{\"place\":\"Peregrine\",\"login\":\"espresso\",\"lat\":\"38.88516\",\"lon\":\"-76.99656\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[-76.99656,38.88516]}},{\"type\":\"Feature\",\"properties\":{\"place\":\"Tryst\",\"login\":\"coupetnt\",\"lat\":\"38.921894\",\"lon\":\"-77.042438\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[-77.042438,38.921894]}},{\"type\":\"Feature\",\"properties\":{\"place\":\"The Coupe\",\"login\":\"voteforus\",\"lat\":\"38.93206\",\"lon\":\"-77.02821\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[-77.02821,38.93206]}},{\"type\":\"Feature\",\"properties\":{\"place\":\"Big Bear Cafe\",\"login\":\"\",\"lat\":\"38.91275\",\"lon\":\"-77.01239\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[-77.01239,38.91275]}}]}"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "data": {
      "application/geo+json": {
       "features": [
        {
         "geometry": {
          "coordinates": [
           -77.02827,
           38.91427
          ],
          "type": "Point"
         },
         "properties": {
          "lat": "38.91427",
          "login": "espresso",
          "lon": "-77.02827",
          "place": "The coffee bar"
         },
         "type": "Feature"
        },
        {
         "geometry": {
          "coordinates": [
           -77.02013,
           38.91538
          ],
          "type": "Point"
         },
         "properties": {
          "lat": "38.91538",
          "login": "2027355895",
          "lon": "-77.02013",
          "place": "Bistro Bohem"
         },
         "type": "Feature"
        },
        {
         "geometry": {
          "coordinates": [
           -77.03155,
           38.91458
          ],
          "type": "Point"
         },
         "properties": {
          "lat": "38.91458",
          "login": "luckycat",
          "lon": "-77.03155",
          "place": "Black Cat"
         },
         "type": "Feature"
        },
        {
         "geometry": {
          "coordinates": [
           -77.04227,
           38.92239
          ],
          "type": "Point"
         },
         "properties": {
          "lat": "38.92239",
          "login": "nutella1",
          "lon": "-77.04227",
          "place": "Snap"
         },
         "type": "Feature"
        },
        {
         "geometry": {
          "coordinates": [
           -77.02854,
           38.93222
          ],
          "type": "Point"
         },
         "properties": {
          "lat": "38.93222",
          "login": "FAIRTRADE1",
          "lon": "-77.02854",
          "place": "Columbia Heights Coffee"
         },
         "type": "Feature"
        },
        {
         "geometry": {
          "coordinates": [
           -77.02419,
           38.90842
          ],
          "type": "Point"
         },
         "properties": {
          "lat": "38.90842",
          "login": "sunny",
          "lon": "-77.02419",
          "place": "Azi's Cafe"
         },
         "type": "Feature"
        },
        {
         "geometry": {
          "coordinates": [
           -77.02518,
           38.91931
          ],
          "type": "Point"
         },
         "properties": {
          "lat": "38.91931",
          "login": "baxtercantsee",
          "lon": "-77.02518",
          "place": "Blind Dog Cafe"
         },
         "type": "Feature"
        },
        {
         "geometry": {
          "coordinates": [
           -77.03304,
           38.9326
          ],
          "type": "Point"
         },
         "properties": {
          "lat": "38.93260",
          "login": "baguette",
          "lon": "-77.03304",
          "place": "Le Caprice"
         },
         "type": "Feature"
        },
        {
         "geometry": {
          "coordinates": [
           -77.04509,
           38.91368
          ],
          "type": "Point"
         },
         "properties": {
          "lat": "38.91368",
          "login": "",
          "lon": "-77.04509",
          "place": "Filter"
         },
         "type": "Feature"
        },
        {
         "geometry": {
          "coordinates": [
           -76.99656,
           38.88516
          ],
          "type": "Point"
         },
         "properties": {
          "lat": "38.88516",
          "login": "espresso",
          "lon": "-76.99656",
          "place": "Peregrine"
         },
         "type": "Feature"
        },
        {
         "geometry": {
          "coordinates": [
           -77.042438,
           38.921894
          ],
          "type": "Point"
         },
         "properties": {
          "lat": "38.921894",
          "login": "coupetnt",
          "lon": "-77.042438",
          "place": "Tryst"
         },
         "type": "Feature"
        },
        {
         "geometry": {
          "coordinates": [
           -77.02821,
           38.93206
          ],
          "type": "Point"
         },
         "properties": {
          "lat": "38.93206",
          "login": "voteforus",
          "lon": "-77.02821",
          "place": "The Coupe"
         },
         "type": "Feature"
        },
        {
         "geometry": {
          "coordinates": [
           -77.01239,
           38.91275
          ],
          "type": "Point"
         },
         "properties": {
          "lat": "38.91275",
          "login": "",
          "lon": "-77.01239",
          "place": "Big Bear Cafe"
         },
         "type": "Feature"
        }
       ],
       "type": "FeatureCollection"
      }
     },
     "metadata": {
      "application/geo+json": {}
     },
     "output_type": "display_data"
    }
   ],
   "source": [
    "GeoJSON(data)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "application/geo+json": {
       "geometry": {
        "coordinates": [
         11.8,
         -45.04
        ],
        "type": "Point"
       },
       "type": "Feature"
      }
     },
     "metadata": {
      "application/geo+json": {
       "layer_options": {
        "attribution": "NASA/MOLA",
        "basemap_id": "mola-color",
        "maxZoom": 6,
        "minZoom": 0,
        "tms": true
       },
       "url_template": "http://s3-eu-west-1.amazonaws.com/whereonmars.cartodb.net/{basemap_id}/{z}/{x}/{y}.png"
      }
     },
     "output_type": "display_data"
    }
   ],
   "source": [
    "GeoJSON(data={\n",
    "    \"type\": \"Feature\",\n",
    "    \"geometry\": {\n",
    "        \"type\": \"Point\",\n",
    "        \"coordinates\": [11.8, -45.04]\n",
    "    }\n",
    "}, url_template=\"http://s3-eu-west-1.amazonaws.com/whereonmars.cartodb.net/{basemap_id}/{z}/{x}/{y}.png\", \n",
    "layer_options={\n",
    "    \"basemap_id\": \"mola-color\",\n",
    "    \"attribution\" : \"NASA/MOLA\",\n",
    "    \"tms\": True,\n",
    "    \"minZoom\" : 0,\n",
    "    \"maxZoom\" : 6\n",
    "})"
   ]
  }
 ],
 "metadata": {
  "kernel_info": {
   "name": "python3"
  },
  "kernelspec": {
   "display_name": "Python 3.9.1 ('testenv')",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.9.1"
  },
  "nteract": {
   "version": "nteract-on-jupyter@2.0.4"
  },
  "title": "Explore Your World with GeoJSON",
  "vscode": {
   "interpreter": {
    "hash": "4d5635b0b8a841083442f7889d671998dbd6678a60d22fe59973c664c8ca3f0b"
   }
  }
 },
 "nbformat": 4,
 "nbformat_minor": 1
}

I have to manually set the presentation to application/geo+json every time I run the cell when I don't yet have the proper notebook renderer installed.
The recommended extension is RandomFractalsInc.vscode-data-table. I don't get ms-toolsai.jupyter-renderers recommended.

Other than that, I do get a re-render after installing RandomFractalsInc.vscode-data-table.


text:
ContextualActionAddon registerCommandFinishedListener & getMatchActions

This has been failing the past builds:
https://dev.azure.com/monacotools/Monaco/_build/results?buildId=186621&view=logs&j=b599f925-57da-5b26-3abb-63aa7efd9fc6&t=911d52ed-2b87-5c35-1118-7c19c9674aae&l=10005
1) ContextualActionAddon
       registerCommandFinishedListener & getMatchActions
         freePort
           returns actions:

  AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:

  undefined !== 1

      at assertMatchOptions (file:///D:/a/_work/1/s/out-build/vs/workbench/contrib/terminal/test/browser/contextualActionAddon.test.js:252:34)
      at Context.<anonymous> (file:///D:/a/_work/1/s/out-build/vs/workbench/contrib/terminal/test/browser/contextualActionAddon.test.js:108:21)

First failure https://dev.azure.com/monacotools/Monaco/_build/results?buildId=186616&view=results
I don't think Windows unit tests run on PR which is how this slipped in

Yes we only run Linux in PRs for having fast turnarounds, but at this cost.

authors: Tyriar bpasero


text:
Terminal history is lost

Type: Bug
I see Terminal history is lost when IDE is left idle and reload is required.
VS Code version: Code 1.71.2 (Universal) (74b1f979648cc44d385a2286793c226e611f59e7, 2022-09-14T21:05:37.721Z)
OS version: Darwin x64 21.6.0
Modes:
Sandboxed: No
Remote OS version: Linux x64 4.18.0-305.7.1.el8_4.x86_64
Connection to 'SSH: sjc-ads-392' could not be established  Canceled
Connection to 'SSH: sjc-ads-392' could not be established  Canceled
Extensions (23)

Extension
Author (truncated)
Version

remote-containers
ms-
0.251.0

remote-ssh
ms-
0.84.0

remote-ssh-edit
ms-
0.84.0

remote-wsl
ms-
0.66.3

vscode-remote-extensionpack
ms-
0.21.0

ccls
ccl
0.1.29

baseline-coverage
cis
0.0.8

cisco-marketplace
cis
2.0.3

polaris-pack
cis
0.1.3

xdev-ai
cis
0.1.8

xdev-cscope
cis
0.0.9

xdev-indentor
cis
0.0.3

xdev-onboard
cis
0.0.8

xdev-persistent-terminal
cis
3.0.4

xdev-polaris
cis
0.1.5

xdev-polaris-builder
cis
1.4.3

xdev-pull-requests
cis
0.1.0-beta1

gitlens
eam
12.2.2

cmake-tools
ms-
1.12.27

cpptools
ms-
1.12.4

cpptools-extension-pack
ms-
1.3.0

shader
sle
1.1.5

cmake
twx
0.0.17

(2 theme extensions excluded)

Please provide a screenshot or a gif illustrating the problem (attaching images won't work via email, you need to go to github.com). See this wiki page for more general info on how to report actionable terminal issues.
/label info-needed terminal

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!

authors: VSCodeTriageBot meganrogge moumi-m


text:
Add feature to invoke Undo on a TextEditor without making it active

tl;dr: I want something like TextEditor.undo() added.
I am writing an extension that takes an existing text editor and opens a paired Webview to visually edit the text. (Text is XML representing a state chart in SCXML; webview is a graphical representation of the states and transitions.) Changes in the text editor cause the webview to update; changes in the webview cause the text editor to update via text replacement using TextEditor.edit().

If the user makes a mistake when editing the webview, I want them to be able to Undo via ctrl-z. If I issue vscode.commands.executeCommand('undo') with the Webview active, nothing happens. The user can click in the text editor and hit ctrl-z there--and it works as desired--but it's a cumbersome workflow.
If an extension is allowed to rewrite the text in a text editor, that extension should be able to Undo these changes by sending an undo command to the same editor, even if it's not focused.
As a workaround, I would even accept the extension being allowed to activated a visible text editor, if that meant I could send the command and then bring focus back to my webview.

With the help of a kind user on StackOverflow I was able to implement the workaround via:

Iterate all tab groups/tabs to find the tab associated with the text editor via URI
Use window.showTextDocument() focus that tab, using that text editor's tab's group.viewColumn to ensure it doesn't get moved or duplicated in the process.
Issue the undo command.
Iterate all tab groups/tabs to find the tab associated with the webview…which might not work for multiple.
Use WebviewPanel.reveal() with the (hopefully) correct column to bring it back into focus.

It's 29 dense lines of code—that cause the UI to flicker—for what would ideally be a single method call.

@jrieken fyi

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

authors: Phrogz VSCodeTriageBot bpasero


text:
Undo for breakpoints

Sometimes I accidentally delete a breakpoint and it takes a while to find it again. It would be really nice to have undo so I can get it back quickly. I think other users would agree.

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


text:
There is no prompt message for the JS package

Type: Bug
There is no prompt message for the JS package,i disabled all extensions t.the problem is similar to issues/122214

VS Code version: Code 1.78.2 (b3e4e68a0bc097f0ae7907b217c1119af9e03435, 2023-05-10T14:44:45.204Z)
OS version: Darwin x64 21.6.0
Modes:
Sandboxed: No

We closed this issue because it is a question about using VS Code rather than an issue or feature request. Please search for help on StackOverflow, where the community has already answered thousands of similar questions. You may find their guide on asking a new question helpful if your question has not already been asked. See also our issue reporting guidelines.
Happy Coding!

authors: VSCodeTriageBot weiminghaoo


text:
Merge editor accessibility

cc @jooyoungseo
There are two editors - one on the left, representing the incoming changes and one on the right indicating the current changes.
Below that, there is an editor which contains the results.
Some useful commands:

Merge editor: Toggle current conflict from left/right
Merge editor: accept all changes from left/right
Merge editor: compare input 1/2 from base - opens a diff editor from which the changes can be examined

Some thoughts:

Perhaps we should rename "left" / "right" and "input 1/2" to "current" / "incoming"
I am not sure how to navigate to the result editor using only the keyboard, there should be a way
In the result editor, there is a Complete Merge button. I don't see a way to access or action that via keyboard

When I apply the Complete Merge button, I'm taken to an editor with no content and it has a lock icon on the tab

Perhaps we should rename "left" / "right" and "input 1/2" to "current" / "incoming"

@meganrogge -- Totally agree with you. I had not known that incoming was on the left and the current on the right until I read your description.

Command to focus each editor input
Command to accept the merge via keybinding/command

authors: jooyoungseo meganrogge


text:
Cmd+P opens editor in first panel rather than active panel

Type: Bug
Use Cmd+P to open a file. It used to open a new tab in the current editor panel, it now opens a new tab in the first (leftmost) editor panel.
VS Code version: Code 1.78.2 (b3e4e68a0bc097f0ae7907b217c1119af9e03435, 2023-05-10T15:00:40.428Z)
OS version: Darwin arm64 22.1.0
Modes:
Sandboxed: Yes
Remote OS version: Linux arm64 5.15.49-linuxkit

System Info

Item
Value

CPUs
Apple M1 (8 x 24)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
3, 3, 4

Memory (System)
16.00GB (0.08GB free)

Process Argv
--crash-reporter-id 6602b188-5879-4a12-85ac-52ece85f1bc4

Screen Reader
no

VM
0%

Item
Value

Remote
Dev Container: perf_model dev env

OS
Linux arm64 5.15.49-linuxkit

CPUs
unknown (8 x 0)

Memory (System)
13.65GB (11.70GB free)

VM
0%

Extensions (12)

Extension
Author (truncated)
Version

better-cpp-syntax
jef
1.17.2

jupyter-keymap
ms-
1.1.0

remote-containers
ms-
0.293.0

gitlens
eam
13.6.0

vscode-clangd
llv
0.1.24

vscode-docker
ms-
1.25.1

cmake-tools
ms-
1.14.31

cpptools
ms-
1.15.4

cpptools-extension-pack
ms-
1.3.0

hexeditor
ms-
1.9.11

cmake
twx
0.0.17

markdown-all-in-one
yzh
3.5.1

(2 theme extensions excluded)

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscorecescf:30445987
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593:30376534
pythonvs932:30410667
cppdebug:30492333
vsclangdc:30486549
c4g48928:30535728
dsvsc012:30540252
pynewext54:30695312
azure-dev_surveyone:30548225
2e4cg342:30602488
pyind779:30671433
89544117:30613380
pythonsymbol12:30671437
showlangstatbar:30737416
vsctsb:30748421
pythonms35:30701012
57b77579:30736110
pythonfmttext:30731395
f8hc8238:30694864
fixshowwlkth:30730052
hidesbindicator:30730055
pythongtdpathcf:30739705

Do you have workbench.editor.revealIfOpen configured maybe?

revealIfOpen is disabled and this behavior is happening with fresh tabs not just files I already have open in the first editor pane.
From: Benjamin Pasero @.>
Date: Thursday, May 25, 2023 at 12:09 PM
To: microsoft/vscode @.>
Cc: Chris Reynia @.>, Author @.>
Subject: Re: [microsoft/vscode] Cmd+P opens editor in first panel rather than active panel (Issue #183450)
[This email originated from outside d-Matrix Corporation.]
Do you have workbench.editor.revealIfOpen configured maybe?
—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/vscode/issues/183450#issuecomment-1563309265, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXU5NZFES6FSTJWQUGVO7ILXH6N3ZANCNFSM6AAAAAAYPD2JBE.
You are receiving this because you authored the thread.Message ID: @.***>

This is happening on a remote container (local docker), and doesn't repro on a different project which is running locally.
settings.json in the failing workspace:
{
    "editor.tabSize": 2,
    "git.rebaseWhenSync": true,
    "cmake.sourceDirectory": "${workspaceFolder}/src",
    "cmake.buildDirectory": "${workspaceFolder}/build_${buildType}",
    "cmake.buildBeforeRun": false,
    "clangd.arguments": [
        "-background-index",
        "-compile-commands-dir=build"
    ],
    "C_Cpp.clang_format_fallbackStyle": "{ ColumnLimit: 80 }",
    "testExplorer.useNativeTesting":true,
    "cmakeExplorer.debugConfig":"test_dbg_cfg",
    "files.associations": {
        "array": "cpp",
        "atomic": "cpp",
        "strstream": "cpp",
        "bit": "cpp",
        "*.tcc": "cpp",
        "cctype": "cpp",
        "cinttypes": "cpp",
        "clocale": "cpp",
        "cmath": "cpp",
        "cstdarg": "cpp",
        "cstddef": "cpp",
        "cstdint": "cpp",
        "cstdio": "cpp",
        "cstdlib": "cpp",
        "cstring": "cpp",
        "cwchar": "cpp",
        "cwctype": "cpp",
        "deque": "cpp",
        "map": "cpp",
        "unordered_map": "cpp",
        "vector": "cpp",
        "exception": "cpp",
        "algorithm": "cpp",
        "functional": "cpp",
        "iterator": "cpp",
        "memory": "cpp",
        "memory_resource": "cpp",
        "numeric": "cpp",
        "optional": "cpp",
        "random": "cpp",
        "string": "cpp",
        "string_view": "cpp",
        "system_error": "cpp",
        "tuple": "cpp",
        "type_traits": "cpp",
        "utility": "cpp",
        "fstream": "cpp",
        "initializer_list": "cpp",
        "iosfwd": "cpp",
        "iostream": "cpp",
        "istream": "cpp",
        "limits": "cpp",
        "new": "cpp",
        "ostream": "cpp",
        "sstream": "cpp",
        "stdexcept": "cpp",
        "streambuf": "cpp",
        "typeindex": "cpp",
        "typeinfo": "cpp",
        "list": "cpp",
        "unordered_set": "cpp",
        "regex": "cpp",
        "chrono": "cpp",
        "condition_variable": "cpp",
        "mutex": "cpp",
        "thread": "cpp",
        "systemc": "cpp",
        "tlm": "cpp",
        "any": "cpp",
        "bitset": "cpp",
        "cassert": "cpp",
        "cerrno": "cpp",
        "cfloat": "cpp",
        "charconv": "cpp",
        "ciso646": "cpp",
        "climits": "cpp",
        "csignal": "cpp",
        "ctime": "cpp",
        "set": "cpp",
        "ratio": "cpp",
        "future": "cpp",
        "iomanip": "cpp",
        "ios": "cpp",
        "locale": "cpp",
        "queue": "cpp",
        "shared_mutex": "cpp",
        "stack": "cpp",
        "variant": "cpp",
        "complex": "cpp",
        "spike": "cpp",
        "socket": "cpp",
        "internet": "cpp",
        "io_context": "cpp"
    },
    "window.zoomLevel": 1,
    "editor.mouseWheelZoom": false
}

Thanks for trying to help me out. Sometime in the past couple days it started behaving as expected again. I didn't update vscode, but I have rebuilt the docker container (and so I think must have picked up a newer version of an in-container extension). Thanks again, closing.

authors: bpasero creynia-dmatrix


text:
Inlay hints do not show when using Workspace TypeScript version

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.82.2
OS Version: macOS 13.5.2

Steps to Reproduce:

Have a .vscode/settings.json with

{
    "typescript.tsdk": "node_modules/typescript/lib",
}

Command Palette -> 'TypeScript: Select TypeScript Version'. Choose between workspace + default VS code version

When default TS version is selected (5.2.2):

When workspace TS is selected (4.0.8):

However, TS definitely knows what type it is, since when I hover over, it displays the type correctly:

That version doesn't support inline hints, they were added in 4.4


text:
"Failed to load resource" with 401 on a file that exists and should be accessible

Getting Failed to load resource: the server responded with a status of 401 () on a file/resource that exists and should be accessible.

This was triggered by pinning a view for an extension as an editor tab (in this case, commit graph of GitLens), upgrading the extension (or switching from release to pre-release or vise versa), and reloading VS Code.
Version: 1.83.1 (user setup)
Commit: f1b07bd25dfad64b0167beb15359ae573aecd2cc
Date: 2023-10-10T23:48:05.904Z
Electron: 25.8.4
ElectronBuildId: 24154031
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Windows_NT x64 10.0.19045

I'm running into the same issue right now, trying to create a new extension. if anyone has a workaround for it, ping me. thanks

Please start by filing this against gitlens

@mjbvz this is from the GitLens team. VS Code seems to be failing to load the js in this scenario and GitLens isn't really involved in that flow.

Please provide a minimal repo then (one not using gitlens)

We are experiencing the same issue on the Asciidoctor VS Code Extension.
You can reproduce this issue using version 3.1.8 of the Asciidoctor VS Code Extension (using Windows)

Create a folder named A

In the A folder:

Add image named mountain.jpeg
Create a file named index.adoc with the following content:

image:mountain.jpeg[]

Open a terminal (PowerShell)

Navigate to the A folder and run code .

Open index.adoc and use the command "AsciiDoc: Open Preview to the Side"

The HTML in the WebView is <img src="mountain.jpeg" alt="mountain">.
Please note that the exact same request works in the Markdown Extension:

It's also interesting to note that if I open the A folder using a new VS Code Window, then "File > Open Folder..." it does work!
https://github.com/microsoft/vscode/assets/333276/a2145871-d40f-4ae2-86ed-33b9ccaf4fcf
https://github.com/asciidoctor/asciidoctor-vscode/issues/819

Same here. In all of the Antora projects I work on the, the asciidoctor extension no loner shows images. They're all blocked with 401 Unauthorized.

@mjbvz I think I found the root cause. The following line returns undefined:
const resourceToLoad = getResourceToLoad(requestUri, options.roots);

https://github.com/microsoft/vscode/blob/b1cddfafe0c054fbeb346a3d3dc9a58f504eb55b/src/vs/workbench/contrib/webview/browser/resourceLoading.ts#L57
In my case, options.root is equals to:
[
    {
        "$mid": 1,
        "fsPath": "c:\\Users\\gross\\.vscode\\extensions\\asciidoctor.asciidoctor-vscode-3.1.8\\media",
        "_sep": 1,
        "external": "file:///c%3A/Users/gross/.vscode/extensions/asciidoctor.asciidoctor-vscode-3.1.8/media",
        "path": "/c:/Users/gross/.vscode/extensions/asciidoctor.asciidoctor-vscode-3.1.8/media",
        "scheme": "file"
    },
    {
        "$mid": 1,
        "fsPath": "c:\\Users\\gross\\.vscode\\extensions\\asciidoctor.asciidoctor-vscode-3.1.8\\dist",
        "_sep": 1,
        "external": "file:///c%3A/Users/gross/.vscode/extensions/asciidoctor.asciidoctor-vscode-3.1.8/dist",
        "path": "/c:/Users/gross/.vscode/extensions/asciidoctor.asciidoctor-vscode-3.1.8/dist",
        "scheme": "file"
    },
    {
        "$mid": 1,
        "fsPath": "c:\\users\\gross\\documents\\a",
        "_sep": 1,
        "external": "file:///c%3A/users/gross/documents/a",
        "path": "/c:/users/gross/documents/a",
        "scheme": "file"
    }
]

As you can see, the folder "a" is in lowercase but the requestUri is using "A" uppercase:
{
    "$mid": 1,
    "fsPath": "c:\\Users\\gross\\Documents\\A\\mountain.jpeg",
    "_sep": 1,
    "external": "file:///c%3A/Users/gross/Documents/A/mountain.jpeg",
    "path": "/c:/Users/gross/Documents/A/mountain.jpeg",
    "scheme": "file"
}

As far as I know, URI are case sensitive but Windows is case-insensitive. I believe that the correct URI in options.root should be:
    {
        "$mid": 1,
        "fsPath": "c:\\users\\gross\\documents\\A",
        "_sep": 1,
        "external": "file:///c%3A/users/gross/documents/A",
        "path": "/c:/users/gross/documents/A",
        "scheme": "file"
    }

fsPath could either use a or A since Windows is case insensitive but for consistency it should probably use A.

I forgot to mention that when it works it's because we are in a workspace and somehow the image is cached! So it returns a 304.

It's actually a bug in the Asciidoctor Extension where we apply toLowerCase on the path 😥

@eamodio could you please check if this applies to Gitlens too ?

In GitLens this is a narrow case. It happens when users have a webview open, upgrade GitLens to a new version, and reload VS Code. On that first reload the webview fails to be restored properly -- vscode restores it but my guess it tries to restore the js bundle from the old extension location, not the new one.
If the user closes the webview and reopens it everything works from then on until the next upgrade.

My guess is that the localResourceRoots on the WebView is configured to: /c:/Users/<user>/.vscode/extensions/<path-to-gitlens-with-version>/dist. For instance:
/c:/Users/<user>/.vscode/extensions/eamodio.gitlens-2023.10.3105/dist

When you install a new version, let's say 2023.11.1914, the WebView won't allow to load assets from /c:/Users/<user>/.vscode/extensions/eamodio.gitlens-2023.11.1914/dist since only /c:/Users/<user>/.vscode/extensions/eamodio.gitlens-2023.10.3105/dist is configured as loadResourceRoots (hence the 401).
Not sure what's the best approach here. Should extensions forcibly recreate WebView when the extension is updated? Should VS code take care of it? Should we allow regular expression/glob pattern in localResourceRoots to prevent issues (i.e., eamodio.gitlens-.*).

Great investigation and finds!

Should extensions forcibly recreate WebView when the extension is updated

@eamodio  @axosoft-ramint Can you try setting localResourceRoots when restoring the webview too?
I'm hesitant to adding logic on the VS Code side that does this automatically as there's a chance we get this wrong. Better I think to make this explicit on the extension side, especially because the fix should be pretty easy since extensions already need to set the roots for new webviews

authors: AnouarDoukkali SaschaWillems axosoft-ramint eamodio ggrossetie mempler mjbvz


text:
"Reveal in File Explorer" not working after opening file with incomplete path via Ctrl+P

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.84.2
OS Version: Windows 10 22H2

Steps to Reproduce:

Create File C:\Tools\AutoHotKey.log (and close it)
In VS Code, press Ctrl+P
Enter \Tools\AutoHotKey.log and press enter

Note that file is opened

In tab context menu, click "Reveal in File Explorer":

Nothing happens.
Workaround:
3. Enter C:\Tools\AutoHotKey.log (note C:) and press enter. Works:

I can't seem to get Ctrl + P to even show me a result with just \Tools. What directory do you have opened with vscode?
I'm having a hard time reproducing

I can't seem to get Ctrl + P to even show me a result with just \Tools

You are absolutely right - me neither. Do keep typing until you have entered the full path to the file. However, that may not be the only reason you have a hard time reproducing this:

What directory do you have opened with vscode?

In fact, I forgot to mention I am using a multi-root workspace with
        {
            "name": "Tools",
            "path": "C:/Tools",
        },

(although I can reproduce the same problem simply by opening C:\Tools as a folder).

Hey @lramos15, this issue might need further attention.
@bersbersbers, you can help us out by closing this issue if the problem no longer exists, or adding more information.

Not sure what other information is needed. I can reproduce the issue using the above steps.

I just still haven't been able to reproduce this, and haven't seen other reports. That's all. No real further information needed just kind of stuck

I see. I must admit my repro steps are somewhat all over the place, so here's clean ones. Just validated again on a different system (Windows 11 23H2). There is no symlinks involved, nothing special as far as I can see:
C:\>mkdir Bug

C:\>echo > Bug\file

C:\>echo { "name": "Bug", "path": "C:/Bug" } > Bug\Bug.code-workspace

C:\>code Bug\Bug.code-workspace

Press Ctrl-P, Enter \bug\file (keep typing! you will not get autocomplete, and you will only see a result once you have typed the final e!)

Open the file, then "Reveal in File Explorer":

Nothing happens.
Repeat the same with C:\bug\file, and it opens a second file:

"Reveal in File Explorer" works for this one.

Maybe it's a windows things, I will have to get a windows machine and try it. I just cannot get an incomplete path to open on my mac

authors: VSCodeTriageBot bersbersbers lramos15


text:
CodeAnalysis.LanguageServer: Connection to server is erroring

Issue Description
Client Microsoft.CodeAnalysis.LanguageServer: connection to server is erroring. Shutting down server.
Steps to Reproduce
Expected Behavior
Actual Behavior
Logs
Using dotnet configured on PATH
Dotnet path: C:\Program Files\dotnet\dotnet.exe
Activating C# + C# Dev Kit + C# IntelliCode...
Starting server at c:\Users\niu48.vscode\extensions\ms-dotnettools.csharp-2.14.8-win32-x64.roslyn\Microsoft.CodeAnalysis.LanguageServer.dll
Server arguments c:\Users\niu48.vscode\extensions\ms-dotnettools.csharp-2.14.8-win32-x64.roslyn\Microsoft.CodeAnalysis.LanguageServer.dll --logLevel Trace --starredCompletionComponentPath c:\Users\niu48.vscode\extensions\ms-dotnettools.vscodeintellicode-csharp-0.1.26-win32-x64\components\starred-suggestions\node_modules@vsintellicode\starred-suggestions-csharp --extension c:\Users\niu48.vscode\extensions\ms-dotnettools.csharp-2.14.8-win32-x64.roslynDevKit\Microsoft.VisualStudio.LanguageServices.DevKit.dll --sessionId 3d50dfe3-b59f-460b-ac42-957620d3c4911703743757342 --telemetryLevel all --extensionLogDirectory c:\Users\niu48\AppData\Roaming\Code\logs\20231228T140916\window1\exthost\ms-dotnettools.csharp
waiting for named pipe information from server...
[stdout] trce: Program[0]
.NET Runtime Version: .NET 7.0.11
[stdout] dbug: LanguageServerWorkspaceFactory[0]
Solution-level analyzer at c:\Users\niu48.vscode\extensions\ms-dotnettools.csharp-2.14.8-win32-x64.roslyn\Microsoft.CodeAnalysis.AnalyzerUtilities.dll added to workspace.
[stdout] dbug: LanguageServerWorkspaceFactory[0]
Solution-level analyzer at c:\Users\niu48.vscode\extensions\ms-dotnettools.csharp-2.14.8-win32-x64.roslyn\Microsoft.CodeAnalysis.CSharp.dll added to workspace.
dbug: LanguageServerWorkspaceFactory[0]
Solution-level analyzer at c:\Users\niu48.vscode\extensions\ms-dotnettools.csharp-2.14.8-win32-x64.roslyn\Microsoft.CodeAnalysis.CSharp.Features.dll added to workspace.
[stdout] dbug: LanguageServerWorkspaceFactory[0]
Solution-level analyzer at c:\Users\niu48.vscode\extensions\ms-dotnettools.csharp-2.14.8-win32-x64.roslyn\Microsoft.CodeAnalysis.CSharp.Workspaces.dll added to workspace.
dbug: LanguageServerWorkspaceFactory[0]
Solution-level analyzer at c:\Users\niu48.vscode\extensions\ms-dotnettools.csharp-2.14.8-win32-x64.roslyn\Microsoft.CodeAnalysis.dll added to workspace.
dbug: LanguageServerWorkspaceFactory[0]
Solution-level analyzer at c:\Users\niu48.vscode\extensions\ms-dotnettools.csharp-2.14.8-win32-x64.roslyn\Microsoft.CodeAnalysis.Elfie.dll added to workspace.
dbug: LanguageServerWorkspaceFactory[0]
Solution-level analyzer at c:\Users\niu48.vscode\extensions\ms-dotnettools.csharp-2.14.8-win32-x64.roslyn\Microsoft.CodeAnalysis.ExternalAccess.AspNetCore.dll added to workspace.
[stdout] dbug: LanguageServerWorkspaceFactory[0]
Solution-level analyzer at c:\Users\niu48.vscode\extensions\ms-dotnettools.csharp-2.14.8-win32-x64.roslyn\Microsoft.CodeAnalysis.ExternalAccess.RazorCompiler.dll added to workspace.
dbug: LanguageServerWorkspaceFactory[0]
Solution-level analyzer at c:\Users\niu48.vscode\extensions\ms-dotnettools.csharp-2.14.8-win32-x64.roslyn\Microsoft.CodeAnalysis.Features.dll added to workspace.
dbug: LanguageServerWorkspaceFactory[0]
Solution-level analyzer at c:\Users\niu48.vscode\extensions\ms-dotnettools.csharp-2.14.8-win32-x64.roslyn\Microsoft.CodeAnalysis.Razor.Compiler.CSharp.dll added to workspace.
dbug: LanguageServerWorkspaceFactory[0]
Solution-level analyzer at c:\Users\niu48.vscode\extensions\ms-dotnettools.csharp-2.14.8-win32-x64.roslyn\Microsoft.CodeAnalysis.Razor.Compiler.Language.dll added to workspace.
dbug: LanguageServerWorkspaceFactory[0]
Solution-level analyzer at c:\Users\niu48.vscode\extensions\ms-dotnettools.csharp-2.14.8-win32-x64.roslyn\Microsoft.CodeAnalysis.Razor.Compiler.Mvc.dll added to workspace.
[stdout] dbug: LanguageServerWorkspaceFactory[0]
Solution-level analyzer at c:\Users\niu48.vscode\extensions\ms-dotnettools.csharp-2.14.8-win32-x64.roslyn\Microsoft.CodeAnalysis.Razor.Compiler.Mvc.Version1_X.dll added to workspace.
dbug: LanguageServerWorkspaceFactory[0]
Solution-level analyzer at c:\Users\niu48.vscode\extensions\ms-dotnettools.csharp-2.14.8-win32-x64.roslyn\Microsoft.CodeAnalysis.Razor.Compiler.Mvc.Version2_X.dll added to workspace.
dbug: LanguageServerWorkspaceFactory[0]
Solution-level analyzer at c:\Users\niu48.vscode\extensions\ms-dotnettools.csharp-2.14.8-win32-x64.roslyn\Microsoft.CodeAnalysis.Remote.Workspaces.dll added to workspace.
dbug: LanguageServerWorkspaceFactory[0]
Solution-level analyzer at c:\Users\niu48.vscode\extensions\ms-dotnettools.csharp-2.14.8-win32-x64.roslyn\Microsoft.CodeAnalysis.Scripting.dll added to workspace.
dbug: LanguageServerWorkspaceFactory[0]
Solution-level analyzer at c:\Users\niu48.vscode\extensions\ms-dotnettools.csharp-2.14.8-win32-x64.roslyn\Microsoft.CodeAnalysis.Workspaces.dll added to workspace.
dbug: LanguageServerWorkspaceFactory[0]
Solution-level analyzer at c:\Users\niu48.vscode\extensions\ms-dotnettools.csharp-2.14.8-win32-x64.roslyn\Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.dll added to workspace.
[stdout] dbug: LanguageServerWorkspaceFactory[0]
Solution-level analyzer at c:\Users\niu48.vscode\extensions\ms-dotnettools.csharp-2.14.8-win32-x64.roslyn\Microsoft.CodeAnalysis.Workspaces.MSBuild.dll added to workspace.
[stdout] {"pipeName":"\\.\pipe\31ffed38"}
received named pipe information from server
attempting to connect client to server...
client has connected to server
[LanguageServerHost] [06:10:38.375][Start]textDocument/codeAction
[LanguageServerHost] textDocument/codeAction - Canceled
[LanguageServerHost] [06:10:38.375][End]textDocument/codeAction
[LanguageServerHost] [06:10:38.406][End]textDocument/codeAction
[stderr] Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at System.Collections.Generic.Dictionary2[[System.__Canon, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[Microsoft.CodeAnalysis.Collections.OrderPreservingMultiDictionary2+ValueSet[[System.__Canon, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Microsoft.CodeAnalysis.Workspaces, Version=4.9.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].FindValue(System.__Canon)
at Microsoft.CodeAnalysis.FindSymbols.SymbolTreeInfo+MetadataInfoCreator.PopulateInheritance(System.Reflection.Metadata.MetadataReader, System.String, System.Reflection.Metadata.EntityHandle)
at Microsoft.CodeAnalysis.FindSymbols.SymbolTreeInfo+MetadataInfoCreator.PopulateInheritance(System.Reflection.Metadata.MetadataReader, MetadataDefinition)
at Microsoft.CodeAnalysis.FindSymbols.SymbolTreeInfo+MetadataInfoCreator.PopulateInheritanceMap(System.Reflection.Metadata.MetadataReader)
at Microsoft.CodeAnalysis.FindSymbols.SymbolTreeInfo+MetadataInfoCreator.Create()
at Microsoft.CodeAnalysis.FindSymbols.SymbolTreeInfo+<>c__DisplayClass45_1.b__6(Microsoft.CodeAnalysis.Checksum)
at Microsoft.CodeAnalysis.FindSymbols.SymbolTreeInfo+d__56.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[Microsoft.CodeAnalysis.FindSymbols.SymbolTreeInfo+d__56, Microsoft.CodeAnalysis.Workspaces, Version=4.9.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__56 ByRef)
[stderr]    at Microsoft.CodeAnalysis.FindSymbols.SymbolTreeInfo.LoadOrCreateAsync(Microsoft.CodeAnalysis.Host.SolutionServices, Microsoft.CodeAnalysis.Storage.SolutionKey, Microsoft.CodeAnalysis.Checksum, System.Func2<Microsoft.CodeAnalysis.Checksum,System.Threading.Tasks.ValueTask1<Microsoft.CodeAnalysis.FindSymbols.SymbolTreeInfo>>, System.String, System.Threading.CancellationToken)
at Microsoft.CodeAnalysis.FindSymbols.SymbolTreeInfo+<>c__DisplayClass45_1.b__5(System.Threading.CancellationToken)
at Roslyn.Utilities.AsyncLazy1[[System.__Canon, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].StartAsynchronousComputation(AsynchronousComputationToStart<System.__Canon>, Request<System.__Canon>, System.Threading.CancellationToken)    at Roslyn.Utilities.AsyncLazy1[[System.__Canon, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].GetValueAsync(System.Threading.CancellationToken)
at Microsoft.CodeAnalysis.FindSymbols.SymbolTreeInfo+<g__CreateMetadataSymbolTreeInfoAsync|45_1>d.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[Microsoft.CodeAnalysis.FindSymbols.SymbolTreeInfo+<g__CreateMetadataSymbolTreeInfoAsync|45_1>d, Microsoft.CodeAnalysis.Workspaces, Version=4.9.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](<g__CreateMetadataSymbolTreeInfoAsync|45_1>d ByRef)
at Microsoft.CodeAnalysis.FindSymbols.SymbolTreeInfo.g__CreateMetadataSymbolTreeInfoAsync|45_1(Microsoft.CodeAnalysis.Host.SolutionServices, Microsoft.CodeAnalysis.Storage.SolutionKey, Microsoft.CodeAnalysis.PortableExecutableReference, Microsoft.CodeAnalysis.Checksum, System.Threading.CancellationToken)
at Microsoft.CodeAnalysis.FindSymbols.SymbolTreeInfo+<>c__DisplayClass45_0.b__3(System.Threading.CancellationToken)
at Roslyn.Utilities.AsyncLazy1[[System.__Canon, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].StartAsynchronousComputation(AsynchronousComputationToStart<System.__Canon>, Request<System.__Canon>, System.Threading.CancellationToken)    at Roslyn.Utilities.AsyncLazy1[[System.__Canon, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].GetValueAsync(System.Threading.CancellationToken)
at Microsoft.CodeAnalysis.FindSymbols.SymbolTreeInfo+<g__GetInfoForMetadataReferenceSlowAsync|45_0>d.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[Microsoft.CodeAnalysis.FindSymbols.SymbolTreeInfo+<g__GetInfoForMetadataReferenceSlowAsync|45_0>d, Microsoft.CodeAnalysis.Workspaces, Version=4.9.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](<g__GetInfoForMetadataReferenceSlowAsync|45_0>d ByRef)
at Microsoft.CodeAnalysis.FindSymbols.SymbolTreeInfo.g__GetInfoForMetadataReferenceSlowAsync|45_0(Microsoft.CodeAnalysis.Host.SolutionServices, Microsoft.CodeAnalysis.Storage.SolutionKey, Microsoft.CodeAnalysis.PortableExecutableReference, Microsoft.CodeAnalysis.Checksum, System.Threading.CancellationToken)
at Microsoft.CodeAnalysis.FindSymbols.SymbolTreeInfo+d__45.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[Microsoft.CodeAnalysis.FindSymbols.SymbolTreeInfo+d__45, Microsoft.CodeAnalysis.Workspaces, Version=4.9.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](d__45 ByRef)
at Microsoft.CodeAnalysis.FindSymbols.SymbolTreeInfo.GetInfoForMetadataReferenceAsync(Microsoft.CodeAnalysis.Host.SolutionServices, Microsoft.CodeAnalysis.Storage.SolutionKey, Microsoft.CodeAnalysis.PortableExecutableReference, System.Nullable1<Microsoft.CodeAnalysis.Checksum>, System.Threading.CancellationToken)    at Microsoft.CodeAnalysis.FindSymbols.SymbolTree.SymbolTreeInfoCacheServiceFactory+SymbolTreeInfoCacheService+<UpdateReferenceAsync>d__16.MoveNext()    at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[Microsoft.CodeAnalysis.FindSymbols.SymbolTree.SymbolTreeInfoCacheServiceFactory+SymbolTreeInfoCacheService+<UpdateReferenceAsync>d__16, Microsoft.CodeAnalysis.Workspaces, Version=4.9.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](<UpdateReferenceAsync>d__16 ByRef)    at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[Microsoft.CodeAnalysis.FindSymbols.SymbolTree.SymbolTreeInfoCacheServiceFactory+SymbolTreeInfoCacheService+<UpdateReferenceAsync>d__16, Microsoft.CodeAnalysis.Workspaces, Version=4.9.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]](<UpdateReferenceAsync>d__16 ByRef)    at Microsoft.CodeAnalysis.FindSymbols.SymbolTree.SymbolTreeInfoCacheServiceFactory+SymbolTreeInfoCacheService.UpdateReferenceAsync(Microsoft.CodeAnalysis.Project, Microsoft.CodeAnalysis.PortableExecutableReference, System.Threading.CancellationToken)    at System.Threading.Tasks.Task1[[System.__Canon, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].InnerInvoke()
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef, System.Threading.Thread)
at System.Threading.Tasks.Task.ExecuteEntry()
at System.Threading.Tasks.ConcurrentExclusiveSchedulerPair.ProcessExclusiveTasks()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool+WorkerThread.WorkerThreadStart()
[Error - 2:10:45 PM] Client Microsoft.CodeAnalysis.LanguageServer: connection to server is erroring. Shutting down server.
[Error - 2:10:46 PM] Client Microsoft.CodeAnalysis.LanguageServer: connection to server is erroring. Shutting down server.
[Error - 2:10:46 PM] Request textDocument/codeAction failed.
Message: write EOF
Code: -32099
[Error - 2:10:46 PM] Request textDocument/definition failed.
Message: This socket has been ended by the other party
Code: -32099
[Error - 2:10:46 PM] Connection to server got closed. Server will not be restarted.
[Error - 2:10:46 PM] Request textDocument/definition failed.
Message: This socket has been ended by the other party
Code: -32099
[Error - 2:10:46 PM] Sending document notification textDocument/didChange failed
Error: This socket has been ended by the other party

C# log
Post the output from Output-->C# here
C# LSP Trace Logs
Post the output from Output-->C# LSP Trace Logs here.  Requires `dotnet.server.trace` to be set to `Trace`
Environment information
VSCode version: 1.85.1
C# Extension: 2.14.8
Using OmniSharp: false
Dotnet Information
.NET SDK:
 Version:   7.0.401
 Commit:    eb26aacfec
Runtime Environment:
OS Name:     Windows
OS Version:  10.0.22621
OS Platform: Windows
RID:         win10-x64
Base Path:   C:\Program Files\dotnet\sdk\7.0.401\
Host:
Version:      7.0.11
Architecture: x64
Commit:       ecb34f85ec
.NET SDKs installed:
7.0.203 [C:\Program Files\dotnet\sdk]
7.0.401 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.22 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.11 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.11 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.16 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.22 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.11 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 6.0.11 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 6.0.22 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 7.0.5 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 7.0.11 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Other architectures found:
x86   [C:\Program Files (x86)\dotnet]
registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\InstallLocation]
Environment variables:
Not set
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download

Visual Studio Code Extensions

Extension
Author
Version
Folder Name

copilot
GitHub
1.143.0
github.copilot-1.143.0

copilot-chat
GitHub
0.11.1
github.copilot-chat-0.11.1

cscurlyformatter
Ironcutter24
0.0.7
ironcutter24.cscurlyformatter-0.0.7

csdevkit
ms-dotnettools
1.1.16
ms-dotnettools.csdevkit-1.1.16-win32-x64

csharp
ms-dotnettools
2.14.8
ms-dotnettools.csharp-2.14.8-win32-x64

unity-code-snippets
kleber-swf
2.2.5
kleber-swf.unity-code-snippets-2.2.5

vscode-dotnet-runtime
ms-dotnettools
2.0.0
ms-dotnettools.vscode-dotnet-runtime-2.0.0

vscodeintellicode-csharp
ms-dotnettools
0.1.26
ms-dotnettools.vscodeintellicode-csharp-0.1.26-win32-x64

vstuc
visualstudiotoolsforunity
0.9.3
visualstudiotoolsforunity.vstuc-0.9.3

I use c# extension to write c# code in unity, but after I use a few time, the server is erroring and I have to reopen my window to reconnect the server.

/extC#

It looks like this is caused by the C# extension. Please file the issue to the C# extension repository. Make sure to check their issue reporting template and provide them relevant information such as the extension version you're using. See also our issue reporting guidelines for more information.
Happy Coding!


text:
The TypeScript language service died unexpectedly 5 times in the last 5 Minutes.

Issue Type: Bug
The TypeScript language service died unexpectedly 5 times in the last 5 Minutes message. And typescript is loading all the time
VS Code version: Code 1.69.2 (Universal) (3b889b090b5ad5793f524b5d1d39fda662b96a2a, 2022-07-18T16:12:57.074Z)
OS version: Darwin arm64 23.2.0
Restricted Mode: No

System Info

Item
Value

CPUs
Apple M1 Max (10 x 24)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
7, 5, 5

Memory (System)
32.00GB (0.94GB free)

Process Argv
--crash-reporter-id 9033649b-3858-4c7c-9c08-e58a0bdd8b0a

Screen Reader
no

VM
0%

Extensions (10)

Extension
Author (truncated)
Version

jsoncrack-vscode
Ayk
2.0.2

vscode-eslint
dba
2.4.4

gitlens
eam
12.2.2

prettier-vscode
esb
10.1.0

vscode-jest-runner
fir
0.4.48

todo-tree
Gru
0.0.218

playwright
ms-
1.0.10

vsliveshare
ms-
1.0.5762

vscode-jest
Ort
5.2.3

vscode-mdx
uni
1.4.0

A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
vscorecescf:30445987
vscod805cf:30301675
binariesv615:30325510
vsaa593:30376534
py29gd2263:30899288
vscaat:30438848
c4g48928:30535728
azure-dev_surveyonecf:30548226
962ge761:30959799
pythongtdpath:30769146
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
pythontbext0:30879054
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
dsvsc019b:30953937
d34g3935:30958340
7j2b6412:30949929

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


text:
Invalid debug adapter

Error: Invalid debug adapter
at h.p in src/vs/workbench/api/browser/mainThreadDebugService.ts:390:10
at h.$acceptDAError in src/vs/workbench/api/browser/mainThreadDebugService.ts:380:8
at f.S in src/vs/workbench/services/extensions/common/rpcProtocol.ts:458:17
at f.Q in src/vs/workbench/services/extensions/common/rpcProtocol.ts:443:32
at f.M in src/vs/workbench/services/extensions/common/rpcProtocol.ts:373:19
at f.L in src/vs/workbench/services/extensions/common/rpcProtocol.ts:299:10
at l.value in src/vs/workbench/services/extensions/common/rpcProtocol.ts:161:42
at o.y in src/vs/base/common/event.ts:1127:13
at o.fire in src/vs/base/common/event.ts:1158:9
at r.fire in src/vs/base/parts/ipc/common/ipc.net.ts:650:19
at j.onmessage in src/vs/workbench/services/extensions/electron-sandbox/localProcessExtensionHost.ts:376:17

Go to Errors Site

https://github.com/microsoft/vscode/issues/196948

authors: VSCodeTriageBot roblourens


text:
lots of debug decorations after making an edit

Steps to Reproduce:

start debugging your code with breakpoints
make an edit to the file file breakpoints
:bug: lots of breakpoint decorations are added everywhere. They seem to be removed on save

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!

authors: VSCodeTriageBot amunger


text:
Installer Automatically Selects Drive Not There

It always go to the E:\ drive and I don't know how to reset the installer
Does this issue occur when all extensions are disabled?: No, as it takes place in the installer

VS Code Version: 1.89.1
OS Version: Windows 11

Is there a solution to this or what?


text:
why is my code not being debugged

Type: Bug
why is my code not being debugged
VS Code version: Code 1.90.2 (5437499feb04f7a586f677b155b039bc2b3669eb, 2024-06-18T22:34:26.404Z)
OS version: Windows_NT x64 10.0.19045
Modes:

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz (4 x 2400)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
7.88GB (2.21GB free)

Process Argv
--crash-reporter-id 51afa091-775a-4419-ba6a-9da499200682

Screen Reader
no

VM
0%

Extensions (3)

Extension
Author (truncated)
Version

LiveServer
rit
5.7.9

bootstrap4-vscode
the
6.1.0

JavaScriptSnippets
xab
1.8.0

A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
2i9eh265:30646982
962ge761:30959799
pythongtdpath:30769146
welcomedialog:30910333
pythonnoceb:30805159
asynctok:30898717
pythonregdiag2:30936856
pythonmypyd1:30879173
2e7ec940:31000449
pythontbext0:30879054
accentitlementst:30995554
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
jchc7451:31067544
chatpanelc:31048052
dsvsc021:30996838
f3je6385:31013174
pythoncenvpt:31062603
a69g1124:31058053
dvdeprecation:31068756
dwnewjupytercf:31046870
legacy_priority:31082724

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.91.0. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

/needsMoreInfo
If issue is still reproducible after update, as mentioned by bot, please provide full steps to reproduce, expectations, code samples etc.

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.
Happy Coding!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!

authors: IllusionMH VSCodeTriageBot basilomija