top | item 33715496

(no title)

red0point | 3 years ago

What do you do about security here?

Isn‘t automatically checking out and opening a repository after clicking a link quite a risky affair? Does it bypass the „do you trust this repo“ screen put up by VSCode?

discuss

order

rupertdenton|3 years ago

Hey there, really important question.

There's no security risk here. If you don't have the creds to access the repo, there is no way you can check out the code.

You can try this CodeLink to see how it works: codelink.dev/CKy5YDEZg. The link is to our open demo repo on GitHub. Click open in VS Code or JetBrains and you'll see the prompt in your editor to select a folder to check the code into, it'll then open the file and highlight the lines.