-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Shift-tab unindent vs. docstring/signature information #15901
Comments
@schmidi314 thanks for opening the issue, I believe this is a duplicate of #15821 (regression in 4.1); there is a pull request fixing it (#15898) - help in review of the PR would be appreciated! |
Ah yes, @krassowski you're right. My apologies. I didn't understand the word "dedent" :) I tried your PR via binder and it solves my problem. Thanks for tackling this! Is there anything I can do? (you mentioned help in review..??) Unfortunately I'm pretty busy these days so I couldn't really get active in this repo like I planned. |
Thanks @schmidi314! If you could leave a review comment on #15898 just saying that you tried this via binder and it does the intended thing it would already be of a help to other reviewers as they no longer need to validate that it does the thing but only to look at the code to check if it looks right. Of course if you feel like looking at the code as well and leaving any comments that would be appreciated too but I was suggesting just testing it out and leaving a comment over in the PR :) |
It is confusing with so many code verbs used for roughly the same things ("dedent", "unindent", "outdent", "indent less") |
Closing in favor of #15821. |
Description
Shift-tab has (at least) two functions: (1) unindenting one level and (2) showing signature and docstring of a function. If typed inside of an indented function
Reproduce
test(a,b)
parentheses, hit shift-tab. --> info is shown AND test is unindentedExpected behavior
Only info should be shown. NO un-indentation.
Context
The text was updated successfully, but these errors were encountered: