Search in sources :

Example 1 with DefaultCompletionProposalFactory

use of org.python.pydev.editor.codecompletion.proposals.DefaultCompletionProposalFactory in project Pydev by fabioz.

the class PyCreateClassTest method setUp.

@Override
protected void setUp() throws Exception {
    super.setUp();
    CompletionProposalFactory.set(new DefaultCompletionProposalFactory());
}
Also used : DefaultCompletionProposalFactory(org.python.pydev.editor.codecompletion.proposals.DefaultCompletionProposalFactory)

Example 2 with DefaultCompletionProposalFactory

use of org.python.pydev.editor.codecompletion.proposals.DefaultCompletionProposalFactory in project Pydev by fabioz.

the class AssistAssignTest method setUp.

/*
     * @see TestCase#setUp()
     */
@Override
protected void setUp() throws Exception {
    super.setUp();
    assist = new AssistAssign(new CamelCodingStd());
    CompletionProposalFactory.set(new DefaultCompletionProposalFactory());
}
Also used : DefaultCompletionProposalFactory(org.python.pydev.editor.codecompletion.proposals.DefaultCompletionProposalFactory)

Example 3 with DefaultCompletionProposalFactory

use of org.python.pydev.editor.codecompletion.proposals.DefaultCompletionProposalFactory in project Pydev by fabioz.

the class AssistFStringTest method setUp.

/*
     * @see TestCase#setUp()
     */
@Override
protected void setUp() throws Exception {
    super.setUp();
    assist = new AssistFString();
    CompletionProposalFactory.set(new DefaultCompletionProposalFactory());
}
Also used : DefaultCompletionProposalFactory(org.python.pydev.editor.codecompletion.proposals.DefaultCompletionProposalFactory)

Example 4 with DefaultCompletionProposalFactory

use of org.python.pydev.editor.codecompletion.proposals.DefaultCompletionProposalFactory in project Pydev by fabioz.

the class AssistSurroundWithTest method setUp.

@Override
protected void setUp() throws Exception {
    super.setUp();
    CompletionProposalFactory.set(new DefaultCompletionProposalFactory());
}
Also used : DefaultCompletionProposalFactory(org.python.pydev.editor.codecompletion.proposals.DefaultCompletionProposalFactory)

Example 5 with DefaultCompletionProposalFactory

use of org.python.pydev.editor.codecompletion.proposals.DefaultCompletionProposalFactory in project Pydev by fabioz.

the class CodeCompletionTestsBase method setUp.

/*
     * @see TestCase#setUp()
     */
@Override
public void setUp() throws Exception {
    super.setUp();
    CompletionProposalFactory.set(new DefaultCompletionProposalFactory());
    PydevPlugin.setBundleInfo(new BundleInfoStub());
    CorePlugin.setBundleInfo(new BundleInfoStub());
    ProjectModulesManager.IN_TESTS = true;
    FileUtils.IN_TESTS = true;
    PydevTestUtils.setTestPlatformStateLocation();
}
Also used : BundleInfoStub(org.python.pydev.ui.BundleInfoStub) DefaultCompletionProposalFactory(org.python.pydev.editor.codecompletion.proposals.DefaultCompletionProposalFactory)

Aggregations

DefaultCompletionProposalFactory (org.python.pydev.editor.codecompletion.proposals.DefaultCompletionProposalFactory)14 AnalysisPreferencesStub (com.python.pydev.analysis.AnalysisPreferencesStub)1 Flake8Preferences (com.python.pydev.analysis.flake8.Flake8Preferences)1 MypyPreferences (com.python.pydev.analysis.mypy.MypyPreferences)1 PyLintPreferences (com.python.pydev.analysis.pylint.PyLintPreferences)1 File (java.io.File)1 ArrayList (java.util.ArrayList)1 HashSet (java.util.HashSet)1 List (java.util.List)1 MissingResourceException (java.util.MissingResourceException)1 ResourceBundle (java.util.ResourceBundle)1 Set (java.util.Set)1 IProject (org.eclipse.core.resources.IProject)1 IWorkspace (org.eclipse.core.resources.IWorkspace)1 ResourcesPlugin (org.eclipse.core.resources.ResourcesPlugin)1 IAdaptable (org.eclipse.core.runtime.IAdaptable)1 IConfigurationElement (org.eclipse.core.runtime.IConfigurationElement)1 IPath (org.eclipse.core.runtime.IPath)1 IProgressMonitor (org.eclipse.core.runtime.IProgressMonitor)1 IStatus (org.eclipse.core.runtime.IStatus)1