vscode-extension-samples VS dark

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

vscode-extension-samples

Sample code illustrating the VS Code extension API. (by microsoft)

dark

Darklang main repo, including language, backend, and infra (by darklang)
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 dark
35 43
8,125 1,601
2.7% 3.1%
8.7 9.9
4 days ago 5 days ago
TypeScript F#
MIT License GNU General Public License v3.0 or later
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

dark

Posts with mentions or reviews of dark. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-24.
  • Darklang
    1 project | news.ycombinator.com | 14 Dec 2023
  • WASM_of_OCaml
    2 projects | news.ycombinator.com | 24 Jul 2023
    Yes. Darklang was originally in OCaml using js_of_ocaml, and we ported it to F# using Blazor (https://github.com/darklang/dark/tree/main/backend/src/Wasm). It works.

    We found that in dotnet 6, the code was much slower, with long startup times and a much bigger download, than in js_of_ocaml. It also had a lot of issues in running in a Webworker, which wasn't the case for js_of_ocaml.

    In dotnet 7, the webworker issues are better and AOT is easier, so startup is faster. Download sizes are still bad, and it's still slower than js_of_ocaml.

    However, dotnet allows almost any code to run in WASM, which js_of_ocaml had large limitations. This meant a decent chunk of functionality had to be worked around to make separate js vs native targets, which also was a massive pain and took a long time. Dune's virtual targets wasn't ready at the time - I think we were one of the test cases for it.

  • It's so unfortunate they decided to go with the Clojure/Haskell type syntax, as opposed to something friendlier like Elixir. A lot of people will not even try this language as a result. [Unison]
    1 project | /r/programmingcirclejerk | 17 Jun 2023
    Why should I use this instead of https://darklang.com/
  • Cloud, Why So Difficult?
    6 projects | /r/programming | 29 May 2023
    First it was probably Dark. They made a lot of noise some years ago, but then I never heard of them again (looking at their current website, looks like they moved on to AI now, obviously).
  • New open-source programming language for DevOps engineers by the creator of the CDK
    11 projects | /r/devops | 15 Apr 2023
    Reminds me of Darklang. Personally, I don't think vendoring cloud services into a language is going to be beneficial. I'm curious how the language deals with vendor updates. Do I have to upgrade the language then? If so, I see a lot conflicts coming from this. Then it comes down to Javascript or HCL, the HCL bit makes me think that the below statement is not as truthy as it is on the surface:
  • Darklang Release 9
    1 project | news.ycombinator.com | 27 Jan 2023
    We still don't have all that many users (~100 active), so I'm not sure you'll find an answer here. But we collect that sort of feedback publicly, which might answer your question: https://github.com/darklang/dark/discussions/categories/feed...
  • Making Something Waspy: A Review Of Wasp
    6 projects | dev.to | 10 Jan 2023
    I wish I could remember what took me to YCombinator's website on the 10th of October, 2022. That was when I first heard about Wasp and another language called DarkLang. After I learned about Wasp, I was intrigued and curious to know how it works, which led me to join the discord server the next day.
  • Using Rust at a Startup: A Cautionary Tale
    8 projects | news.ycombinator.com | 22 Nov 2022
    Some languages that try to integrate an HTTP server and a database:

    Ur/Web: http://impredicative.com/ur/

    Dark (Darklang): https://darklang.com/

  • The Current State of Infrastructure From Code
    6 projects | dev.to | 16 Nov 2022
    There are others in this space I did not assess like Encore, Shuttle, Modal, and Dark. These were not assessed for the sake of time. If you're interested in IfC, I encourage you to take a look at these others.
  • Finally, we have support for negative numbers!
    2 projects | /r/programmingcirclejerk | 4 Nov 2022
    Oh, finally! I was waiting to build my serverless CRUD webapp in Dark (OCaml + JavaScript and Fsharp?) until they had support for returning negative numbers on a GET request!

What are some alternatives?

When comparing vscode-extension-samples and dark 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.

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

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

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

unison - A friendly programming language from the future

rainbow-delimiters - Emacs rainbow delimiters mode

nanos - A kernel designed to run one and only one application in a virtualized environment

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

liquibase - Main Liquibase Source

vscode-vsce - VS Code Extension Manager

terraform-cdk - Define infrastructure resources using programming constructs and provision them using HashiCorp Terraform