Skip to content

Commit

Permalink
Don't auto-show console
Browse files Browse the repository at this point in the history
  • Loading branch information
akbyrd committed May 1, 2019
1 parent 13efb11 commit 520c687
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"publisher": "abg",
"displayName": "C++ Code Folding",
"description": "Enable syntax-based code folding for C and C++",
"version": "0.0.1",
"version": "0.0.2",
"engines": {
"vscode": "^1.30.0"
},
Expand Down
4 changes: 2 additions & 2 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ let log: vscode.OutputChannel;

export function activate(context: vscode.ExtensionContext) {
// TODO: Dev only
let debug: boolean = true;
let debug: boolean = false;

log = vscode.window.createOutputChannel('C++ Code Folding');
log.show(debug);
Expand All @@ -27,7 +27,7 @@ export function activate(context: vscode.ExtensionContext) {
for (let error of errors) {
log.appendLine('Error: ' + error);
}
log.show(errors.length > 0);
//log.show(errors.length > 0);

// Ranges
let ranges: vscode.FoldingRange[] = result.ranges;
Expand Down
Binary file removed vsc-cpp-folding-0.0.1.vsix
Binary file not shown.

0 comments on commit 520c687

Please sign in to comment.