Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Python files: 'def' keyword occupies whole line in TOC #139

Open
stefansimik opened this issue May 30, 2020 · 1 comment
Open

Python files: 'def' keyword occupies whole line in TOC #139

stefansimik opened this issue May 30, 2020 · 1 comment

Comments

@stefansimik
Copy link

stefansimik commented May 30, 2020

Hi,
I found sub-optimal behaviour in TOC for Python files.
The def keyword occupies separate line in long function names.

This is not optimal behavior, as it occupies whole new line in TOC
and occupies precious space
(one want to see as many functions as possible in the view without scrolling)

One screenshot says it all:

2020-05-30_110737

@hottwaj
Copy link

hottwaj commented Sep 30, 2020

Hey @stefansimik I think the problem is the combination of function name & first argument is treated as one word and so forces a line break after def?

A related issue that I think would help would be to not include arguments for functions/methods in the toc see #151

Thanks!

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

No branches or pull requests

2 participants