#eclipse
#eclipse
Вопрос:
После ручного форматирования JS-код выглядит следующим образом
txnDetailsTable = $('#transactionDetails').dataTable({
bLengthChange : false,
bInfo : false,
bSort : false,
autoWidth : false,
columnDefs : [ {"width" : "15%","targets" : 0},
{"width" : "7%","targets" : 1},
{"width" : "5%","targets" : 2},
{"width" : "33%","targets" : 3},
{"width" : "5%","targets" : 4},
{"width" : "5%","targets" : 5},
{"width" : "12%","targets" : 6},
{"width" : "13%","targets" : 7},
{"width" : "13%","targets" : 8}
],
aoColumns : [ {
"sType" : "date"
}, null, null, null, null, null, null, null, null ]
После нажатия ctrl shift F выше форматирование JS-кода изменяется, как показано ниже.
txnDetailsTable = $('#transactionDetails').dataTable({
bLengthChange : false,
bInfo : false,
bSort : false,
autoWidth : false,
columnDefs : [ {
"width" : "15%",
"targets" : 0
}, {
"width" : "7%",
"targets" : 1
}, {
"width" : "5%",
"targets" : 2
}, {
"width" : "33%",
"targets" : 3
}, {
"width" : "5%",
"targets" : 4
}, {
"width" : "5%",
"targets" : 5
}, {
"width" : "12%",
"targets" : 6
}, {
"width" : "13%",
"targets" : 7
}, {
"width" : "13%",
"targets" : 8
} ],
aoColumns : [ {
"sType" : "date"
}, null, null, null, null, null, null, null, null ]
Как сохранить указанный формат после нажатия ctrl shift F?
Комментарии:
1. Какая версия STS?
2. Версия STS — 3