Skip to content

Commit

Permalink
Bundle viewlets and panels into workbench.main
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdima committed Sep 8, 2016
1 parent 6c7ce22 commit 7f875fe
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/vs/workbench/buildfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,26 +17,13 @@ function createModuleDescription(name, exclude) {

exports.collectModules = function(excludes) {
var modules = [
createModuleDescription('vs/workbench/parts/search/browser/searchViewlet', excludes),
createModuleDescription('vs/workbench/parts/search/browser/openAnythingHandler', excludes),

createModuleDescription('vs/workbench/parts/git/browser/gitViewlet', excludes),
createModuleDescription('vs/workbench/parts/git/node/gitApp', []),
createModuleDescription('vs/workbench/parts/git/node/askpass', []),

createModuleDescription('vs/workbench/parts/output/common/outputLinkComputer', ['vs/base/common/worker/simpleWorker', 'vs/editor/common/services/editorSimpleWorker']),
createModuleDescription('vs/workbench/parts/output/browser/outputPanel', excludes),

createModuleDescription('vs/workbench/parts/debug/browser/debugViewlet', excludes),
createModuleDescription('vs/workbench/parts/debug/electron-browser/repl', excludes),
createModuleDescription('vs/workbench/parts/debug/node/telemetryApp', []),

createModuleDescription('vs/workbench/parts/extensions/electron-browser/extensionsViewlet', excludes),

createModuleDescription('vs/workbench/parts/markers/browser/markersPanel', excludes),

createModuleDescription('vs/workbench/parts/terminal/electron-browser/terminalPanel', excludes),

createModuleDescription('vs/workbench/services/search/node/searchApp', []),
createModuleDescription('vs/workbench/services/files/node/watcher/unix/watcherApp', []),

Expand Down
8 changes: 8 additions & 0 deletions src/vs/workbench/workbench.main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,24 +38,32 @@ import 'vs/workbench/parts/files/browser/files.contribution';
import 'vs/workbench/parts/files/electron-browser/files.electron.contribution';

import 'vs/workbench/parts/search/browser/search.contribution';
import 'vs/workbench/parts/search/browser/searchViewlet'; // can be packaged separately
import 'vs/workbench/parts/search/browser/openAnythingHandler'; // can be packaged separately

import 'vs/workbench/parts/git/electron-browser/git.contribution';
import 'vs/workbench/parts/git/browser/gitQuickOpen';
import 'vs/workbench/parts/git/browser/gitActions.contribution';
import 'vs/workbench/parts/git/browser/gitViewlet'; // can be packaged separately

import 'vs/workbench/parts/debug/electron-browser/debug.contribution';
import 'vs/workbench/parts/debug/electron-browser/repl';
import 'vs/workbench/parts/debug/browser/debugViewlet'; // can be packaged separately

import 'vs/workbench/parts/markers/markers.contribution';
import 'vs/workbench/parts/markers/browser/markersPanel'; // can be packaged separately

import 'vs/workbench/parts/html/browser/html.contribution';

import 'vs/workbench/parts/extensions/electron-browser/extensions.contribution';
import 'vs/workbench/parts/extensions/electron-browser/extensionsQuickOpen';
import 'vs/workbench/parts/extensions/electron-browser/extensionsViewlet'; // can be packaged separately

import 'vs/workbench/parts/output/browser/output.contribution';
import 'vs/workbench/parts/output/browser/outputPanel'; // can be packaged separately

import 'vs/workbench/parts/terminal/electron-browser/terminal.contribution';
import 'vs/workbench/parts/terminal/electron-browser/terminalPanel'; // can be packaged separately

import 'vs/workbench/electron-browser/workbench';

Expand Down

0 comments on commit 7f875fe

Please sign in to comment.