janisdd / vscode-edit-csv

vs code extension to edit csv files with an excel like table ui
MIT License
211 stars 30 forks source link

Cmd + Click on urls to open them on browser #109

Closed remorses closed 1 year ago

remorses commented 1 year ago

Version?

Feature

Enable Cmd + Click on urls to open them on browser, like urls in terminal

janisdd commented 1 year ago

Interesting idea, I'll look into it.

Here are some initial thoughts (primarily for myself)

janisdd commented 1 year ago

I just experimented a bit with this and its easier (and probably more convenient) to show the link as a normal link in browser -> only click instead auf cmd+click

It will only support links starting with http:// or https://

There will be a new option convertUrlsToLinkTags (default to true) that controls if urls are converted or not

janisdd commented 1 year ago

As I tested more, cmd + click seems to in line with vs code and also enables easier editing of the cell.

mac: cmd + click windows/linux: ctrl + click

cmd/ctrl + click are also used to select (multiple) individual cells but there is no other good solution... One can click on the cell border to select the cell instead of opening the link.