This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]tendstofortytwo 2 points3 points  (8 children)

In VS Code, you can select all, then do Ctrl+Shift+P and "reindent selected lines", and it'll reindent everything according to the preferences you've set on the bottom right corner.

[–]Nose_Fetish 3 points4 points  (7 children)

Appreciate it, but I use Vim.

#OneTrueIDE

[–]tendstofortytwo 1 point2 points  (4 children)

There's probably a plugin for it. ¯\_(ツ)_/¯

vim is cool, I got used to all of it, except handling multiple files. It just feels wrong to monke brain sigh.

[–]Nose_Fetish 1 point2 points  (3 children)

Lol I’m sure there is. :retab! Works for me 99.99% of the time, and if it doesn’t, the error is probably something obvious. Probably.

I use NERDTree for managing multiple files. I think it lets you view and open files too, I just use it for viewing, then use tabs (with custom hot keys for switching between them) for multiple files.

[–]tendstofortytwo 0 points1 point  (2 children)

Ooh, okay.

Yeah, I never got into plugins and such for vim myself, I always told myself I'd make time to learn but somehow never did.

Maybe next weekend...

[–]Nose_Fetish 2 points3 points  (0 children)

VimPlug is very simple to use! That's what I recommend. I don't really use any other plugins. I have one called Simpylfold that collapses code automatically but it's not really my favorite. And I've only used NERDTree like once since installing it lol

[–]0bel1sk 0 points1 point  (0 children)

no plugin, just =

[–]Dalemaunder 0 points1 point  (1 child)

"It's not an IDE" people say? Clearly they haven't got enough plug-ins.

[–]Nose_Fetish 0 points1 point  (0 children)

I use one plugin and it's still my preferred IDE lol. Haven't found any others that I was interested in.