akalongman / akalongman/sublimetext-codeformatter

Error when running for the first time

Open
#208 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
772
Forks
128
PR merge metrics
No merged PRs in 30d

Description

I get the following error when I run for the first time:

Traceback (most recent call last):
File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 574, in run_
return self.run(edit)
File "C:\Users\Chris\AppData\Roaming\Sublime Text 3\Packages\CodeFormatter\CodeFormatter.py", line 79, in run
formatter = Formatter(self.view, file_name, syntax, saving)
File "C:\Users\Chris\AppData\Roaming\Sublime Text 3\Packages\CodeFormatter\codeformatter\formatter.py", line 59, in **init**
if ("syntaxes" in opts and opts["syntaxes"]):
TypeError: argument of type 'NoneType' is not iterable

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.