vscode-python
vscode-extension-samples
vscode-python | vscode-extension-samples | |
---|---|---|
77 | 35 | |
4,240 | 8,281 | |
0.4% | 1.9% | |
9.6 | 8.9 | |
6 days ago | 9 days ago | |
TypeScript | 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-python
-
The Weirdest Bug I've Seen Yet
Ah, Chrome and slow spinners.
Python tests were taking ages on VSCode due to an SVG spinner:
https://bugs.chromium.org/p/chromium/issues/detail?id=103626...
https://github.com/microsoft/vscode-python/issues/9216
-
Integrated terminal doesn't work when running a single line of Python code
It seems to be a problem caused by the new version of the Python extension. Here is a GitHub link for you to follow up.
-
How to Setup VSCode for C/C++ Programming (From a Microsoft Software Engineer)
For the python extension, please file your issue here: https://github.com/microsoft/vscode-python/issues
-
Should I be switching to VsCode from PyCharm?
There seems to be a focus on feature velocity, and as the big parts start to stabilize (language server stuff, refactoring, extension framework, general UI/UX expectations), I hope we'll see some more attention paid to the default experience. But changing defaults in an ecosystem where users embrace configurability is tough, see the pythonPath fiasco, so I don't know the way forward. Core dev Brett Cannon seems to support the opinionated path for the VSCode Python experience going forward, so we'll see where that takes us.
-
Python extension to break long strings
I filed a GitHub report, you can always follow up.
-
(Python) Intellisense not autocompleting inherited methods from imported module
Jedi said it had a fix on this post which links to this but isn't that just the Jedi source code showing fixes? The only reference I see in there is " Autocomplete inherited methods when overriding in child class ", but I just want it to autocomplete when typing a method from the parent class on a subclass instance.
-
Python 3.3.1 in VScode?
If you still want to use python3.3.1 in vscode, you can submit a report on GitHub to consult the official staff.
-
Python intellisense getting slower the further in the file
It works fine on my machine after testing, can you provide your test code and show your personal settings(settings.json)? If you are convinced that this is a problem with python extensions, you can file a report on GitHub.
-
"Import "pygame" could not be resolvedPylance" in VS Code
Does this help? Maybe you are opening the workspace at the wrong folder level?
-
SQLAlchemy mystery - small code segment showing some (but not all) SQLAlchemy objects are undefined
Actually, it looks like it might be an issue with syntax highlighting ("Intellisense" in MS terminology) in Microsoft VS Code. Here is almost an identical post to mine in their forum.
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?
What are some alternatives?
quokka - Repository for Quokka.js questions and issues
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.
openvscode-server - Run upstream VS Code on a remote machine with access through a modern web browser from any device, anywhere.
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!!
jupyter - Jupyter metapackage for installation, docs and chat
rainbow-delimiters - Emacs rainbow delimiters mode
dark - Darklang main repo, including language, backend, and infra
prism.el - Disperse Lisp forms (and other languages) into a spectrum of colors by depth
Poetry - Python packaging and dependency management made easy
vscode-vsce - VS Code Extension Manager