Re: [qooxdoo-devel] Generate.py ignoring tab-width setting

2015-10-20 Thread deniska
Whoops, never mind my previous post, there's no problem with python tools. Apparently "pretty" is the name of the job, so the correct format is: "pretty": { "pretty-print" : { "general" : { "indent-string" : "\t" } } }

Re: [qooxdoo-devel] Generate.py ignoring tab-width setting

2015-10-19 Thread deniska
Try generate.py pretty Does this make a difference? Still not. I'm debugging right now and it seems that pretty-print settings are getting lost in generator.py main() somewhere along the following lines: ctx = context.copy() print(config._data['jobs']['pretty-print']._data)

Re: [qooxdoo-devel] Generate.py ignoring tab-width setting

2015-10-19 Thread Dietrich Streifert
Try generate.py pretty Does this make a difference? Am 19.10.2015 um 11:25 schrieb deniska: > Hmm, that still doesn't seem to make any change to Application.js > > Attaching the config files, perhaps I'm still doing something wrong. > > After added the section you've suggest to config.json I'm ru

Re: [qooxdoo-devel] Generate.py ignoring tab-width setting

2015-10-19 Thread deniska
Hmm, that still doesn't seem to make any change to Application.js Attaching the config files, perhaps I'm still doing something wrong. After added the section you've suggest to config.json I'm running generate.py fix config.json -

Re: [qooxdoo-devel] Generate.py ignoring tab-width setting

2015-10-19 Thread Dietrich Streifert
I thought this config.json part is responsible for configuring indention: "pretty-print" : { "general" : { "indent-string" : " ", But I'm not sure, because I'm not using the pretty printing feature currently. I think that "fix-files.tab-width" only is used if your files con

[qooxdoo-devel] Generate.py ignoring tab-width setting

2015-10-18 Thread deniska
Hi, all. I'm trying to generate with different tab-width. According to documentation, I've added the following settings to "jobs" section of config.json "fix-files" : { "tab-width" : 4 }, After running "generate.py -fix" from my application folder, I would expec