diff --git a/blog/_posts/2023-07-24-durable-incrementality.adoc b/blog/_posts/2023-07-24-durable-incrementality.adoc index 92e45a09..57dc58c1 100644 --- a/blog/_posts/2023-07-24-durable-incrementality.adoc +++ b/blog/_posts/2023-07-24-durable-incrementality.adoc @@ -1,4 +1,5 @@ = Durable Incrementality +@matklad :sectanchors: :page-layout: post diff --git a/blog/_posts/2023-12-26-the-heart-of-a-language-server.adoc b/blog/_posts/2023-12-26-the-heart-of-a-language-server.adoc index 95332750..44f6f0aa 100644 --- a/blog/_posts/2023-12-26-the-heart-of-a-language-server.adoc +++ b/blog/_posts/2023-12-26-the-heart-of-a-language-server.adoc @@ -1,4 +1,5 @@ = The Heart of a Language Server +@matklad :sectanchors: :page-layout: post @@ -17,7 +18,7 @@ Here's a seemingly random grab bag of IDE features: What's common among them all? All these features are relative to the _current position_ of the cursor! -The input is not only the state of the code at a give point in time, but a specific location in the source of a project, like `src/main.rs:90:2`. +The input is not only the state of the code at a given point in time, but a specific location in the source of a project, like `src/main.rs:90:2`. And the first thing a language server needs to do for any of the above features is to understand what is located at the given offset, semantically speaking. Is it an operator, like `+`?