Live data from Hacker News

Viewing profile — alexdima

alexdima

HN member
Joined
Thu, Apr 30, 2015, 8:47 AM UTC
HN karma
600
Public activity
22 items

About alexdima

Software Engineer at Microsoft, working on Visual Studio Code

Recent public activity

  1. 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…

  2. 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…

  3. 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.

  4. 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…

  5. 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 …

  6. 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…

  7. 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…

  8. 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…

  9. 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…

  10. 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…

  11. comment
    Comment #11941814

    Thanks! Created https://github.com/Microsoft/monaco-editor/issues/6

  12. 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…

  13. 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…

  14. 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...

  15. 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…

  16. comment
    Comment #11941572

    Lexicographical sorting at its best :)

  17. 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 …

  18. 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…

  19. 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…

  20. comment
    Comment #9465766

    Thanks! We'll look into that

  21. 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…

  22. 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.