Live data from Hacker News

Web-based editor

docs.github.com

181–190 of 307 posts

Re: Web-based editor

#181
post #156

Earlier quoted context omitted.

> Is it fair to say, because VSCode does not have a "vim mode", it is somehow inferior as an editor? Is VSCode an inferior editor compared to Vim/Neovim? Absolutely, it is. Is Vim/NeoVim an inferior IDE experience compared to VSCode despite the ongoing evangelism by NeoVim fundamentalists? Most likely, yes. Here's an example before I start getting flak — NeoVim doesn't have stable indent visualization lines and stabl…

>NeoVim doesn't have stable indent visualization lines https://github.com/lukas-reineke/indent-blankline.nvim/

https://github.com/lukas-reineke/indent-blankline.nvim/issue...

Re: Web-based editor

#182
post #136

Earlier quoted context omitted.

I was showing my friends just yesterday how amazed I was for Command + P working as an app shortcut on github.dev. Did you try this recently?

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

Re: Web-based editor

#183

Remember the typical Microsoft: "embrace, extend, extinguish" ...

Looks like there are some Microsoft fan boys here...

For the others, that does not know the concept that was applied by them numerous times, it's easy:

- embrace: they buy GitHub, play nice, be part of the community, we will change nothing, commit to open source spirit

- extend [current step]: oh, we are just adding nice features, now you will use our visual studio, but don't worry, it's for free, it just improve your experience.

- extinguish [next step, my guess]:

* "sadly, VS works better in edge and does not support minor browsers like Firefox",

* there are these cool new synchronization features/real time collaboration that requires Visual Studio on your computer.

* Sorry, you need an official VS build to use the features because security/authentication/...

* Here are the corporate workspace accounts that allows to limit code edition in the cloud, for security. And so, for security also, you can only use it from edge on windows X with TPM.

Based on previous MS experiences, the possibility are endless!

I would kindly remind that the version of VisualStudioCode that almost everyone use is just a freeware but it can't be built as is from ope source code.

Also, not long so long ago they were willing to switch everyone GitHub accounts with Microsoft accounts...

Re: Web-based editor

#184

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…

I'm someone who also writes code for a living. Linux and MacOS are my primary OSes (in that order). I've used Windows, but only sparingly.

I've written a lot of C, a lot of scripting languages, and a bit of C++. I've used many IDEs.

For me, the "command line" workflow of Makefiles, vim & gdb are really, well, great. When I was a graduate student, I did a lot of pair-programming with a vim wizard who showed me just how insanely fast one can be with it -- it's small, but extensible. Sufficiently intelligent that you can open a 10 GB+ text file in it, jump to a certain line, make a change and exit; all before VS/VSCode would have opened. It's an add on to an IDE. Sometimes, for me, it replaces it.

I've never ever felt the need to use VS, or VSCode. I know other devs love VS for C++, but I love vim – VS feels like a big, bloated IDE where you have to memorise the location of 4e6 different GUI positions and take your hands continually off the keyboard to do anything. Intellisense (and, to a lesser extent, Windows as a whole) deeply irritates me. Vim has a weird, esoteric language with a learning cliff rather than a learning curve -- but I've used it almost from day one. It lets me feel incredibly powerful; it's light, yet has more features than I will ever need.

You and I are different. We've got different interests, different application areas in mind, and different preferences for how to write code and debug it. And that's okay! The key to being productive is accepting that people are different, work differently under different circumstances, and have different strengths, skills, and preferences. It's much better to be accommodating of them, rather than stifle them, and leave a proportion of your staff frustrated.

I'm just very slightly peeved that your preferences are being chosen by Github as a defacto default $EDITOR, but that there is no option whatsoever for mine – despite the fact that javascript vim / emacs "modes" are recognised as being almost religious, with highly developed FOSS javascript libraries nearly offering both keybindings and an implementation for either editor at a click of a button [e.g. 1] that have been around for >10 years.

On top of that, I can't help but notice that Github is usually very accommodating with individual developers' preferences -- to the extent there are often multiple ways of doing things as a result. The fact that, now, both Github and VSCode are both Microsoft products -- and that Microsoft famously likes people to use its "infrastructure", which is often orthogonal to the rest of the world -- just makes a little tiny bit of me feel like this is a change being pushed upon us, as originally explained in their "Embrace, Extend, Extinguish" strategy. I get it, it's a neat feature in beta, and it'll directly benefit some large proportion of their users. But if they're going to deploy fully equipped editors to the web, I'd like to have the ability to chose mine -- and give you the freedom to choose yours. I can't help but think that if this feature was developed prior to their acquisition by Microsoft, it wouldn't be VSCode that was deployed.

[1] https://github.com/ajaxorg/ace

Re: Web-based editor

#185

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've been using a highly-tuned emacs configuration as my IDE for a decade now. Each time I want try to switch to VS Code I find that all my weird little shortcuts are going to take a lot of time to re-learn in VS Code.

I should really just take the time to switch to VS Code and rip off the bandaid since I think it would make life easier in the long run.

Re: Web-based editor

#186

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 tried VS Code for over a year and consider it severely lacking features that most IDEs had fifteen years ago. GitHub should reconsider whether they really want to be reminding everyone that MSFT owns them.

Yes, they leave this out too often.

And - I find the constant change in configurations very confusing, and the plugins also have scant documentation. I can tell 'what is installed' but not exactly how they work together.

Having tied out JetBrains after years away - I'm now permanently back in the IDE camp. For whatever reason they are now 'faster' and so the extra bulk of features comes pretty much for free, and they are just well optimized for whatever you're trying to do.

Java on VSCode is frankly full of little snags. C++ same.

VSCode is a handy go-to tool for quickly looking at code from any language.

For pilfering through some open-source Java, Dart, Rust, that little C project, Python ... the VS is it.

But for mainline projects, a good IDE is it.

Re: Web-based editor

#187
post #110

Earlier quoted context omitted.

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…

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 garbage from MS.

Re: Web-based editor

#188
post #67

I am still proud of [github1s]( https://github.com/conwnet/github1s ) No Credits given :( => https://github.com/conwnet/github1s/issues/346

Are you alleging that GitHub was aware of this and copied it?

Personally, this is the first that I've heard of 1s, but I'm conversely aware that Microsoft has been working on cloud based development with vscode for a while now.

Re: Web-based editor

#189

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've been using a highly-tuned emacs configuration as my IDE for a decade now. Each time I want try to switch to VS Code I find that all my weird little shortcuts are going to take a lot of time to re-learn in VS Code. I should really just take the time to switch to VS Code and rip off the bandaid since I think it would make life easier in the long run.

VS Code is nice! I need to give emacs another whirl, I learned Vim because I like working on a more lightweight cloud dev server while I travel.

Re: Web-based editor

#190
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

This kills me with Jupyter. Open bash kernel, make typo, Ctrl+w, sigh as tab disappears. I often open and pin several empty tabs so it only kills the tab, not the whole window.

Post reply on HN