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

Indentations doesn't work properly #95

Open
jonteohr opened this issue Jun 26, 2017 · 1 comment
Open

Indentations doesn't work properly #95

jonteohr opened this issue Jun 26, 2017 · 1 comment

Comments

@jonteohr
Copy link

jonteohr commented Jun 26, 2017

Hello,
I seem to be experiencing some issues with tab-indentations.
When I create a method or something like that and when I press enter to create a new line; then it forgets the horizontal position of where it's supposed to be.

Not sure how to explain this.
Here's an example:

This is how it's supposed to look like

	for(new i = 1; i < MaxClients; i++) {
		continue;
	}

But this is the actual result:

	for(new i = 1; i < MaxClients; i++) {
continue;
}

I guess what I'm trying to say is that I have to manually indent each line. Something that is automatically done in most editors.

Is this a bug or is it a feature that will come later on?

EDIT

Disabling Agressive Indentation in Editor Options seems to have solved this. It should probably be disabled as default, imo!

Still, a proposal would be making the line, as shown below, be indented correctly automatically when pressing enter. Example:

	if(bool) {
		/* This is indented correctly. Maybe make it position here automatically? */
	}
@Bara
Copy link
Contributor

Bara commented Jul 15, 2017

The request from the Edit part ist nice.

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

2 participants