vscode-extension-samples
WebViewFeedback
vscode-extension-samples | WebViewFeedback | |
---|---|---|
35 | 35 | |
8,125 | 413 | |
1.2% | 1.7% | |
8.7 | 8.8 | |
5 days ago | 7 days ago | |
TypeScript | ||
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-extension-samples
-
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...
-
I made a VSCode extension: "markdown-table-rainbow"
Official sample extension (Decorator)
- Is there any way to (relatively easily) create syntax highlighting for my own programming language from ANTLR4 grammar?
WebViewFeedback
-
Show HN: Ambient, a multiplayer game engine and platform using WASM/WebGPU/Rust
You say that being web centric precludes usage on conventional gaming platforms. What about all the games that are PC only anyways? They could use Tauri or whatnot & have incredibly easy time porting to native.
Games such as Battlefield have already used web technology to power much of the game chrome. Taking this a step further doesn't seem like a real constraint. Microsoft themselves are working to extend fast performance webviews to Xbox uwp's. https://github.com/MicrosoftEdge/WebView2Feedback/issues/215...
You're also not acknowledging the upside. Plenty of games would love to have an easy-to-make runs-anywhere multi-parryty game. Letting people log in from work or their phone could be a huge advantage to reaching markets. The market of people with access to web browsers is much bigger than the market of console owners!
You're also constraining your thinking to a narrow band in other ways, again ignoring plenty of great potential. Unreal has had huge success gaining entry into all kinds of unexpected spaces; cinema, architecture, events. Engines have a much wider market than just games, and having engines available on a much broader set of modalities than conventional game engines can unlock new use cases. No one's going to build a navigation tool requiring everyone to have a Steam Deck, but if all it takes is a phone then maybe that becomes interesting.
This also seems like an amazing starter kit for education and hobby coders. Wouldn't it be amazing to be able to be a year or two into learning development, and be able to create your own virtual world? That anyone can easily join & access from any device? That potential makes me thrilled.
Maybe this innovation isn't for you & you want to stick to conventional modalities. Fine, great! Don't use this. I for one see a lot of potential & reason for excitement. I think it has plenty of revenue potential, and vast amounts of cool potential.
-
Current state of MAUI?
Drag and drop is still broken in WebView2, so all blazor Maui drag and drop is broken. This is still not being fixed by MS https://github.com/MicrosoftEdge/WebView2Feedback/issues/2805
-
Chrome extensions in .NET web view controls
Add Ons or Extensions with WebView2 (WebView2Feedback#98)
-
Sojour 1.0.46.0 has been released!
FIXED! RPG-254 Unbeknownst to me, Microsoft broke the toolbar on the WebView2 component that Sojour uses for displaying PDFs. The toolbar is now visible again and I have also fixed an odd threading issue, where once upon a time, opening a character sheet used to make that character sheet's window unresponsive for the first click. It's now responsive from the get-go.
-
Microsoft Teams is getting big performance improvements next month
Comment on the page point to a few GitHub issues for macOS and Linux support.
Linux: https://github.com/MicrosoftEdge/WebView2Feedback/issues/645...
> Hey all - We don't currently have a timeline for when we would begin this work. Unfortunately it's very unlikely to be soon.
macOS: https://github.com/MicrosoftEdge/WebView2Feedback/issues/131...
> No updates since @ningccn's comment above. We are continuing to make progress on Mac and haven't begun Linux planning yet.
"Microsoft Teams is getting big performance improvements".... but only for Windows!
Maybe some day we can have WebView2 in Linux[1] and others.
[1] https://github.com/MicrosoftEdge/WebView2Feedback/issues/645
-
Issues with Microsoft Edge WebView2 after release 109.0.1518.52
Got some traction over on GitHub, please post your comments there! Microsoft has acknowledged this issue and is tracking: https://github.com/MicrosoftEdge/WebView2Feedback/issues/3136
- Microsoft Edge Webview2 Runtime failing on install
- Mircosoft Teams desktop client on Linux is being retired and will be replaced by a progressive web app (running on Chrome/Edge).
-
MS Teams Linux client is being retired. To be replaced by a progressive web app
Yep, and edge webview2 uses edge for the most part. Yet there's something specific to the edge webview2 runtime that makes it hard to port even if edge itself is already available on mac/linux. I think it's because it uses some windows specific APIs to expose functionalities that aren't available to regular webviews.
They were planning on maybe releasing the linux port around the end of 2021, as they were prioritizing the mac port first.
But I don’t think even the mac port has been released yet... So it kind of makes sense for the Teams team (ha!) to just not bother with a linux release if the runtime they are developing on isn't even on the release roadmap yet. Though I guess that makes the switch from electron even more confusing.
https://github.com/MicrosoftEdge/WebView2Feedback/issues/645
What are some alternatives?
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.
lutris - Lutris desktop client
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-delimiters - Emacs rainbow delimiters mode
prism.el - Disperse Lisp forms (and other languages) into a spectrum of colors by depth
vscode-python - Python extension for Visual Studio Code
vscode-vsce - VS Code Extension Manager
awesome-electron-alternatives - A curated list of awesome Electron alternatives.