Skip to content

Doesn't do anything #1

Description

@mkanet

I installed the this package on the latest ST3. When I put my cusor on any cmdlet name and select, "Document cmdlet" from the list of commands, nothing at all happens. I tried it several times. If I look at the ST console window, it just shows:

File "C:\Users\Michael\AppData\Roaming\Sublime Text 3\Packages\Powershell Help Generator\document.py", line 17, in run
cmdletName = re.search('\s_function\s_([\w\d-]+)', line_contents).group(1)
AttributeError: 'NoneType' object has no attribute 'group'
Traceback (most recent call last):
File "C:\Program Files\SublimeText\sublime_plugin.py", line 549, in run_
return self.run(edit)
File "C:\Users\Michael\AppData\Roaming\Sublime Text 3\Packages\Powershell Help Generator\document.py", line 17, in run
cmdletName = re.search('\s_function\s_([\w\d-]+)', line_contents).group(1)
AttributeError: 'NoneType' object has no attribute 'group'
Traceback (most recent call last):
File "C:\Program Files\SublimeText\sublime_plugin.py", line 549, in run_
return self.run(edit)
File "C:\Users\Michael\AppData\Roaming\Sublime Text 3\Packages\Powershell Help Generator\document.py", line 17, in run
cmdletName = re.search('\s_function\s_([\w\d-]+)', line_contents).group(1)
AttributeError: 'NoneType' object has no attribute 'group'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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