Moonglade

Modern Markdown blogging with AI-powered localization and search.

Tag: VSCode


Quick Start: VS Code Python Development Environment Setup Guide (2025 Edition)

This article provides a detailed demonstration of the complete process for building an efficient Python development environment using `uv`, `Ruff`, and `Ty`. First, it covers managing virtual environments and dependencies with `uv`, leveraging its high-performance characteristics to quickly install libraries such as `numpy`, `pandas`, and `Streamlit`. It also demonstrates how to configure domestic mirror sources to accelerate the download of large packages. Next, it delves into configuring VS Code with the `Ruff` plugin to automatically format code, clean up unused imports, and auto-fix syntax issues upon saving, significantly enhancing code cleanliness and development efficiency. Following this, the `Ty` tool is introduced for static type checking, complementing `Ruff`'s limitations in type safety by detecting potential type errors before code execution, with real-time diagnostics enabled via a VS Code plugin. Finally, the article compares the applicable scenarios of `Anaconda` and `uv`, recommending that beginners or research collaboration environments continue using `Anaconda`, while enterprise-level developers or advanced users pursuing ultimate efficiency and code quality should prioritize the combination of `uv`, `Ruff`, and `Ty` to achieve a more concise, fast, and standardized Python development experience.

Views 521
Python VS Code VSCode ruff ty uv

How to Enjoyably Develop .NET with AnduinOS

This article aims to provide .NET developers with a guide for setting up a development environment in VSCode on AnduinOS or any Linux system that closely mimics the Visual Studio experience. It begins by noting that, due to the lack of a free Visual Studio and the absence of a Rider Community Edition, VSCode emerges as an ideal alternative. The core content recommends the C# extension and its key settings, such as enabling OmniSharp decompilation support, EditorConfig, and the Roslyn analyzer, to enhance basic functionality. For advanced needs, it introduces the C# Dev Kit and its intelligent completion components, while cautioning about its commercial licensing restrictions and account login requirements. Additionally, it recommends Roslynator as a lightweight alternative for code analysis and refactoring, along with practical plugins for automatically generating XML documentation comments and completing namespaces. The article also briefly discusses the pros and cons of GitHub Copilot. The author emphasizes that these configurations can significantly improve development efficiency and invites readers to share further optimization suggestions, aiming to help developers achieve a smoother C# development experience on Linux platforms.

Views 312
.NET AnduinOS C# VSCode development-environment dotnet github-copilot vscode-plugins