Skip to content

ST3 build 3088 update #37

@666CZR

Description

@666CZR

There seems to be a problem with CodeComplice on ST3 build 3088,
I'm getting lots of: (on startup)

Traceback (most recent call last):
  File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 272, in on_modified
    callback.on_modified(v)
  File "C:\Users\CZR\AppData\Roaming\Sublime Text 3\Packages\CodeComplice\CodeComplice.py", line 1516, in on_modified
    sublime_scope = getSublimeScope(view)
  File "C:\Users\CZR\AppData\Roaming\Sublime Text 3\Packages\CodeComplice\CodeComplice.py", line 416, in getSublimeScope
    return view.scope_name(pos)
  File "C:\Program Files\Sublime Text 3\sublime.py", line 737, in scope_name
    return sublime_api.view_scope_name(self.view_id, pt)
UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 18-19: invalid continuation byte

Tried to do some digging, turns out it could be a bad encoded .py file ? Of course I checked some, but all seem encoded UTF-8 (which is ok)

Win 8.1 x64, ST 3 3088, CodeComplice 1.1.3 (installed from GIT, not package manager).
Everything was fine untill the recent ST update.

Current status:

  • Autocomplete still works with proper function definition BUT, code_intel_auto_complete command stopped working, giving errors like:
+ Warning: evaluating 'numberFormat' at ajax_form.php#8: could not resolve first part of 'numberFormat'
evaluating 'numberFormat' at ajax_form.php#8: could not resolve first part of 'numberFormat'

(tested custom function numberFormat() for above example)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions