vscode-extension-samples VS rainbow-delimiters

Compare vscode-extension-samples vs rainbow-delimiters and see what are their differences.

vscode-extension-samples

Sample code illustrating the VS Code extension API. (by microsoft)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
vscode-extension-samples rainbow-delimiters
35 6
8,108 656
2.5% -
8.6 2.3
7 days ago 8 months ago
TypeScript Emacs Lisp
MIT License GNU General Public License v3.0 only
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

vscode-extension-samples

Posts with mentions or reviews of vscode-extension-samples. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-18.
  • Initializing a Project with Any Git Repository - Code Recycle
    3 projects | dev.to | 18 Mar 2024
    changeList: - type: copy from: url: https://github.com/microsoft/vscode-extension-samples.git match: - /l10n-sample output: /l10n-sample to: ./l10n source: git
  • vscode extension debugging with .test.js files
    1 project | /r/vscode | 1 Oct 2023
    Trying to follow the your first extension. With javascript, I've also tried this on vscode-minimal-example.
  • Creating an OpenAI powered Writing Assistant for VS Code
    3 projects | dev.to | 20 Jun 2023
    For my extension I wanted an experience similar to the Hashnode AI Editor, so adding commands to the VS Code command palette was not what I was after. What helped me here was the sample extensions directory on GitHub. Their code-actions sample was exactly what I had in mind (and it targets only the markdown files).
  • VS Code extension debug and TS sources
    1 project | /r/vscode | 13 Jun 2023
    Unfortunately I've never used the generator when writing extensions :( However, the extension samples do have several examples (like this one) that have a tsconfig.json and a launch.json that should achieve what you want.
  • Help to create a language server
    1 project | /r/ProgrammingLanguages | 28 May 2023
    I remember it being difficult to get started. I remember starting by having the autocomplete work with 3 specific words. I think I used this to learn how the lsp works. There are more complicated examples in the root directory https://github.com/microsoft/vscode-extension-samples/tree/main/lsp-sample
  • AI Assisted Blog with Nuxt, GitHub Codespaces & Actions
    4 projects | dev.to | 23 May 2023
    VSCode CodeActions Sample
  • VSCode-WASM: Implement a first version of a WebShell
    8 projects | news.ycombinator.com | 30 Apr 2023
    Not true of most compilers.

    Can you design compilers that can do this? Sure, i was at IBM when we did visualage, which could do this in other ways, though not optimally.

    Is it common? Not a chance.

    Your claim that increasingly more modern languages have semantic highlighting in real time is simply false - most cannot real time semantic highlight even a 100k file on every keystroke. There are a very small number which can, and it's mostly by luck - they fall down on larger files because they have no incrementality. Meanwhile, this is trivial with tree-sitter for all languages because of it's optimality. If you want to see it in action - turn on semantic highlighting for vscode and type fast - most of the time you will lose syntax highlighting because things can't keep up. see, e.g., https://github.com/microsoft/vscode-extension-samples/issues...

    Again, yes, you could make a compiler for every language which supports a mode that does what tree-sitter does. and people could carefully implement parsers/lexers in each of their favorite compilers and languages that support optimal incremental parsing in them. and then pay the cost of integrating 50 language specific ways of transforming these to work with the editor, basically reinventing what tree-sitter already did right. (As per above, the current semantic token and highlighting support does not resolve this).

    You seem to really otherwise be complaining that you believe it does always generate correct parsers. Like I said, that seems totally orthogonal to anything about the speed issue, and if that's your real concern, have at it.

  • I made a crate to organize my unit tests with it's own VSCode extension.
    1 project | /r/rust | 28 Apr 2023
    After Googling everywhere for how those little gray bastard are called, here's their name : codeLens and are API of VSCode extensions. An excellent example of how to use them is given here. My first codeLens was to open the file. But then I wanted more! Now my extension can create unit tests file when missing, rename them in the filesystem and code, delete them, generate test template, etc...
  • I made a VSCode extension: "markdown-table-rainbow"
    2 projects | dev.to | 21 Apr 2023
    Official sample extension (Decorator)
  • Is there any way to (relatively easily) create syntax highlighting for my own programming language from ANTLR4 grammar?
    2 projects | /r/ProgrammingLanguages | 16 Apr 2023

rainbow-delimiters

Posts with mentions or reviews of rainbow-delimiters. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-11-24.
  • Y'all deserve a medal or something
    1 project | /r/emacs | 24 Jan 2023
    I'm a big fan of rainbow-delimiters, available on Melpa.
  • Template Engine Minor Modes?
    1 project | /r/emacs | 14 Jan 2022
    rainbow-delimiters ( https://github.com/Fanael/rainbow-delimiters/ ) does this for parenthesis/braces etc but is somewhat bound to the syntax tree of whatever major mode is currently in use, it also scans on a per-character basis, where I'd need to scan for regex.
  • Tree Sitter and the Complications of Parsing Languages
    10 projects | news.ycombinator.com | 24 Nov 2021
    > Lighting up the active scopes

    As you had guessed a little later, there are a few different emacs packages that do this. One of them is "rainbow parentheses" that gives every bracket a different colour (remember that emacs supports lisp, so differentiating between lots of different parentheses is arguably more useful in emacs than any other editor). [0].

    Another one is highlight parentheses [1] which highlights all parens that enclose the cursor position, and gives a darker colour to those "further away" from the cursor.

    [0] https://github.com/Fanael/rainbow-delimiters

    [1] https://sr.ht/~tsdh/highlight-parentheses.el/

  • How We Made Bracket Pair Colorization 10,000x Faster
    16 projects | news.ycombinator.com | 29 Sep 2021
    This article is especially interesting to me, as it shows how VS Code still doesn't have the "Emacs nature". Even though I'm a 30-year Emacs user, I do hesitate to recommend it to younger programmers because it's so alien, and VS Code has one of the essential characteristics of Emacs: the extension language and the implementation language are the same. But this article is a great example of how it doesn't — extensions are limited to using an extension API, rather than having full access to the application's internals. Maybe a good thing, if you're a mass-market product worried about malicious extensions. But I'll note that [rainbow-delimiters-mode](https://github.com/Fanael/rainbow-delimiters/) dates back to 2010, and has never noticeably slowed down loading or display of source files, even in languages with lots of delimiters like Lisp.
  • Practical questions from a lisp beginner
    7 projects | /r/lisp | 11 Jun 2021
    Using highlight-parentheses-mode, which is an additional package, helps. There are also show-paren-mode (build in) and rainbow-delimiters (additional package), whose could help there.
  • Humanoid themes updated with many new faces, fixes and color adjustments; constructive feedback welcome!
    2 projects | /r/emacs | 23 May 2021

What are some alternatives?

When comparing vscode-extension-samples and rainbow-delimiters you can also consider the following projects:

hy-language-server - Hy Language Server built using Jedhy. works only under Hy1.0a1. For the recent version of Hy, please use https://github.com/sakuraiyuta/hyuga instead.

Bracket-Pair-Colorizer-2 - Bracket Colorizer Extension for VSCode

nvim-ts-rainbow - Rainbow parentheses for neovim using tree-sitter. Use https://sr.ht/~p00f/nvim-ts-rainbow instead

vscode-snippets-ranger - View and edit all of your snippets in one purty place! Yee-haw!!

rainbow-blocks - block syntax highlighting in emacs

prism.el - Disperse Lisp forms (and other languages) into a spectrum of colors by depth

emacs-noob - A curated emacs set up intended to decrease the learning curve

vscode-vsce - VS Code Extension Manager

emacs-humanoid-themes - Light and dark theme with bright colors for Emacs that supports GUI and terminal

vscode-javascript-extensions - VS Code extension examples written in in JavaScript

atom-focus-mode - Atom editor extension - fades editor content and highlights only the lines you are working on