0
表现不同出于某种原因,当我Aptana的JS编辑器格式道场,田间的JavaScript的此块的Aptana Studio的独立JS自动套用格式从Eclipse插件版本
var eventInput = new dijit.form.Select({
name : 'event',
options : [{
label : 'Today',
value : 'event-today',
selected : true
}, {
label : 'Upcoming Birthday',
value : 'event-birthday1'
}, {
label : 'Recent Birthday',
value : 'event-birthday2'
}, {
label : 'Other',
value : 'event-other'
}]
}).placeAt('event-group');
当autoformatted
var eventInput = new dijit.form.Select({
name : 'event',
options : [{
label : 'Today',
value : 'event-today',
selected : true
}, {
label : 'Upcoming Birthday',
value : 'event-birthday1'
}, {
label : 'Recent Birthday',
value : 'event-birthday2'
}, {
label : 'Other',
value : 'event-other'
}]
}).placeAt('event-group');
标签被销毁
类似的块如本
dojo.create('p', {
id : 'subject-group'
}, 'form');
表ats正确,保存标签。
Aptana的Eclipse插件版本没有这样做并且格式不正确。这发生在Aptana Studio 3的普通版本上,没有任何插件或修改。有没有人遇到过这个?
没错。你找到了。我只需切换到Eclipse IDE,直到3.0.4下降(如果他们的跟踪器被认为是明天的话)。 – Nolsto
不仅我找到了它,我修好了它;) – sgibly