vscode-textmate
zed
vscode-textmate | zed | |
---|---|---|
5 | 31 | |
541 | 32,865 | |
1.8% | 10.1% | |
5.5 | 10.0 | |
4 months ago | 2 days ago | |
TypeScript | Rust | |
MIT License | GNU General Public License v3.0 or later |
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-textmate
-
Building a syntax highlighting extension for VS Code
Luckily, there is a project that has fitted my needs perfectly: vscode-grammar-test. It’s a command line tool that builds on the VS Code regex engine and grammar file parser and allows to run unit tests directly against a given grammar file.
-
Dark mode with Shiki and Code Hike
Shiki does this because the underlying library vscode-textmate or vscode-oniguruma returns black if the value is not a valid color. This explains why Code Hike uses blackish color codes instead of variables. But what if we write a variable directly into the theme instead of the color code.
-
How to get font colors but not syntax highlighting for a file in custom language?
Thank you for the response! I feared that I might have to create a vscode extension for the language. I'm assuming I can use this json file to build textmate grammar for Stks ? Do you suggest any specific resources for learning textmate grammar and regex? I'm especially unfamiliar with regex. Thanks again
-
NEW VSCode extension "Blockman" to highlight nested code blocks
I see now. Thanks for the hint!
-
Show HN: Ray.so – Create beautiful images of your code
There are lots of different approaches you could take. For sourcecodeshots, I run it through VSCode's tokenizer (https://github.com/microsoft/vscode-textmate) and then use node-canvas to generate the image one line at a time.
It's a very imperative process and fairly slow on a cpu, but the nice thing is that I can run the same code in the browser to speed up development. The Rust project, https://github.com/Aloxaf/silicon, mentioned in another part of the comments is probably faster, but I didn't find it when I was searching for a solution.
zed
-
Exploring Zed, an open source code editor written in Rust
Zed is a new, open source, multiplayer code editor written in Rust. It was developed by the creators of Atom and Tree-sitter — Nathan Sobo, Antonio Scandurra, and Max Brunsfeld. The team launched Zed in early 2023 and later open sourced it in 2024.
-
Zed Decoded: Rope and SumTree
There is an open issue about helix keybinds:
https://github.com/zed-industries/zed/issues/4642
- I can't stand using VSCode so I wrote my own (it wasn't easy)
-
What is your favorite IDE/text-editor?
Currently vim, but I’m very excited about Zed.
https://zed.dev/
-
Zed and AI will save us millions
The software engineering world has changed a lot, but it seems like both workers and companies haven't fully caught up yet. Recently, I've been having a lot of fun using Zed. It made programming enjoyable for me again, just like it was many years ago. Some people think Zed is just another unfinished editor, but that's not right. Zed is an AI tool. If you're not using Zed with GitHub Copilot and OpenAI GPT, you're not using it correctly, and you likely don't need Zed at all.
-
Zed Decoded: Async Rust
I don't mean to reply-guy this thread, but it builds on Windows (and Linux)
https://github.com/zed-industries/zed/blob/main/docs/src/dev...
-
My First Impression of Zed AI Code Editor
You can try it out by downloading it from here https://zed.dev/
- A coding copilot with Claude 3 Opus
-
Building a syntax highlighting extension for VS Code
Now, fast forward to last year's Rails World conference that I was a lucky attendee of. What a breeze of fresh air! Among the many many inspiring people, talks and presentations, I noticed one thing: most people use VS Code, some use Vim but – more importantly – a lot of people tweak their editor / IDE almost as routinely as they tweak the code they work on professionally! And I thought: I want that too, how come I've lost this mindset here? I’ve taken for granted that I can tweak every imaginable aspect of my Linux OS as well as the Gnome environment so why not my IDE – the program that I literary spend most hours a day in? That was the final nudge for me to try to switch to something – anything really – that would be feasible for me to tweak and that’s how I ended up in VS Code. I’m not saying this will be my final IDE destination (looking at you Zed, Fleet or perhaps even Vim) but I know I want to stay closer to where a more active developer community around the editor is.
-
Local LLM Assistant in Zed
The GitHub issue #4424 for Zed relates to the lack of a feature for using local large language models (LLMs). In response to this, I proposed a workaround that enables the integration of local LLMs into Zed. This solution addresses the need for a non-proprietary, offline alternative to mainstream models like ChatGPT, potentially increasing privacy and control for users.
To integrate a custom model in Zed, I bypassed the limitation of only using OpenAI models. I did this by running the Mistral model from the Ollama library and cloning it to appear as "gpt-4-1106-preview." The steps included pulling and running the Mistral model, then using Ollama's commands to clone it. I updated Zed's settings to point to the local API URL of the cloned model. Restarting Zed applied these changes, enabling the use of the local LLM within Zed's environment.
For more details, you can refer to the GitHub issue directly: https://github.com/zed-industries/zed/issues/4424#issuecomme...
What are some alternatives?
tree-sitter-vue - Vue grammar for tree-sitter
lapce - Lightning-fast and Powerful Code Editor written in Rust
silicon - Create beautiful image of your source code.
helix - A post-modern modal text editor.
carbonate - Github Action to format fenced code blocks in github issues as images. Originally created as part of DEV Github Actions hackathon: https://dev.to/callmekatootie/jazz-up-the-code-blocks-in-github-issues-52e6
Monaco Editor - A browser based code editor
usfm-grammar - An elegant USFM parser.
zed-fonts - The Zed Mono and Sans typefaces, custom built from Iosevka
carbon - :black_heart: Create and share beautiful images of your source code
Visual Studio Code - Visual Studio Code
vscode-oniguruma - Oniguruma Bindings for VS Code
tree-sitter-solidity - Solidity grammar for tree sitter