0

I encountered an issue while using the Error Lens extension in Visual Studio Code. When I try to use the "Copy Problem Message" command, I get the following error popup:

enter image description here

Steps to Reproduce:

Make sure you have the ErrorLens extension installed in VSCode. Try using the "Copy Problem Message" command.

System Information:

VS Code version: 1.96.2

Error Lens version: 3.22.0

OS: Windows 11

Attempts to Fix:

Restarted VS Code.

Reinstalled the Error Lens extension.

Questions: Any idea what could be causing this? Thanks for the help.

1
  • Please, provide more details on how to reproduce the error. A step by step would be great. This "cannot read properties of undefined (reading 'document')" kind of error normally occurs because the extension expects a regular document to be focused/selected, but didn't find one. Maybe you are focused on the terminal, a side panel or even no active document. It depends entirely on how the extension handles edge cases. That's why a step by step would is so important and could give a glimpse on the issue. Commented Dec 28, 2024 at 15:21

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.