New user (attempter?) on ST2, seeing it as a possible alternative to TM. Still evaluating. Some questions:
- Auto indent on copy-paste does not seem to work? Take the following JS:
var f = function() {
var a = 1;
};
var q = 2;
Now cut and paste the “var q = 2;” line to sit just below the “var a = 1;” What I want is:
var f = function() {
var a = 1;
var q = 2;
};
But I get
var f = function() {
var a = 1;
var q = 2;
};
- Is there any way to select a chunk of text and just auto-indent the whole thing? E.g. if I have
var f = function() {
var a = 1;
var q = 2;
};
I should be able to select it all, hit some menu item or command, and get automatically:
var f = function() {
var a = 1;
var q = 2;
};
Any way?
- Auto-comment doesn’t work cleanly? If I create a comment
/*
*/
And then go to the end of the first line and hit enter, I expect to get
/*
*
*/
But instead I get:
/*
*/
So I manually have to tab over and enter the * ?