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

Tabs vs spaces not always respected #95

Open
jacobweber opened this issue Sep 1, 2016 · 1 comment
Open

Tabs vs spaces not always respected #95

jacobweber opened this issue Sep 1, 2016 · 1 comment

Comments

@jacobweber
Copy link

Using Twig 2.0.0 with Eclipse 4.6.0 on Mac OS 10.11.6.

  1. In the settings for PHP, select tabs instead of spaces for indentation.
  2. Create a new Twig file.
  3. Press tab. A tab character is inserted, as expected.
  4. Type a Twig tag after the tab character, e.g. {{ foo }}
  5. Move the cursor to between the tab character and the Twig tag.
  6. Press tab again. This time four spaces are inserted.
@waveywhite
Copy link

The same problem occurs when indenting a block of code: the editor will always use spaces.

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