Live data from Hacker News

Web-based editor

docs.github.com

121–130 of 307 posts

Re: Web-based editor

#121

Earlier quoted context omitted.

VSCode is/was a neat editor, but I fear it is slowly morphing to become an overloaded mess. It was so sleek and lightweight at first it was really a pleasure to use. But performance and bugs seem to increase, even if you don't use many or any plugins at all.

I'm curious to know what sort of dev work you do with vscode, it still feels rather snappy to me with ~40 extensions, but perhaps using it for other languages is more of a problem?

> ~40 extensions

Devs with this many extensions are an OpSec/data governance nightmare!

VSCode desperately needs some sort of access policy/permission system for their extensions, and make it more obvious when an extension phones home code or other data its user doesn't directly provide it with.

Copilot, for example, straight up sends and uses your code - not just the modifications you've made to the laundered code it provides you with, but any or all of it [1].

1 https://docs.github.com/en/github/copilot/telemetry-terms

Re: Web-based editor

#122

Am I alone in not jumping on the Visual Studio [Code] bandwagon? Other online editors have had "vim modes" for ages (e.g. Overleaf) and frankly I'm unlikely to write a chonking great script or project in a browser on Github -- a minor modification is much more likely. VS Code's codebase is huge . Will Github allow people to use other $EDITORs? (Yes, I'm aware this makes me sound like an old man!)

I am a developer for almost 15 years now. My primary operating system is windows. I have used Linux but only sparingly. I have used many IDEs. I have never ever felt the need to use vim. Is it fair to say, because VSCode does not have a "vim mode", it is somehow inferior as an editor? I seriously don't get it. I have used VSCode almost from day one. It is a fantastic editor and quite a capable tool. I seriously love…

VSCode does have a vim mode.

See this plugin here: https://github.com/VSCodeVim/Vim

It works surprisingly well.

Re: Web-based editor

#123
post #52

I've been using this for a while. Very, very, very handy for - Just exploring some code. - Quickly pull up as reference code w/ decent navigation without having to checkout locally or navigate forward/back in the source tree in GitHub. - When reviewing PRs and wanting to check out some surrounding code that is not part of the actual PR. - If you want to quickly commit something really small and trivial in master/a br…

> - Some of the most used VSCode hotkeys are browser hotkeys, like Ctrl+T, Ctrl+P, Ctrl+Shift+P etc. The functions aren't even rebound to anything else, they're just not available via hotkeys.

On chrome(os) at least if you move the editor to it's own fullscreen window all keys are passed to the editor.

There's probably a way to make this work without requiring the window to be fullscreen.

Re: Web-based editor

#124

Earlier quoted context omitted.

Gotta be web-based and only other major one I know of is Atom, which was originally started by GitHub and is also owned by Microsoft now. Don't know if people are still using it much though.

There was also Adobe Brackets, but it was discontinued earlier this month.

I really liked Brackets for CSS files.

Re: Web-based editor

#125
post #52

I've been using this for a while. Very, very, very handy for - Just exploring some code. - Quickly pull up as reference code w/ decent navigation without having to checkout locally or navigate forward/back in the source tree in GitHub. - When reviewing PRs and wanting to check out some surrounding code that is not part of the actual PR. - If you want to quickly commit something really small and trivial in master/a br…

> - Some of the most used VSCode hotkeys are browser hotkeys, like Ctrl+T, Ctrl+P, Ctrl+Shift+P etc. The functions aren't even rebound to anything else, they're just not available via hotkeys. On chrome(os) at least if you move the editor to it's own fullscreen window all keys are passed to the editor. There's probably a way to make this work without requiring the window to be fullscreen.

Click the "add to shelf" or "create shortcut" option in the Chrome menu, and tick the box for "open as window".

https://www.cnet.com/how-to/this-setting-makes-chrome-os-fee...

Re: Web-based editor

#126

Earlier quoted context omitted.

I am a developer for almost 15 years now. My primary operating system is windows. I have used Linux but only sparingly. I have used many IDEs. I have never ever felt the need to use vim. Is it fair to say, because VSCode does not have a "vim mode", it is somehow inferior as an editor? I seriously don't get it. I have used VSCode almost from day one. It is a fantastic editor and quite a capable tool. I seriously love…

I have never used vim in my life (20 years in dev. including on linux and used linux since the late 90s). Many people talk about vim lately, probably the most I've seen and I'm still not sure why. That said, VSCode is very good. But I don't believe in a web-based IDE and in remote Github repos. That's a recipe for disaster and unescapable vendor lock-in, and in any case it's only an option for web dev., really. Edit:…

Well of course you're "still not sure why"; you've "never used vim". How does one understand something they've never experienced?

Re: Web-based editor

#127
> Pressing the dot ( . ) key while browsing any repository on GitHub.

if you are using a QWERTY keyboard layout, yet again, decision made by someone self centered, probably a mac user since github's font looks so bad on linux

Re: Web-based editor

#128
I'm in the beta for a few months now and use it on a daily basis.

It's pretty nice to have an extra tier between "local clone/checkout" and "commit to remote repository".

I can code on my three different machines with one "remote checkout" and commit when I'm finished.

Before, I would have to pull/push every time I switched the machine.

I used Cloud9 before, but VSCode simply has the better eco-system.

The only thing that sucks is (obviously) offline work. It would be cool if I could do more locally, especially when I'm in a train.

Re: Web-based editor

#129
post #63

If you don't want to tie in with GitHub, there is also a vscode browser version called "code server" https://github.com/cdr/code-server I've been using it for the last couple of weeks on a development VPS and really love it. I'm considering moving my dev environment over to the server and just open a browser to do all the work.

Is there any upside compared to using the SSH Remote extension? https://code.visualstudio.com/docs/remote/ssh It automatically sets up the server for me on any machine I can SSH into and I can use real VSCode instead of the browser version.

Benefits of code-server is that it requires zero tooling on the client except a browser. I can use e.g. someone's iPad to quickly do some edits vs requiring my laptop with SSH keys. Other than that, using native vscode is a bit faster and has all keyboard shortcuts working. I use both vscode remote with SSH and "code server" behind NGINX.

Re: Web-based editor

#130

Earlier quoted context omitted.

I am a developer for almost 15 years now. My primary operating system is windows. I have used Linux but only sparingly. I have used many IDEs. I have never ever felt the need to use vim. Is it fair to say, because VSCode does not have a "vim mode", it is somehow inferior as an editor? I seriously don't get it. I have used VSCode almost from day one. It is a fantastic editor and quite a capable tool. I seriously love…

I have never used vim in my life (20 years in dev. including on linux and used linux since the late 90s). Many people talk about vim lately, probably the most I've seen and I'm still not sure why. That said, VSCode is very good. But I don't believe in a web-based IDE and in remote Github repos. That's a recipe for disaster and unescapable vendor lock-in, and in any case it's only an option for web dev., really. Edit:…

How have you avoided vim this long? What did you edit config files with? I guess maybe if you mean you just used vi instead
Post reply on HN