microsoft / microsoft/vscode-azuretools

Restructure to remove redundant utils files

Open
#1,012 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
144
Forks
82
Avg merge
18h 7m
Merged PRs (30d)
8

Description

I'm seeing some things like this, UninitializedExtensionVariables, azureUtils, etc. that is getting duplicated quite a bit. It doesn't have to be now (it'd be a pretty big job) but we should look into restructuring things to permit more code sharing.

Originally posted by @bwateratmsft in https://github.com/microsoft/vscode-azuretools/pull/1010#discussion_r726247629

Including: nonNull, openUrl, localize...

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inventorying the duplicated utils files and the usages of UninitializedExtensionVariables, azureUtils, nonNull, openUrl, and localize. Determine which code can be shared without changing package behavior; done means the redundant utilities are consolidated and the affected extensions continue to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.