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

Tab bringing up completion window and not putting spaces in. #12682

Open
PhilipeDE1 opened this issue May 10, 2020 · 5 comments
Open

Tab bringing up completion window and not putting spaces in. #12682

PhilipeDE1 opened this issue May 10, 2020 · 5 comments

Comments

@PhilipeDE1
Copy link

PhilipeDE1 commented May 10, 2020

Hello,
I just switched to Spyder, I really like it so far but there is on thing I dont like. I couldnt find the option that when I press tab it always puts 4 spaces there. It either brings up the completion window or it indents the whole line (when I have the "always indent" option enabled. Is there a way to change that? Its because I like putting spaces in some sections so its better readable, and having to press space so often is really annoying in my opinion. You can see what I mean in the picture.
aaaaaaaaaaaaaaaaaaaaaaaaa

@goanpeca
Copy link
Member

Hi @PhilipeDE1, thanks for the suggestion.

I can confirm this behavior:

image

and there is currently no way to disable it. We should probably have an option for enabling disabling this? What do you think @spyder-ide/core-developers ?

Screen Shot 2020-05-10 at 17 52 26

Cheers!

@bcolsen
Copy link
Member

bcolsen commented May 11, 2020

Putting in an option to disable it would be good.

Would that option also disable the tab completes in the console?

@goanpeca
Copy link
Member

Would that option also disable the tab completes in the console?

Good question!

@ccordoba12
Copy link
Member

I think the editor and console options for that should be different.

@mpeters2
Copy link

Is this ever going to be an option? I have a long-term habit of writing a line, then tabbing over to add a comment (from my old C days). But, when tab, a menu pops up, sometimes inserting a [seemingly] random word. I can sometimes short-circuit this behavior by entering a space or two, but this has been driving me nuts for some time.

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

No branches or pull requests

5 participants