File tree Expand file tree Collapse file tree 3 files changed +19
-3
lines changed
Expand file tree Collapse file tree 3 files changed +19
-3
lines changed Original file line number Diff line number Diff line change 1+ # ** v1.18.0**
2+
3+ ## What's New
4+
5+ * @JohnstonCode Added config option for showing output on startup
6+
17# ** v1.17.1**
28
39## Bug Fixes
Original file line number Diff line number Diff line change 22 "name" : " svn-scm" ,
33 "displayName" : " SVN" ,
44 "description" : " Integrated Subversion source control" ,
5- "version" : " 1.17.1 " ,
5+ "version" : " 1.18.0 " ,
66 "publisher" : " johnstoncode" ,
77 "engines" : {
88 "vscode" : " ^1.17.0"
476476 "minimum" : 1 ,
477477 "description" : " Number of commit messages to log" ,
478478 "default" : 50
479+ },
480+ "svn.showOutput" : {
481+ "type" : " boolean" ,
482+ "description" : " Show the output window when the extension starts" ,
483+ "default" : false
479484 }
480485 }
481486 }
Original file line number Diff line number Diff line change @@ -17,11 +17,16 @@ import {
1717} from "./util" ;
1818
1919async function init ( context : ExtensionContext , disposables : Disposable [ ] ) {
20+ const config = workspace . getConfiguration ( "svn" ) ;
2021 const outputChannel = window . createOutputChannel ( "Svn" ) ;
2122 disposables . push ( outputChannel ) ;
22- outputChannel . show ( ) ;
2323
24- const config = workspace . getConfiguration ( "svn" ) ;
24+ const showOutput = config . get < boolean > ( "showOutput" ) ;
25+
26+ if ( showOutput ) {
27+ outputChannel . show ( ) ;
28+ }
29+
2530 const enabled = config . get < boolean > ( "enabled" ) === true ;
2631 const pathHint = config . get < string > ( "path" ) ;
2732 const svnFinder = new SvnFinder ( ) ;
You can’t perform that action at this time.
0 commit comments