Skip to content

Commit

Permalink
drop: test preference customization
Browse files Browse the repository at this point in the history
Signed-off-by: vince-fugnitto <[email protected]>
  • Loading branch information
vince-fugnitto committed Aug 11, 2021
1 parent 616f4c0 commit 77ec9fb
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion examples/api-samples/src/browser/api-samples-frontend-module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,23 @@ import { bindSampleOutputChannelWithSeverity } from './output/sample-output-chan
import { bindSampleMenu } from './menu/sample-menu-contribution';
import { bindSampleFileWatching } from './file-watching/sample-file-watching-contribution';
import { bindVSXCommand } from './vsx/sample-vsx-command-contribution';
import { WorkspacePreferenceContribution } from '@theia/workspace/lib/browser';
import { PreferenceSchema } from '@theia/core/lib/browser';

import '../../src/browser/style/branding.css';

export default new ContainerModule(bind => {
export default new ContainerModule((bind, unbind, isBound, rebind) => {
bindDynamicLabelProvider(bind);
bindSampleUnclosableView(bind);
bindSampleOutputChannelWithSeverity(bind);
bindSampleMenu(bind);
bindSampleFileWatching(bind);
bindVSXCommand(bind);
bindSampleFilteredCommandContribution(bind);
rebind(WorkspacePreferenceContribution).toConstantValue({
schema: <PreferenceSchema>{
type: 'object',
properties: {}
}
});
});

0 comments on commit 77ec9fb

Please sign in to comment.