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

Includes does not keep tabs #8

Closed
juanghurtado opened this issue Feb 18, 2014 · 1 comment
Closed

Includes does not keep tabs #8

juanghurtado opened this issue Feb 18, 2014 · 1 comment

Comments

@juanghurtado
Copy link
Contributor

When including files, it should be useful to retain tab. Let me explain with an example:

describe "Unit tests", ->
  #= include "test1.coffee"
describe "Test 1", ->
  it "Awesome test", ->
    "foo".should.not.equal "bar"

The resulting file after the includes should be:

describe "Unit tests", ->
  describe "Test 1", ->
    it "Awesome test", ->
      "foo".should.not.equal "bar"

I don't know if this is possible, but would be a nice feature to have. At least for Coffeescript files, which takes into account the nesting.

@maxgalbu
Copy link
Contributor

+1

This pull request seems to solve it, but it wasn't merged: #18

@wiledal wiledal closed this as completed in 455b874 Oct 2, 2014
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