[ / / / / / / / / / / / / / ] [ dir / agatha2 / arepa / caco / komica / mascot / mde / tacos / vg ][Options][ watchlist ]

/tech/ - Technology

You can now write text to your AI-generated image at https://aiproto.com It is currently free to use for Proto members.
Email
Comment *
File
Select/drop/paste files here
Password (Randomized for file and post deletion; you may also set your own.)
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Expand all images

File (hide): 461f96d86a1f2a6⋯.jpg (22.41 KB, 454x418, 227:209, 13589428464.jpg) (h) (u)

[–]

 No.991199>>991204 >>991223 >>991237 >>991683 [Watch Thread][Show All Posts]

Get ready for new levels of bloat

https://en.wikipedia.org/wiki/Language_Server_Protocol

Want to just edit a textfile in your local editor? No according to microsoft, what you REALLY want is interacting with some server!

 No.991204

>>991199 (OP)

>LSP-supported editors are botnet if applied


 No.991206>>991217

That article says "IDE". Why would you use an IDE and then complain about bloat?


 No.991209

>use editor designed for work enviroment

>an enviroment where you'll constantly need to sync to a server in order to actually fucking work with anyone

wtf botnet!


 No.991217>>991234 >>991246 >>992826

>>991206

VIM supports it, guess it's shit too :^)


 No.991223>>991226 >>991252

>>991199 (OP)

> what you REALLY want is interacting with some server!

Server does not mean webserver, dumbass. A server in the case of LSP is just another process running on your machine (though it could be running on any machine technically).

This is the same thing Slime has been doing for Common Lisp an Emacs: the editor starts a server process, then it can send the server some request ("compile this file into your REPL"), the server does stuff and sends a response back ("could not compile, error on line 12").

The idea is that if you have n languages and m editors, re-inventing the wheel means you have to write n*m solutions. When you refactor out the language-specific parts and define a universal interface you reduce the size of the problem to n+m: n different servers (on for each language) and m editors provide an interface to the server. The interface is the same for every language and every editor. By breaking things up like this you also make it possible to swap out your setup. The server you are using is shit and there is a better one? Just connect to that one. Your editor is breaking your fingers? Switch to another one and use the same server.


 No.991226>>991231

>>991223

>Server does not mean webserver, dumbass.

But it will most likely be implemented as NodeJS server.


 No.991231

>>991226

No it will be implemented in whatever the compiler was written in. Because it is handled by the compiler.


 No.991234

>>991217

>He doesn't use ed


 No.991237

>>991199 (OP)

I guess transmission is also a botnet since it uses a server/client architecture. Retarded gorilla nigger.

t. already using emacs with eglot and clangd


 No.991246>>991921

>>991217

Yes, vim is shit.


 No.991252

>>991223

Why not use force all programmers to use visual studio code as editor and only allow nodejs as only programming language?

That would avoid all this shit.


 No.991257>>991260 >>992037

tech is pretty fucking retarded


 No.991260

>>991257

The shills found this place years ago. Remember when the mods deleted the CTS Labs thread exposing that hoax even though it was one of the most active threads this board has ever seen?

Pepperidge Farms remembers.


 No.991265>>991288 >>991336 >>991367

how does this not-a-thing have a wiki page


 No.991288

>>991265

Gee I dunno, what is marketing?


 No.991293

Yes, this is a good idea so that everything can use the same code to do parsing, lexing, and other analysis without having to rewrite it for each editor. While this is favorable to microsoft, it is favorable to all editors as you won't have to have people keep reinventing the wheel.


 No.991336

>>991265

Because it's a feature multiple IDEs contain that someone decided to write a wiki page for


 No.991367

>>991265

Let's see...

> The Language Server Protocol was originally developed for Microsoft's Visual Studio Code and is now an open standard.

> Microsoft's

There is your answer. The times when Wikipedia articles used to be written by volunteers and enthusiasts are over, companies have reconized the value of Wikipedia a long time ago.


 No.991460>>991686

So instead having your local editor do something you send it to a (((server))) that does it for you.

This is the first step in banning local storage media and local usage of computers.

Everything has to be in the (((cloud))) so it can be controlled.

Goyim don't deserve computers.


 No.991519

>>(((991460))) (((You)))


 No.991683>>991686 >>992037

>>991199 (OP)

What the fuck is up with you tech?!

Are you this illiterate?

LSP describes an interface for smart code linting and auto suggestions. It has absolutely nothing to do with a server in terms of web.

Instead hoping, that your text editor supports for instance GCC's Linting (in terms of SublimeText via Sublime-Linter GCC) you simply get the Sublime LSP , which interprets the LSP info.

Now you can use Clang or ccls for instance to check you code and give linting and auto suggestions.

Sublime text for instance is too retarded to auto-complete commands from C libraries, but LSP allows clang to pull that information and auto complete all Parameters of a command from that library.

This is not possible with GCC's build in linting.

TL;DR, instead of hoping that your text editor does magic, it only needs to support one protocol and eg. Clang scans your code and provides linting to your text editor.


 No.991686>>991690 >>991902 >>991946

File (hide): 348a194ef0bddc0⋯.jpg (28.47 KB, 294x283, 294:283, Tom-Jerry-Suicide.jpg) (h) (u)

>>991460

>>991683

God dammit /tech/, I used to come to this place for inspiration for C coding.

When did this place become so retarded?

It's almost as if this is a parody.

>Title says Server in name

>hurr durr it is evil botnet for subservient goyim


 No.991690>>991946

>>991686

Something or other happened on halfchan and all the faggots came here


 No.991902

File (hide): bfcd7a8b85c62b3⋯.jpg (178.88 KB, 720x684, 20:19, 1432137324385.jpg) (h) (u)

>>991686

Look man, we've been through these cycles many times. You get what you put in, want to talk about writing C? Start a thread about it.


 No.991921>>992590


 No.991946

>>991690

>>991686

>claims to be smart

>replies to bait thread

ebin


 No.992037>>992428

>>991257

>>991683

>tech

you do not belong here


 No.992073>>992371

Another shitty MS product that will only expand because of their infamous lobby and in the future not even they are going to use (as they did with MS servers/IIS shit)


 No.992371>>992422

>>992073

Only that this "Ms product" is no piece of software, but an instruction to standardize text editor code linting. And most the "Servers" (what an unlucky name) is all FOSS.

(c-query, ccls, clangd)


 No.992422

>>992371

you should use the one written in rust


 No.992428

>>992037

look it's reddit spacing now you can go full newfag nigger faggot


 No.992590

>>991921

shut up bloatman


 No.992826

>>991217

vim is bloated as fuck, what even is your point




[Return][Go to top][Catalog][Screencap][Nerve Center][Cancer][Update] ( Scroll to new posts) ( Auto) 5
33 replies | 2 images | Page ?
[Post a Reply]
[ / / / / / / / / / / / / / ] [ dir / agatha2 / arepa / caco / komica / mascot / mde / tacos / vg ][ watchlist ]