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

Visual clarity between Tab and Space characters in Moonshine-IDE editors #1238

Open
rat-moonshine opened this issue Jan 17, 2024 · 3 comments

Comments

@rat-moonshine
Copy link
Collaborator

rat-moonshine commented Jan 17, 2024

This mostly a brainstorming issue at this moment, and may needs proper planning/time-allocation when we'll really wants an implementation.

Currently, Moonshine-IDE editor not clearly describe, visually - between a Tab and a space.

In comparison with other IDE(s), distinguish Tab and space more clearly, visually, i.e.

image

We wants such clarity in Moonshine-IDE editors, as well.

@rat-moonshine rat-moonshine changed the title Visual clarity between Tab and Space keypress in Moonshine-IDE editors Visual clarity between Tab and Space characters in Moonshine-IDE editors Jan 17, 2024
@JoelProminic
Copy link
Contributor

Here are examples where mixed tabs and spaces caused us trouble: #674 , #606

This probably should be a separate issue, but we should also think about adding more control over the indentation that Moonshine uses by default (tabs vs spaces, number of spaces). In the above YML example, it would be annoying to edit with more indentation because the tab key would add a full tab instead of the standard two-space indent.

@rat-moonshine
Copy link
Collaborator Author

I see I haven't looped this with @joshtynjala , I'm doing this now. In case he has any immediate idea/thought on this.

@joshtynjala
Copy link
Collaborator

tabs-spaces

I'm personally a fan of displaying tabs and spaces differently when they are selected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Moonshine-IDE - Features
  
Awaiting triage
Development

No branches or pull requests

3 participants