Skip to content

Commit 1a87fdb

Browse files
committed
Revert use of vscode.ViewColumn.Active to maintain backwards compat
1 parent e705911 commit 1a87fdb

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Change Log
22
All notable changes to the "ctagsx" extension will be documented in this file.
33

4+
## [1.0.5] - 2017-10-07
5+
## Fixed
6+
- Reverted use of `vscode.ViewColumn.Active` for backwards compatibility/minimum version mismatch (currently specifies 1.15.0 as minimum, but `vscode.ViewColumn.Active` is present only in 1.17.0)
7+
48
## [1.0.4] - 2017-10-07
59
### Added
610
- Added a new command to manually enter the tag to jump to via an input prompt (default: `Ctrl+alt+t`/`Cmd+alt+t`)

extension.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ function openAndReveal(context, editor, document, sel, doSaveState) {
230230
}
231231
return vscode.workspace.openTextDocument(document).then(doc => {
232232
const showOptions = {
233-
viewColumn: vscode.ViewColumn.Active,
233+
viewColumn: editor ? editor.viewColumn : vscode.ViewColumn.One,
234234
preview: vscode.workspace.getConfiguration('ctagsx').get('openAsPreview'),
235235
selection: sel
236236
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "ctagsx",
33
"displayName": "ctagsx",
44
"description": "A fast, cross-platform and working ctags implementation",
5-
"version": "1.0.4",
5+
"version": "1.0.5",
66
"publisher": "jtanx",
77
"icon": "img/logo.png",
88
"engines": {

0 commit comments

Comments
 (0)