Skip to content

Commit

Permalink
Experiment with recommended extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
yury committed Dec 8, 2021
1 parent 7c86e37 commit c0cf9da
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .vscode/extenstions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"recommendations": ["BlinkShellInc.blink-fs", "vscodevim.vim", "tuttieee.emacs-mcx", "mousavian.ssh-config-syntax-highlighter"]
}
6 changes: 5 additions & 1 deletion Blink/Commands/code.swift
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,11 @@ struct CodeCommand: NonStdIOCommand {
case .fileLocationPath(let p):
path = p
default:
path = try FileLocationPath(".")
DispatchQueue.main.async {
let url = URL(string: "https://github.com/blinksh/blink/blob/raw/CODE.md")!
session.device.view.addBrowserWebView(url, agent: "")
}
return
}

let fp = SharedFP.startedFP(port: 50000)
Expand Down
8 changes: 8 additions & 0 deletions CODE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

# Blink code command

Welcome to code command.

To open github repo in editor replace `.com` with `.dev`

`code https://github.dev/blinksh/blink/blob/raw/CODE.md`

0 comments on commit c0cf9da

Please sign in to comment.