Hamlet editor keeps tabs

Help
Eduard
2013-11-05
2013-11-10
  • Eduard

    Eduard - 2013-11-05

    When I press tab in the hamlet editor it leaves them as tabs, however when yesod compiles them it says tabs are illegal. I am new to using haskell and yesod so I maybe doing something wrong.

    I can turn on tabs to spaces in the general editor preferences, but I am working on other projects that require tabs, so it would be good to strip them out automatically if they are not valid.

     
  • JP Moresmau

    JP Moresmau - 2013-11-10

    The Hamlet editor is based on the web editor, so it follows the settings in Web/Html Files/Editor, so you can change that easily there. I'd be surprised that tools require tab in HTML files anyway. It doesn't impact anything else.

     

Log in to post a comment.