loading...

re: ๐Ÿ’ปThe guide to Visual Studio Code shortcuts, higher productivity and 30 of my favourite shortcuts you need to learn VIEW POST

TOP OF THREAD FULL DISCUSSION
re: shift+alt + select with mouse will give you a rectangular selection / column selection... also, middle mouse click does it. Unfortunately works for...
 

Ahh okay!

Yeah, that works on windows for me but I don't use that.

Can not think of any situation where i need that ๐Ÿค”

yes, it isn't really an everyday thing but it can be useful when editing SQL or old languages where column alignment is everything. To tell you the truth I started using that on the native os x text editor, you just press option and start dragging around, the cursor becomes a cross and all makes a bit more sense :)

Okay, usually when I work with SQL it is not directly SQL but some layer over SQL ;)

So with what old languages are you still working with?

yes, that is what one should do (in fact lately I am dropping SQL all together), but the box selection I used it a lot when I was creating ui elements in objective c with this tool, ASCIImage that transforms a string like this:

+ (UIImage *)chevronImageWithColor:(UIColor *)color
{
NSArray *asciiRep =
@[
@"ยท ยท ยท ยท ยท ยท ยท ยท ยท ยท ยท ยท",
@"ยท ยท ยท 1 2 ยท ยท ยท ยท ยท ยท ยท",
@"ยท ยท ยท A # # ยท ยท ยท ยท ยท ยท",
@"ยท ยท ยท ยท # # # ยท ยท ยท ยท ยท",
@"ยท ยท ยท ยท ยท # # # ยท ยท ยท ยท",
@"ยท ยท ยท ยท ยท ยท 9 # 3 ยท ยท ยท",
@"ยท ยท ยท ยท ยท ยท 8 # 4 ยท ยท ยท",
@"ยท ยท ยท ยท ยท # # # ยท ยท ยท ยท",
@"ยท ยท ยท ยท # # # ยท ยท ยท ยท ยท",
@"ยท ยท ยท 7 # # ยท ยท ยท ยท ยท ยท",
@"ยท ยท ยท 6 5 ยท ยท ยท ยท ยท ยท ยท",
@"ยท ยท ยท ยท ยท ยท ยท ยท ยท ยท ยท ยท",
];
return [self imageWithASCIIRepresentation:asciiRep
                                    color:[UIColor blackColor]
                          shouldAntialias:NO];
}

into these hi res images, on the fly:
chevron rendered
it really helped a lot although you end up creating the weirdest copy and paste combinations - hence the box selection :)

code of conduct - report abuse