Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CodeIntel broken on fresh install (maybe related to macOS Big Sur) #709

Open
zachriggle opened this issue Sep 22, 2020 · 0 comments
Open

Comments

@zachriggle
Copy link

After installation in Package Control and trying to Ctrl-Click on a variable name to jump to its definition, but I nothing happens and an exception is thrown which can be seen in the console.

Traceback (most recent call last):
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 1088, in run_
    return self.run(edit)
  File "/Users/zachriggle/Library/Application Support/Sublime Text 3/Packages/SublimeCodeIntel/SublimeCodeIntel.py", line 1613, in run
    lang = guess_lang(view, path)
  File "/Users/zachriggle/Library/Application Support/Sublime Text 3/Packages/SublimeCodeIntel/SublimeCodeIntel.py", line 459, in guess_lang
    mgr = None if settings_manager._settings_id is None else codeintel_manager()
  File "/Users/zachriggle/Library/Application Support/Sublime Text 3/Packages/SublimeCodeIntel/SublimeCodeIntel.py", line 753, in codeintel_manager
    codeintel_database_dir = os.path.expanduser(settings_manager.get("codeintel_database_dir"))
  File "./python3.3/posixpath.py", line 252, in expanduser
AttributeError: 'NoneType' object has no attribute 'startswith'

If it helps any, this happens on macOS Big Sur, with the latest CodeIntel installed via Package Control. (Package Control itself is broken on Big Sur, but there's a workaround here: https://forum.sublimetext.com/t/package-control-testing/53923)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant