[Solved] Electric Imp IDE Update Damaged Code

After the latest electric imp IDE update all the switch statements in both my agent and device nuts have been change to “undefinedundefined” blocks (seen in the image below).

The IDE will not let me select these “undefinedundefined” blocks so I cannot correct them. The code still seems to be functioning but these need to go.

Thanks for the help.

This is… very odd.

I will pass it along - and possibly myself (or someone else) will be in touch.

I seem to remember this is something to do with tabs. The “undefined” is the tab character… wish I could remember the solution though!

Solved problem.

“Tab Size” needed to be specified in IDE settings. The “undefinedundefined” blocks are gone. You guys should make it so one of the available tab sizes instantiated by default.