We shouldn't dedent the following code all the way to the lef while I am in the middle of coding.
```
pf.breed.list(function (data) {
var breeds = data.petfinder.breeds.breed; <== dedented
breeds = breeds.map(function (breed) { <== dedented
return breed.$t; <== dedented
}); <== dedented
console.log("get list of breeds:"); <== dedented
console.log("\t", breeds.slice(0, 5).join(", ")); <== dedented
});
```
After completing the last }); and hitting <enter>, the code was formatted correctly as following.
```
pf.breed.list(function (data) {
var breeds = data.petfinder.breeds.breed;
breeds = breeds.map(function (breed) {
return breed.$t;
});
console.log("get list of breeds:");
console.log("\t", breeds.slice(0, 5).join(", "));
});
```
Comments: Tried this in build 20812.01 and it's already fixed. Each line is formatted correctly at the end of each line. Resolving and closing the issue.
```
pf.breed.list(function (data) {
var breeds = data.petfinder.breeds.breed; <== dedented
breeds = breeds.map(function (breed) { <== dedented
return breed.$t; <== dedented
}); <== dedented
console.log("get list of breeds:"); <== dedented
console.log("\t", breeds.slice(0, 5).join(", ")); <== dedented
});
```
After completing the last }); and hitting <enter>, the code was formatted correctly as following.
```
pf.breed.list(function (data) {
var breeds = data.petfinder.breeds.breed;
breeds = breeds.map(function (breed) {
return breed.$t;
});
console.log("get list of breeds:");
console.log("\t", breeds.slice(0, 5).join(", "));
});
```
Comments: Tried this in build 20812.01 and it's already fixed. Each line is formatted correctly at the end of each line. Resolving and closing the issue.