Skip to content

Commit

Permalink
Move completion manager plugin to separate folder
Browse files Browse the repository at this point in the history
  • Loading branch information
goanpeca committed Jul 28, 2020
1 parent a3673e2 commit 6ca880f
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,8 @@ def run(self):
spyder_plugins_entry_points = [
'appearance = spyder.plugins.appearance.plugin:Appearance',
'breakpoints = spyder.plugins.breakpoints.plugin:Breakpoints',
'code_completion = spyder.plugins.completion.plugin:CompletionManager',
('code_completion = spyder.plugins.completion.manager.plugin:'
'CompletionManager'),
'core = spyder.plugins.core.plugin:Core',
'editor = spyder.plugins.editor.plugin:Editor',
'explorer = spyder.plugins.explorer.plugin:Explorer',
Expand Down
2 changes: 1 addition & 1 deletion spyder/app/mainwindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -1145,7 +1145,7 @@ def create_edit_action(text, tr_text, icon):

# Code completion client initialization
self.set_splash(_("Starting code completion manager..."))
from spyder.plugins.completion.plugin import CompletionManager
from spyder.plugins.completion.manager.plugin import CompletionManager
self.completions = CompletionManager(self)

# Outline explorer widget
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion spyder/plugins/editor/widgets/codeeditor.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
# from spyder.plugins.editor.utils.folding import IndentFoldDetector, FoldScope
from spyder.plugins.editor.utils.kill_ring import QtKillRing
from spyder.plugins.editor.utils.languages import ALL_LANGUAGES, CELL_LANGUAGES
from spyder.plugins.completion.decorators import (
from spyder.plugins.completion.manager.decorators import (
request, handles, class_register)
from spyder.plugins.editor.widgets.base import TextEditBaseWidget
from spyder.plugins.outlineexplorer.languages import PythonCFM
Expand Down
2 changes: 1 addition & 1 deletion spyder/plugins/editor/widgets/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
qtbot_module, MainWindowMock, MainWindowWidgetMock)
from spyder.plugins.editor.widgets.codeeditor import CodeEditor
from spyder.plugins.editor.widgets.editor import EditorStack
from spyder.plugins.completion.plugin import CompletionManager
from spyder.plugins.completion.manager.plugin import CompletionManager
from spyder.plugins.explorer.widgets.tests.conftest import create_folders_files
from spyder.py3compat import PY2, to_text_string
from spyder.widgets.findreplace import FindReplace
Expand Down
2 changes: 1 addition & 1 deletion spyder/plugins/projects/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
from spyder.plugins.projects.widgets.projectdialog import ProjectDialog
from spyder.plugins.completion.languageserver import (
LSPRequestTypes, FileChangeType, WorkspaceUpdateKind)
from spyder.plugins.completion.decorators import (
from spyder.plugins.completion.manager.decorators import (
request, handles, class_register)


Expand Down

0 comments on commit 6ca880f

Please sign in to comment.