Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output in horizontal panel #2146

Merged
merged 25 commits into from
Jan 21, 2016
Merged

Output in horizontal panel #2146

merged 25 commits into from
Jan 21, 2016

Conversation

isidorn
Copy link
Contributor

@isidorn isidorn commented Jan 21, 2016

No description provided.

@isidorn isidorn added this to the Jan 2016 milestone Jan 21, 2016
@@ -45,3 +29,25 @@ registerMode({
moduleId: 'vs/workbench/parts/output/common/outputMode',
ctorName: 'OutputMode'
});

// Register Output Panel
(<panel.PanelRegistry>platform.Registry.as(panel.Extensions.Panels)).registerPanel(new panel.PanelDescriptor(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@isidorn do not forget to add the panel to the same buildfile.js where we added REPL so that the loader can load it

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bpasero for some reason it is working wihtout it also. I can add it for precaution

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thats weird, but keep in mind it has to be a built version of VS Code!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stupid me, forgot it is only in build.
✔️

options.wrappingColumn = this.defaultWrappingColumn; // otherwise make sure to restore the defaults
options.lineNumbers = this.defaultLineNumbers; // otherwise make sure to restore the defaults
}
options.wrappingColumn = this.defaultWrappingColumn; // otherwise make sure to restore the defaults
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@isidorn suggest to remove the concept of defaultWrappingColumn and defaultLineNumbers because it was only needed for the outputEditorInput and this now moved nicely into the outputPanel

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✔️

}

public dispose(): void {
this.outputPanel.dispose();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@isidorn suggest to not dispose outputPanel here, it will be handled when the compositePart is disposed

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✔️

isidorn added a commit that referenced this pull request Jan 21, 2016
@isidorn isidorn merged commit 0858ba1 into master Jan 21, 2016
@bpasero bpasero deleted the isidorn/output-panel branch February 4, 2016 07:48
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants