File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33## [ UNRELEASED]
44
5+ - Editors opened by navigating from the results view are no longer opened in _ preview mode_ . Now they are opened as a persistent editor.
6+
57## 1.3.5 - 27 October 2020
68
79- Fix a bug where archived source folders for databases were not showing any contents.
Original file line number Diff line number Diff line change @@ -162,7 +162,13 @@ export async function showLocation(location?: Location) {
162162 const editor =
163163 editorsWithDoc . length > 0
164164 ? editorsWithDoc [ 0 ]
165- : await Window . showTextDocument ( doc , ViewColumn . One ) ;
165+ : await Window . showTextDocument (
166+ doc , {
167+ // avoid preview mode so editor is sticky and will be added to navigation and search histories.
168+ preview : false ,
169+ viewColumn : ViewColumn . One ,
170+ } ) ;
171+
166172 const range = location . range ;
167173 // When highlighting the range, vscode's occurrence-match and bracket-match highlighting will
168174 // trigger based on where we place the cursor/selection, and will compete for the user's attention.
You can’t perform that action at this time.
0 commit comments