You may have seen my attempt to share some useful Python snippets. You don't want silly and embarrassing mistakes when you can avoid them with this free extension. You don't want typos in your function and/or variable names. I never thought I'd need a spellcheck extension for code. If you ever had the questionable experience of peer programming on Teams, you will love this as a fantastic alternative. The liveshare extension is Google Docs for code. The indent rainbow extension makes it easy to decipher block alignment. Indents are great, but sometimes they can be hard to follow. ![]() Moreover, it comes with a massive amount of rich enhancements you need to check out. This enables quick communication about questions, and a meaningful commit message can often clear up design decisions. Line-by-line information when changes and were made and by whom. The GitLens extension takes the git capabilities of VS Code to a supercharged level. Todos, comments, questions, they all have a specific color that sticks out in the code to alert colleagues and future you. The Better Comments extension is great at leaving colour-coded notes in code. This AI docstring extension made a fantastic design choice of running this model in a local docker, which makes it viable in security-sensitive environments. If you want to step this up a notch, there's a development that builds on AutoDocstring and writes the docstring with state-of-the-art machine learning model codeBert. It works with type-hints even to enhance the docstrings. AutoDocstring directly enables docstring templates from function signatures. Not having a docstring means immediate technical debt and increased onboarding cost. Focusing code reviews towards areas that matter.Guiding developers to adhere to their team's patterns and styles.Delivering context-aware code completions.It is based on scanning thousands of Github repositories and finding common patterns within. It's fairly robust and will save you a significant amount of keystrokes. IntelliCode is the predictive text in VS Code. This extension single-handedly convinced my colleagues to switch to VS Code when I started my current position. This extension lets you sit anywhere with your familiar VS Code and remote into a headless server just as well as Docker and even the Windows Subsystem for Linux. I was able to work on a GPU server with a nice managed Linux installation while I was sitting on the mandatory windows machine in my office. The Remote Development extension has saved my PhD. Personally, I recommend black but generally anything that helps the linter calm down is great! Remote without getting stuck in vim This needs the appropriate packages installed. Get functions out to reuse and possibly add to our utils Format CodeĪdditionally, you can automatically format your code from the settings. Shorter lines and reusable calculations Extract Method You can sort all imports and semi-automatically refactor code by extracting variables and functions! Sort Imports Type Refactor to find some extremely useful Python functionality. You can access most settings in VS Code using Ctrl + Shift + P. It brings some amazing features, some of which you might have missed. VSCodium exists to make it easier to get the latest version of MIT-licensed VS Code.The Python extension is what taught VS Code Parselmouth. If you want to build from source yourself, head over to Microsoft’s vscode repo and follow their instructions. These binaries are licensed under the MIT license. ![]() This project includes special build scripts that clone Microsoft’s vscode repo, run the build commands, and upload the resulting binaries for you to GitHub releases. ![]() The VSCodium project exists so that you don’t have to download+build from source. Therefore, you generate a “clean” build, without the Microsoft customizations, which is by default licensed under the MIT license When you clone and build from the vscode repo, none of these endpoints are configured in the default product.json. We clone the vscode repository, we lay down a customized product.json that has Microsoft specific functionality (telemetry, gallery, logo, etc.), and then produce a build that we release under our license. When we build Visual Studio Code, we do exactly this. According to this comment from a Visual Studio Code maintainer: Microsoft’s vscode source code is open source (MIT-licensed), but the product available for download (Visual Studio Code) is licensed under this not-FLOSS license and contains telemetry/tracking.
0 Comments
Leave a Reply. |