Avatar

indigomirage

indigomirage@lemmy.ca
Joined
13 posts • 261 comments
Direct message

So I looked them up with my Mastodon account to try to follow but quickly discovered that not all searches for ‘BBC’ lead to accounts related to the BBC…l.

permalink
report
reply

It would be faster to just select every end of line and add spaces and then do the edit & Trim later.

Bottom line is that the functionality doesn’t seem to exist in any useful way. Wish it did. I think Ultra Edit, notepad++ visualstudio and mssql mgnt studio must have spoiled me for other editors (in this respect). Even Geany does this (but oh, so janky…)

permalink
report
parent
reply

Unfortunately, that will just skip over the short lines contained within the the block selection, which is exactly what I’m trying not to do (hence the initial question).

permalink
report
parent
reply

Thank you - it seems that this will only be possible with a wrapper script (which was going to be my next course of action). I can definitely use what you’ve written here as an accelerator, though!

permalink
report
parent
reply

Thank you for the response. I’m not sure I’d have any idea how to create a function for this at this point. Lack of support for this feature is pretty much the main reason I’m shifting away from vscode. (Also looking at nvim as I want a more powerful go-to solution for CLI editing…)

Certainly frustrating - it was my most used feature when I was coding SQL extensively…

permalink
report
parent
reply

I’ve got that, but I want the container home prefix to be named, dynamically, after the container upon creation as a subdirectory of a container home prefix ‘parent’ directory I’ve already created.

Desired outcome -> All dbxs get homes in a subfolder of ~/dbx in turn, named after the container name I provide upon creation.

So… a container called ‘utility’ would automatically home itself in ~/dbx/utility, and one called ‘archtest’ would go in ~/dbxarchtest, etc.

As it stands, the config gives each container the same home directory (albeit separate from the host, so at least I’ve got that…)

permalink
report
parent
reply

This is good to know. As I say, I haven’t tried codium, but I’m not surprised there are glitches.

I hear you wrt avoiding remote server, but for me, it begs the question of whether I want to learn more than one tool/editor? If I use vscode, I’d have to pull the files up and down, but if I use an alternative IDE, I can do it all in one step. If it’s a good IDE then why do I want vscode in the first place?

A official sftp caching package might be enough to keep me in vscode (though I’m still not sure what I want to do).

I just find it bewildering that the IDE would so nonchalantly install sh!t on remote servers when you just want to edit a config. Any other tool where something is to get installed remotely makes it abundantly clear what’s happening and it’s a very conscious decision to do an install.

Not sure why people aren’t up in arms about this approach. Unless I’m missing something (and I may well be).

permalink
report
parent
reply

AFAIK, the only difference between codium and vscode is that telemetry is stripped out. I haven’t used it, but I imagine it’s great. It works the same as vscode in other respects. (unless someone corrects me here).

The main issues I have with the vscode/codium approach is that remote ssh works by installing and executing a server at the remote location (including installation of extensions).

To me, this is convenient but risky - it necessitates prerequisites on the remote server (which caused issues for older server installs), it leaves stuff behind on the remote (if you just want to edit a config why would you want to litter the remote server?). Fundamentally I’m not sure why this isn’t a very, very serious potential vector for malware - others can correct me. Do you want to inadvertently put 3rd party nice-to-have extensions written by just anyone running remotely?

They could mitigate this by having an official extension than has an option to do simple sftp access with local caching (as is done with many other editors like UEdit, npp, mc, vim, etc…). Most 3rd party extensions for this that I’ve seen seem very janky. It begs for something official.

My other issues with vscode are subjective - it lacks virtual space editing, and, frankly the whole thing is a bit slow for me. Again, this is subjective.

permalink
report
parent
reply

It drives me bonkers.

And, unfortunately, when I mention this issue I’m am frequently assured that I am mistaken and that there can be no issue. (paraphrasing).

It’s a real problem - I live Firefox (with its standards compliance) but people didn’t adhere. And here we are.

permalink
report
reply

I’ll look, though at first blush it looks like an exceedingly complicated way to just simply select beyond line endings and have white space automatically padded when typing in at the (multi) cursor.

It might be great though - I need to try. (and I do recognize that there are many ways to do things)

I have to say Ultra Edit sites this so well (so does Visual Studio and MSSQL Management Studio). Maybe it’s a wierd feature want, but I’m not so sure…

permalink
report
parent
reply