tintinweb / vscode-inline-bookmarks

Customizable inline Bookmarks for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=tintinweb.vscode-inline-bookmarks
GNU General Public License v3.0
45 stars 14 forks source link

Cannot read property '_uri' of undefined #33

Closed mindfulJS closed 3 years ago

mindfulJS commented 3 years ago

Bookmarks for visible editors (individual files) do not show in the latest version of VS Code 1.54.1. Error message: "Cannot read property '_uri' of undefined". But bookmarks for all files work fine.

ahmadbakhshi commented 3 years ago

same here

N-Gol commented 3 years ago

Got the same error, found that the option of showing bookmarks from open editors only is not working.

To solve change "_documentData._uri" with "document.uri" at ".vscode\extensions\tintinweb.vscode-inline-bookmarks-VERSION\src\extension.js" on line 285 and change "_visibleRanges" to "visibleRanges" on line 287 and "_documentData._uri" with "document.uri" at ".vscode\extensions\tintinweb.vscode-inline-bookmarks-VERSION\src\features\inlineBookmarks.js" on line 421

tintinweb commented 3 years ago

Sorry for the late reply on this one. Seems like vscode removed access to the _uri attribs with the latest update. Will get this out with the 0.0.21 release later today.

thanks for the reports!