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

Pressing tab will not move string #498

Closed
sonulohani opened this issue Jul 12, 2020 · 3 comments
Closed

Pressing tab will not move string #498

sonulohani opened this issue Jul 12, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@sonulohani
Copy link
Contributor

Describe the bug

Please see the gif attached with this issue.

Environment

  • OS: Windows 10 2004
  • CP Editor Version: Latest master

bug

@sonulohani sonulohani added the bug Something isn't working label Jul 12, 2020
@sonulohani sonulohani changed the title Pressing tab will note move string Pressing tab will not move string Jul 12, 2020
@ouuan
Copy link
Member

ouuan commented Jul 12, 2020

It's an optional feature (#256).

@ouuan ouuan closed this as completed Jul 12, 2020
@ouuan
Copy link
Member

ouuan commented Jul 12, 2020

Do you think it should be disabled by default? I think it's rare that a closing parenthesis is at the beginning of a line, and you press Tab at the beginning of that line. How did you discover this?

@sonulohani
Copy link
Contributor Author

Hi @ouuan
I was formatting the code to see how indentation look when I split the line into multiple. The problem right now is that if i press enter before the string in our above example it doesnt provide indentation by default which is lacking. So when i pressed tab, instead of moving the string it was moving the content inside double quotes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants