sheehan / grails-console

A web-based Groovy console for interactive runtime application management and debugging
Apache License 2.0
78 stars 41 forks source link

indent size is forced to 1 #60

Closed yuki-takei closed 7 years ago

yuki-takei commented 7 years ago

How to reproduce?

  1. goto console
  2. hit tab key

What is happened?

  1. indented by 1 space

What is the expected behavior?

  1. indented by 4 spaces

Why does this happen?

Maybe because of the type of indentUnit is boolean. Similarly, the type of tabSize is boolean.

https://github.com/sheehan/grails-console/blob/master/grails3/plugin/src/main/groovy/org/grails/plugins/console/ConsoleConfig.groovy#L11

sheehan commented 7 years ago

fixed in the latest version