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

Auto indentation doesn't work #14

Open
zyavrik opened this issue Oct 2, 2013 · 14 comments
Open

Auto indentation doesn't work #14

zyavrik opened this issue Oct 2, 2013 · 14 comments

Comments

@zyavrik
Copy link

zyavrik commented Oct 2, 2013

Steps to reproduce:

  1. Type:
    function main {
    __line1;
  2. Press Enter.

Auto indentation won't work.

@Anviking
Copy link
Owner

Anviking commented Oct 4, 2013

If you end an line with a open curly bracket the next line should be automatically intended. You don't have a whitespace after it?
skarmavbild 2013-10-04 kl 09 00 27

@zyavrik
Copy link
Author

zyavrik commented Oct 4, 2013

Yes, I don't.

@ac3xx
Copy link

ac3xx commented Nov 10, 2013

I can't seem to replicate this either, unless as @Anviking says you have whitespace after the end of the curly brace.

@ndrewh
Copy link

ndrewh commented Nov 10, 2013

@altaveron Are all your files up-to-date?

@mbcoder17
Copy link

I am still having this issue...does this feature work with Swift?

@Anviking
Copy link
Owner

@mbcoder17 Hmm, actually I think auto-indentation might have been lost with the swift rewrite in v0.3

@mbcoder17
Copy link

Can it be brought back? :)

@Anviking
Copy link
Owner

Anviking commented Jun 3, 2015

Yeah, I think was something really really simple. With school (basically) finished and an upcoming WWDC I'll probably start looking at things again soon.

@mbcoder17
Copy link

Great, thanks! I'll see if I can figure it out myself too. Maybe I'll see you at WWDC! ;)

@mbcoder17
Copy link

Have you had time to implement this in the swift version? Great library!

@cyrilbarthelet
Copy link

The current version is in Swift

@mbcoder17
Copy link

@cyrilbarthelet Thank you, I know that. Please read the entire discussion next time before responding. I was asking if the auto-indentation was implemented in the swift version.

@Anviking
Copy link
Owner

@mbcoder17 Have stopped working on Chromatism, might rewrite it some time in the distant future. If you like, I think this was the latest implementation of it :)

@mbcoder17
Copy link

@Anviking I am sad to hear that, I think it is a great project and it has helped me a lot with one of my own projects! :) I was recently looking through previous versions and was able to get the indentation working. I have also made other additions such as line numbers, maybe I will fork my own version if you don't mind! Good luck on other projects!

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

No branches or pull requests

6 participants