microsoft / microsoft/kiota

Migrate vscode extension + test infrastructure to ESM

Open
#5,752 2 comments 0 reactions 0 assignees View on GitHub
type:feature vscode-extension
Dominant language
C#
Stars
3.8k
Forks
333
Avg merge
16h 29m
Merged PRs (30d)
116

Description

### Is your feature request related to a problem? Please describe the problem.

_No response_

### Client library/SDK language

TypeScript

### Describe the solution you'd like

Current infrastructure for vscode extension is based off commonjs as appears here https://github.com/microsoft/kiota/blob/main/vscode/microsoft-kiota/tsconfig.json#L4. We would like to experiment with moving the project to using ESM modules instead.

This was brought about as a result of a PR review as appears in this comment https://github.com/microsoft/kiota/pull/5540#discussion_r1819067720

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with vscode/microsoft-kiota/tsconfig.json and the linked PR review discussion to understand the current CommonJS setup and the requested ESM direction. Trace the VS Code extension and its test infrastructure, then verify that both use ESM consistently and that the existing tests still run successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
devtools, testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.