Skip to content

Completion doesn't start after "pause refact" #7

@hazratisulton

Description

@hazratisulton

Steps to reproduce:
Checking completion - completion is working
Press "pause refact" (in Tools menu) and check - completion is not working (OK)
Press pause again - check completion.

Expected result:
Completion started and working.

Actual result:
Completion not working.
No error messages.
In console:

reloading settings Packages/User/refact.sublime-settings
reloading settings Packages/User/refact.sublime-settings

Additional info:
If you restart sublime, completion still won't work. If then press "pause refact", console will display the following:
Traceback (most recent call last): File "/snap/sublime-text/156/opt/sublime_text/Lib/python38/sublime_plugin.py", line 1704, in run_ return self.run(edit) File "/home/fupfv/.config/sublime-text/Packages/refact/__init__.py", line 128, in run refact_session_manager.get_session(self.view).clear_completion() AttributeError: 'NoneType' object has no attribute 'get_session' reloading settings Packages/User/refact.sublime-settings
If you manually change "pause_completion" setting to false in .config/sublime-text/Packages/User/refact.sublime-settings, completion will work.

Versions:
Refact 0.0.1
Sublime Text? Build 4169

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions