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

function does not appear in outline list if formal parameter list contains line break #100

Open
gittar opened this issue Aug 26, 2017 · 1 comment
Labels

Comments

@gittar
Copy link

gittar commented Aug 26, 2017

Details about your environment

  • Brackets Version:
    1.10 experimental build
  • Brackets Outline List Version:
    1.4

What did you do? Please include the actual source code causing the issue.

def plot1(ax, X=None, C=None):
    pass

def plot2(ax, X=None, 
          C=None):
    pass

What did you expect to happen? How did you expect the Outline to look?
plot1 and plot2 appear in outline list.

What actually happened? How did the Outline actually look?
Only plot1 appeared in outline list.
Likely reason: The line break after X=None,

(the real example contains so many formal params that they do not fit in one line)

@Hirse
Copy link
Owner

Hirse commented Sep 24, 2017

Yes, that is the reason. Unfortunately based on the way functions are detected, this problem is not that easy to solve.

@Hirse Hirse added the bug label Sep 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants