Live data from Hacker News

Web-based editor

docs.github.com

221–230 of 307 posts

Re: Web-based editor

#221

Earlier quoted context omitted.

> This is why MIT isn't always the correct choice. GPL wouldn't hurt devs at all and would protect from this kind of garbage from MS. But would it protect against Pylance existing, or would it just be more expensive to develop but still proprietary (and possibly not free-as-in-beer), or would it be Free? There's only one of those three where devs (as opposed to Free Software ideologues) win, and one where both lose.…

I wish this point was brought up more often. Like in the TiVo case when everyone lost their minds about ideology, meanwhile millions of people got to watch what they wanted on their schedule and with no ads. This attitude of MIT being bad because it gives people freedom to do Bad Things™ really makes me question what open source is actually about (yes I know that it's complicated and means many things, that's not wha…

> It seems to me that some proponents of it really believe in it so they can tell other people what to do.

"Some", perhaps. But this is a really disingenuous way to characterize open source.

Re: Web-based editor

#222
post #187

Earlier quoted context omitted.

I get worried that VS Code is too popular, and that some higher ups might be tempted to go for an EEE play. The flipside is that MS pouring money into VS Code has tremendously benefited the entire code editor ecosystem, including (especially) FOSS editors that can reuse their language servers.

Last I checked, most of the MS-owned language servers used proprietary licenses. An example is the Python language server https://github.com/microsoft/pylance-release They base it 90% on the open-source pyright library. Then the lock down all their own enhancements. https://github.com/microsoft/pyright This is why MIT isn't always the correct choice. GPL wouldn't hurt devs at all and would protect from this kind of g…

In this case both Pylance and Pyright are developed by Microsoft.

I suspect that open-sourcing in anything at all is essentially a long-term PR/marketing/recruiting investment, as well as as positioning Microsoft as the keepers and main developers of what has become an important standard.

That said, by "reuse" I mean that end-users are free to install the non-free binaries extracted from VS code, which interoperate with any text editor that implement a language client. They are all on NPM.

Re: Web-based editor

#223

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…

What if you ssh into a server? What if you want to quickly edit some file while you are on a terminal?

It's not like you can't use vim ever just because VSCode is your primary editor.

Re: Web-based editor

#224

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!)

Seems like you could use a browser extension that intercepts the same key event to load the editor of your choice?

Re: Web-based editor

#225

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…

What if you ssh into a server? What if you want to quickly edit some file while you are on a terminal?

It’s essential to know the basics of a terminal editor (vim, nano/pico, whatever), but for heavy lifting VSCode has a remote SSH plugin. It’s good enough I often use it for developing on a Linux box from my macOS machine.

There’s also a “code” command that will open a file or directory in VS Code.

Re: Web-based editor

#226
post #110

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!)

For me the advantage of VSCode is in its approach and how it has differed from other products: - VSCode Remoting is really useful. It doesn’t suffer as much from latency as SSH or display forwarding, and lets you use some local configuration when remoting. Neovim will soon have a feature like this. - Language servers for code intelligence has greatly improved editor support for languages. Up until the introduction an…

[deleted]

Re: Web-based editor

#227
post #182

Earlier quoted context omitted.

What's this?

I've just tested with Safari on MacOS. 1. Go to any Github repo 2. Press . 3. Wait for the editor to load... 4. Press Ctrl/Command + P 5. It opens VSCode's "Go to File" prompt

Is this basically the same as hitting just plain "t" on a github.com repo? (Fuzzy file listing/search).

Re: Web-based editor

#228

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…

VSCode does have a vim mode. See this plugin here: https://github.com/VSCodeVim/Vim It works surprisingly well.

[deleted]

Re: Web-based editor

#229

Earlier quoted context omitted.

VSCode does have a vim mode. See this plugin here: https://github.com/VSCodeVim/Vim It works surprisingly well.

I haven't run this long enough to definitely say that it's better, but this in theory should offer more correct vim behavior: https://github.com/asvetliakov/vscode-neovim

I've been using it for a couple months now as my main editor. Overall I really like it. It's just a touch laggy. So for example if you press esc then try to do a normal mode command, sometimes your key presses still go into insert mode.

Re: Web-based editor

#230

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!)

Depends what I’m doing, but most day stuff is in a JetBrains product, or vscode , or sublimetext - in that order. But I did go from notepad, to eclipse, to ST, to vscode to JetBrains, so … obviously I’m trying to get into emacs now

In the end you run emacs in evil mode.
Post reply on HN