我使用的是Zend和Titanium,它们都缺少一些简单的格式化注意事项:
某处有Crawford格式化插件吗?或者我可以微调的任何东西?
从:
var foo = "bar", bar = "baz";
为:
var foo = "bar",
bar = "baz";
和...
从:
var str = "this string contains significantly more than eighty characters, how could it be the case that eclipse can't word wrap this? (oh unless it's a comment, which eclipse will happily wrap for you";
到:
var str = "this string contains significantly more than eighty characters, how"
+ " could it be the case that eclipse can't word wrap this? (oh unless"
+ " it's a comment, which eclipse will happily wrap for you.";
我想要包装超过80个字符的内容。我之所以使用eclipse只是因为它使得Titanium Javascript开发变得更加容易,而且因为它要求我使用Zend进行PHP / Javascript / HTML / CSS编码。我看到Eclipse中这种功能的功能要求可以追溯到几年前。我很惊讶这个问题还没有解决。