Skip to content

Commit

Permalink
Revert use of vscode.ViewColumn.Active to maintain backwards compat
Browse files Browse the repository at this point in the history
  • Loading branch information
jtanx committed Oct 7, 2017
1 parent e705911 commit 1a87fdb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Change Log
All notable changes to the "ctagsx" extension will be documented in this file.

## [1.0.5] - 2017-10-07
## Fixed
- 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)

## [1.0.4] - 2017-10-07
### Added
- Added a new command to manually enter the tag to jump to via an input prompt (default: `Ctrl+alt+t`/`Cmd+alt+t`)
Expand Down
2 changes: 1 addition & 1 deletion extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ function openAndReveal(context, editor, document, sel, doSaveState) {
}
return vscode.workspace.openTextDocument(document).then(doc => {
const showOptions = {
viewColumn: vscode.ViewColumn.Active,
viewColumn: editor ? editor.viewColumn : vscode.ViewColumn.One,
preview: vscode.workspace.getConfiguration('ctagsx').get('openAsPreview'),
selection: sel
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "ctagsx",
"displayName": "ctagsx",
"description": "A fast, cross-platform and working ctags implementation",
"version": "1.0.4",
"version": "1.0.5",
"publisher": "jtanx",
"icon": "img/logo.png",
"engines": {
Expand Down

0 comments on commit 1a87fdb

Please sign in to comment.