vscode-javascript-extensions
vscode-extension-samples
vscode-javascript-extensions | vscode-extension-samples | |
---|---|---|
1 | 37 | |
28 | 8,654 | |
- | 1.2% | |
2.4 | 9.0 | |
8 months ago | 6 days ago | |
JavaScript | TypeScript | |
MIT License | MIT License |
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-javascript-extensions
-
Write a VS Code extension in JavaScript, not TypeScript ^
View on GitHub
vscode-extension-samples
-
Building Your Own GitHub Copilot: A Step-by-Step Guide to Code Completion Tools
vscode-sample-inlinecompletion
-
I Made an Extended Version of Vimtutor – Introducing Vimtutor Sequel
I too share your sentiment about VS Code. Its extension API[0] is extensive and approachable, often with examples[1] for each API.
Just a small anecdote: At work, I found it frustrating not being able to quickly locate where views for Django API endpoints were, so I wrote a simple extension that took the output of django-extensions' show_urls, parsed it, and displayed a quick pick list of all API endpoints, upon which selecting an endpoint would open the file and reveal the exact line in which the view for it was defined.
Implementing this did not take much effort (in fact, TypeScript and JSDoc make everything a lot simpler as it's clear to see what each function in the API does and what arguments they accept), and now this is something I use almost every day and greatly improves my satisfaction when navigating the codebase if not my productivity in general.
I have tried looking into implementing something similar in Neovim and came across the API for telescope.nvim[2], but found it a lot less intuitive to use. I do think Vim/Neovim shines when it comes to text manipulation and extensions built around it, but when it comes to more complex UI that often deals a lot more with graphical elements (e.g. tree views, hover text, notifications), it's hard to beat VS Code.
[0]: https://code.visualstudio.com/api/references/vscode-api
[1]: https://github.com/microsoft/vscode-extension-samples
[2]: https://github.com/nvim-telescope/telescope.nvim/blob/master...
-
Initializing a Project with Any Git Repository - Code Recycle
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
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
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
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
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
VSCode CodeActions Sample
-
VSCode-WASM: Implement a first version of a WebShell
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.
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...
What are some alternatives?
openvsx - An open-source registry for VS Code extensions
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.
vscode-gremlins - Gremlins tracker for Visual Studio Code: reveals invisible whitespace and other annoying characters
Bracket-Pair-Colorizer-2 - Bracket Colorizer Extension for VSCode
vscode-playwright-snippets - 📋 A Visual Studio Code extension which adds predefined useful code snippets for Playwright
vscode-snippets-ranger - View and edit all of your snippets in one purty place! Yee-haw!!
GlassIt-VSC - VS Code Extension to set window to transparent on Windows platform.
rainbow-delimiters - Emacs rainbow delimiters mode
vscode-markdown-pdf - Markdown converter for Visual Studio Code
prism.el - Disperse Lisp forms (and other languages) into a spectrum of colors by depth
vscode-2077-theme - Cyberpunk 2077 inspired theme for visual studio code
vscode-vsce - VS Code Extension Manager