ace VS pyright

Compare ace vs pyright and see what are their differences.

ace

Ace (Ajax.org Cloud9 Editor) (by ajaxorg)

pyright

Static Type Checker for Python (by microsoft)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
ace pyright
34 135
26,385 12,006
0.4% 2.2%
9.4 9.8
2 days ago 2 days ago
JavaScript Python
GNU General Public License v3.0 or later 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.

ace

Posts with mentions or reviews of ace. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-25.
  • Show HN: A note-keeping system on top of Fossil SCM
    2 projects | news.ycombinator.com | 25 Oct 2023
    I used a note system built on top of Fossil as my primary system for quite a while. Here are the details in case anyone is interested.

    Fossil allows CGI extensions[1]. There's a database for tickets, but that's just a regular SQLite table that you can use to store anything you want, and it's version controlled and queryable. I stored the notes plus metadata in the tickets database. The CGI returned HTML with the Ace editor for creating/editing notes.[2] Notes were stored using the command line.[3] I needed to add the web server user to the sudoers file to access the Fossil binary.

    There were two reasons to use Fossil for this. The biggest was that it handled authentication. The second is that I had a version controlled database to do all the work for me.

    I think I eventually moved away from it because I prefer working locally. The "transition" was dumping the data out of the database and into markdown files.

    [1] https://fossil-scm.org/home/doc/trunk/www/serverext.wiki

    [2] https://ace.c9.io/

    [3] https://fossil-scm.org/home/help?cmd=ticket

  • browser based editor?
    2 projects | /r/PHP | 19 May 2023
    Ace editor -> https://ace.c9.io/
  • Writing a (simple) code editor for the web?
    4 projects | /r/AskProgramming | 8 Apr 2023
    Hey there! Thanks for reaching out. Writing a code editor with syntax highlighting in a browser can be a little tricky, but it's definitely doable. One resource that might be helpful is the Ace Editor library (https://ace.c9.io/). It's a lightweight but powerful editor that includes syntax highlighting for a huge range of languages. You could also check out CodeMirror (https://codemirror.net/), which is another popular library for building web-based code editors. Good luck, and let us know how it goes!
  • Keyboard shortcuts for the editor?
    1 project | /r/neocities | 23 Feb 2023
    neocities seems to use the ace editor, and you can view its default keybinds here: https://github.com/ajaxorg/ace/wiki/Default-Keyboard-Shortcuts
  • The ShnooTalk programming language
    6 projects | /r/ProgrammingLanguages | 10 Nov 2022
    The frontend uses the ace editor for syntax highlighting and then sends all the "text" you have typed to a python backend. The backend then writes all the text to a temporary directory and calls the compiler using subprocess (something similar to os.system).
  • MDSlides - Simple markdown presentation tool
    2 projects | /r/Markdown | 29 Oct 2022
    It is built using Reveal.js and Ace, and is a simple markdown presentation tool right in the browser.
  • Ace – The High Performance Code Editor for the Web
    1 project | news.ycombinator.com | 28 Sep 2022
  • Enhance
    1 project | news.ycombinator.com | 27 Sep 2022
    https://github.com/ajaxorg/ace

    It's a pretty complex JavaScript application but you can development and even run tests locally without ever needing to "build". I'm building a JavaScript-based text editor, too, and it also uses Makefile and you can just run a static file server such as Python SimpleHTTPServer to host all the files in the directory. I still have and componentized HTML/CSS, separated JS files.

  • Frontend library for syntax highlighting / validation of uBlock rules
    4 projects | /r/uBlockOrigin | 14 Aug 2022
    Thanks for the suggestion! Although Ace is not the most popular kid in the block, it is still maintained. It does support tmLanguage and could be used for a proof-of-concept editor!
  • Edit code from browser
    2 projects | /r/reactjs | 5 Jul 2022
    For the code editing you can use Ace.

pyright

Posts with mentions or reviews of pyright. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-18.
  • Enhance Your Project Quality with These Top Python Libraries
    16 projects | dev.to | 18 Mar 2024
    Pyright is a fast type checker meant for large Python source bases. It can run in a “watch” mode and performs fast incremental updates when files are modified.
  • How to speed up Pyright + eglot.
    1 project | /r/emacs | 11 Nov 2023
    However, I made it faster for my use-case by changing some settings. Neovim allows to have these settings in the setup function for LSP. I was trying to figure out how do I change these settings with doom emacs. Pyright docs suggest to have these settings in pyrightconfig.json.
  • Mypy 1.6 Released
    5 projects | news.ycombinator.com | 17 Oct 2023
    Not exactly what you are looking for but maybe useful to others.

    https://github.com/microsoft/pyright/blob/main/docs/mypy-com...

  • VSCodium – Libre Open Source Software Binaries of VS Code
    10 projects | news.ycombinator.com | 4 Sep 2023
    You can use pyright instead[0]. It is the FOSS version of pyright, but having some features missing.

    [0]: https://github.com/microsoft/pyright

  • How do you enable semantic highlighting for Python?
    4 projects | /r/neovim | 7 Jul 2023
    Unfortunately, pyright explicitly stated that they are not interested in inlay hints or other language server features, that those will only be added to pylance. That's why I added it myself instead of submitting a pull request to pyright. See https://github.com/microsoft/pyright/issues/4325
  • How do I enable an LSP for json files?
    2 projects | /r/neovim | 7 Jul 2023
    return { -- add pyright to lspconfig { "neovim/nvim-lspconfig", ---@class PluginLspOpts opts = { ---@type lspconfig.options servers = { -- Listed servers will be automatically loaded to buffers jsonls = { settings = { json = { format = { enable = true, }, }, validate = { enable = true }, }, }, pyright = { settings = { python = { analysis = { -- https://github.com/microsoft/pyright/blob/main/docs/settings.md autoSearchPaths = false, useLibraryCodeForTypes = true, diagnosticMode = "openFilesOnly", }, }, }, }, }, -- Add folding capability to use LSP for ufo plugin capabilities = { textDocument = { foldingRange = { dynamicRegistration = false, lineFoldingOnly = true, }, }, }, }, }, }
  • VSCode isn't Recognizing installed Python Modules?
    1 project | /r/learnprogramming | 4 Jul 2023
    [{ "resource": "/Documents/Coding/VSCode/Projects/Photoeditor/PhotoEditor.py", "owner": "_generated_diagnostic_collection_name_#0", "code": { "value": "reportMissingModuleSource", "target": { "$mid": 1, "external": "https://github.com/microsoft/pyright/blob/main/docs/configuration.md#reportMissingModuleSource", "path": "/microsoft/pyright/blob/main/docs/configuration.md", "scheme": "https", "authority": "github.com", "fragment": "reportMissingModuleSource" } }, "severity": 4, "message": "Import \"requests\" could not be resolved from source", "source": "Pylance", "startLineNumber": 2, "startColumn": 8, "endLineNumber": 2, "endColumn": 16 }]
  • Pyright does not respect virtualenv (astronvim)
    3 projects | /r/neovim | 24 Jun 2023
    I don't use astro, but you can configure pyright by using a pyrightconfig.json or directly in the LSP configuration.
  • Eglot + pyright can not get completion on django.db.models
    6 projects | /r/emacs | 16 Jun 2023
  • Remote Development, Python IDE.
    1 project | /r/emacs | 17 May 2023
    I prefer jedi over pyright as pyright has crippled documentation support outside of VSCode. I also found jedi is make correct suggestions based on inferred type in some situations where pyright would need type annotation to provide completions, pyright is significantly faster though. Jedi with mypy and flake8 is comparable to pyright I think, but unfortunately mypy wasn't working over tramp. Also isort wasn't working over tramp, but jedi, black, importmagic and flake8 all worked.

What are some alternatives?

When comparing ace and pyright you can also consider the following projects:

Monaco Editor - A browser based code editor

jedi-language-server - A Python language server exclusively for Jedi. If Jedi supports it well, this language server should too.

CodeMirror - In-browser code editor (version 5, legacy)

mypy - Optional static typing for Python

TinyMCE - The world's #1 JavaScript library for rich text editing. Available for React, Vue and Angular

python-lsp-server - Fork of the python-language-server project, maintained by the Spyder IDE team and the community

quill - Quill is a modern WYSIWYG editor built for compatibility and extensibility.

python-language-server - Microsoft Language Server for Python

PrismJS - Lightweight, robust, elegant syntax highlighting.

coc-jedi - coc.nvim wrapper for https://github.com/pappasam/jedi-language-server

Draft.js - A React framework for building text editors.

pylance-release - Documentation and issues for Pylance