utils/ide/ide_utils library
IDE detection, integration helpers, path conversion.
Ported from neomage/src/utils/ide.ts (1494 LOC).
Classes
- DetectedIDEInfo
- Detected IDE info.
- IdeConfig
- Configuration for a supported IDE.
- IDEExtensionInstallationStatus
- IDE extension installation status.
- IdeLockfileInfo
- Parsed IDE lockfile information.
- IdeUtils
- Manages IDE detection, extension installation, and integration.
- LockfileJsonContent
- JSON content of an IDE lockfile.
- WindowsToWSLConverter
- Converts Windows paths to WSL-accessible local paths.
Constants
-
supportedIdeConfigs
→ const Map<
IdeType, IdeConfig> - All supported IDE configurations.
Functions
-
checkWSLDistroMatch(
String path, String distroName) → bool - Check if a WSL path belongs to a specific distro.
-
isJetBrainsIde(
IdeType? ide) → bool - Check if an IDE type is a JetBrains variant.
-
isVSCodeIde(
IdeType? ide) → bool - Check if an IDE type is a VSCode variant.
-
toIDEDisplayName(
String? terminal) → String - Convert a terminal name to a display-friendly IDE name.