contentAssist.install(new ScriptConsoleViewerWrapper(viewer, projectInterpreter));
PydevConsoleInterpreter interpreter = new PydevConsoleInterpreter();
interpreter.setConsoleCommunication(new GetCompletionsInDebug());
IContentAssistProcessor processor = new PydevConsoleCompletionProcessor(interpreter, contentAssist);
contentAssist.setContentAssistProcessor(processor, IOConsolePartition.INPUT_PARTITION_TYPE);
contentAssist.setContentAssistProcessor(processor, IOConsolePartition.OUTPUT_PARTITION_TYPE);
contentAssist.enableAutoActivation(true);
contentAssist.enableAutoInsert(false);