question-mark
Stuck on an issue?

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

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

Unable to use outline with search editor

See original GitHub issue

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

Version: 1.68.1 Commit: 30d9c6cd9483b2cc586687151bcbcd635f373630 Date: 2022-06-14T12:52:13.188Z Electron: 17.4.7 Chromium: 98.0.4758.141 Node.js: 16.13.0 V8: 9.8.177.13-electron.0 OS: Darwin x64 19.6.0

Steps to Reproduce:

  1. Search in files, and search something
  2. Click ‘Open in editor’ to open search editor
  3. When search editor is the current editor, click item in the outline panel
  4. New search editor with name ‘.’ is open, with an error message in the middle of that editor: “The editor could not be opened due to an unexpected error: Unable to resolve resource search-editor:#0.908…”

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
simonchenwastakencommented, Jul 16, 2022

That’s the bug, yes. I would take a PR but don’t know where to point you on this one off the top of my head.

Hi!! I have been looking through the source code that creates the workbench tree (for the outline pane) and can’t seem to find where the event, when the outline is created, is attached to each tree element. Would you happen to know where that is?

(The click event being to move the document to the proper location.)

0reactions
andreamahcommented, Dec 14, 2022

That’s the bug, yes. I would take a PR but don’t know where to point you on this one off the top of my head.

Hi!! I have been looking through the source code that creates the workbench tree (for the outline pane) and can’t seem to find where the event, when the outline is created, is attached to each tree element. Would you happen to know where that is?

(The click event being to move the document to the proper location.)

Registering the event that gets triggered on click of the tree elements is here: https://github.com/microsoft/vscode/blob/ab1a31add4608f484d555e3c791f03321a4dda5f/src/vs/workbench/contrib/outline/browser/outlinePane.ts#L306

But you can probably also look at how other things interact with the outline service to properly populate it with custom info. I haven’t taken too thorough of a look at the outline code yet, but I’m assuming that that’s how it would end up being like

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why can't I edit, see the outline or add comments anymore ...
I have been editing a project for the past few weeks. I still have access/it is appropriately shared with me.
Read more >
Eclipse Outline View is empty
If I right click in the class editor and select Quick Outline I get the info that used to appear in the Outline...
Read more >
Import a Word outline into PowerPoint
Open PowerPoint, and select Home > New Slide. Select Slides from Outline. In the Insert Outline dialog box, find and select your Word...
Read more >
How to Add an Outline in Google Docs
Are you unable to successfully add an outline in a Google Docs document to ... Are you new to using Google Docs or...
Read more >
How to Edit Outline of Shape in After Effects (Convert to Bezier ...
However, the path defining the outline of the shape can not be ... Using the Selection Tool the individual points on the path...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

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

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found