This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Indention still doesn't work entirely as expected #71
Open
Description
Indention got much better in the latest releases, but there are some glitches in js
, which seem to behave similar to the problem mentioned in atom/language-html#44:
Atom 0.152, OSX
/* source for copy */
var test = 1,
test2 = 2,
test3 = 3;
/* pasted */
var test = 1,
test2 = 2,
test3 = 3;
/* source for copy */
$.getJson()
.then()
.then()
/* pasted */
$.getJson()
.then()
.then()
/* source for copy */
function( [ '1',
'2',
'3',],
function( One, Two, Three) {
}
);
/* pasted */
function( [ '1',
'2',
'3',],
function( One, Two, Three) {
}
);
The result of sublime3:
/* source for copy */
var test = 1,
test2 = 2,
test3 = 3;
/* pasted */
var test = 1,
test2 = 2,
test3 = 3;
/* source for copy */
function( [ '1',
'2',
'3',],
function( One, Two, Three) {
}
);
/* pasted */
function( [ '1',
'2',
'3',],
function( One, Two, Three) {
}
);