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

Support for inline defs, ifs, and fors #1679

Closed
spyder-bot opened this issue Feb 17, 2015 · 2 comments
Closed

Support for inline defs, ifs, and fors #1679

spyder-bot opened this issue Feb 17, 2015 · 2 comments

Comments

@spyder-bot
Copy link
Collaborator

From sankey...@gmail.com on 2013-12-16T11:32:07Z

Spyder 2.2.5, Windows 7, python 2.7

One minor bug is whenever I try to type an inline statement such as

for n in range(10): print n

It adds a colon at the end of the line and thinks it should indent. Same goes for inline function defs, ifs, whiles, etc...

I use this kind of thing a lot because it helps line up code and make it readable.

Cheers!

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1679

@goanpeca
Copy link
Member

goanpeca commented Apr 8, 2015

We should change the title of this issue, it is misleading.

More like... Editor incorrectly adds colon and indentation at the end of inline defs, ifs, and fors

Should I do this sort of things directly? or you want to be asked first @ccordoba12 ?

@Nodd
Copy link
Contributor

Nodd commented Apr 8, 2015

This is a multi-duplicate:
#872
#1417
#1448

@Nodd Nodd closed this as completed Apr 8, 2015
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

4 participants