Viewing profile — alexdima
alexdima
HN member- Joined
- Thu, Apr 30, 2015, 8:47 AM UTC
- HN karma
- 600
- Public activity
- 22 items
- HN profile
- View on Hacker News ↗
About alexdima
Recent public activity
-
story
Show HN: Copilot Next Edit Suggestions in VS Code
Hi HN, long time reader here, working on VS Code since before it was called so. You probably don't know me, but among other things, I'm probably responsible for the silent eradicat…
-
comment
Comment #25199325
Hi, I'm a developer on VS Code and wanted to clarify that there was actually a logical memory leak in there. The problem is that I tried to reproduce it back in October while runni…
-
comment
Comment #16941533
Hovering over the activation time will show the reason the extension is active. e.g. "Activated because you opened a javascript file", "Activated on start-up", etc.
-
comment
Comment #16941288
Hi, I'm a developer working on VS Code. VS Code is architected in a way where extensions are not eagerly activated by default. Each extension can declare a list of activation event…
-
comment
Comment #15610604
Hi, I'm a VS Code developer. Can you please open a new issue and describe "as you would to a five year old" what's not working as expected. Even from reading this comment thread I …
-
comment
Comment #13602010
When we started the project, we did write tokenizers by hand. I mention that in the blog post. You can write some very fast tokenizers by hand, even in JavaScript. Of course they w…
-
comment
Comment #13601766
I hate slowness and inefficiency too, that's why I try to make the editor as fast as possible :), but at least in this case, it is not the dynamic nature of JS to blame, but rather…
-
comment
Comment #13600366
Yes, those comparisons at the end show differences in rendering caused by the "approximations" used prior to VS Code 1.9. They were all caused by the difference between the ranking…
-
comment
Comment #13599908
- all the regular expressions in TM grammars are based on oniguruma, a regular expression library written in C. - the only way to interpret the grammars and get anywhere near origi…
-
comment
Comment #11942551
I love these questions! I've actually never tried to compute a diff and apply it inside a line, maybe I'll try it tomorrow :). A line is basically a list of spans, each having a ce…
-
comment
Comment #11941814
Thanks! Created https://github.com/Microsoft/monaco-editor/issues/6
-
comment
Comment #11941775
We don't show leading/trailing whitespace diffs unless the diff consists only of leading/trailing whitespace changes. This is sort of what we do when diffing: * when we need to com…
-
comment
Comment #11941702
Here [1] is a working sample showing how to register a completion item provider for a language. The monaco-typescript [2] plugin shows how a lot of the language API can be used. [1…
-
comment
Comment #11941673
Forgot to mention a funny fact I found. Minify everything [1] [1] https://top.fse.guru/nodejs-a-quick-optimization-advice-7353...
-
comment
Comment #11941662
Implementing touch selection on a widget that is not native is not trivial. In the editor, when you select something, what you see painted is not really the browser (native) select…
-
comment
Comment #11941572
Lexicographical sorting at its best :)
-
comment
Comment #11941560
We are definitely cheating there - we use the same colorizer for C and C++. I don't remember why we define two different languages that point to the same colorizer. Please help us …
-
comment
Comment #11941484
The screenshot doesn't represent a statement on my part. I use Chrome, Edge and Firefox all the time. I especially enjoy debugging the editor in Edge's F12 Tools, because Edge's de…
-
comment
Comment #11941427
Hi, I'm working on the editor since almost 5 years now. Phew, time flies. There is no silver bullet, we mostly try to keep all computations limited to the viewport size (if you hav…
-
comment
Comment #9465766
Thanks! We'll look into that
-
comment
Comment #9465747
Or you could just type __directory, wait for the squiggly to show up and press ctrl-. => there is a code action there that will download the node.d.ts and add a /// reference for y…
-
comment
Comment #9465524
If you open a file with a UTF8 BOM, then the BOM will be preserved. New files don't have the UTF8 BOM.