microsoft / vscode-azureapicenter

MIT License
17 stars 13 forks source link

feat: add 'None' option to unselect active style guide #283

Closed formulahendry closed 1 week ago

formulahendry commented 1 week ago

image

image

codecov[bot] commented 1 week ago

Codecov Report

Attention: Patch coverage is 55.96330% with 48 lines in your changes missing coverage. Please review.

Project coverage is 50.12%. Comparing base (4a6d1c0) to head (7dbf40c). Report is 1 commits behind head on dev.

Files with missing lines Patch % Lines
src/utils/ensureExtension.ts 30.00% 14 Missing :warning:
src/commands/setApiRuleset.ts 80.00% 12 Missing :warning:
src/utils/ruleUtils.ts 21.42% 11 Missing :warning:
src/commands/rules/openRule.ts 0.00% 4 Missing :warning:
src/commands/generateApiLibrary.ts 0.00% 2 Missing :warning:
src/commands/testInPostman.ts 0.00% 2 Missing :warning:
src/extension.ts 0.00% 2 Missing :warning:
src/commands/generateHttpFile.ts 50.00% 1 Missing :warning:
Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/microsoft/vscode-azureapicenter/pull/283/graphs/tree.svg?width=650&height=150&src=pr&token=TIJgHIZNDD&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=microsoft)](https://app.codecov.io/gh/microsoft/vscode-azureapicenter/pull/283?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=microsoft) ```diff @@ Coverage Diff @@ ## dev #283 +/- ## ========================================== + Coverage 48.90% 50.12% +1.22% ========================================== Files 93 93 Lines 6053 6067 +14 Branches 167 178 +11 ========================================== + Hits 2960 3041 +81 + Misses 3091 3024 -67 Partials 2 2 ``` | [Files with missing lines](https://app.codecov.io/gh/microsoft/vscode-azureapicenter/pull/283?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=microsoft) | Coverage Δ | | |---|---|---| | [src/constants.ts](https://app.codecov.io/gh/microsoft/vscode-azureapicenter/pull/283?src=pr&el=tree&filepath=src%2Fconstants.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=microsoft#diff-c3JjL2NvbnN0YW50cy50cw==) | `100.00% <100.00%> (ø)` | | | [src/uiStrings.ts](https://app.codecov.io/gh/microsoft/vscode-azureapicenter/pull/283?src=pr&el=tree&filepath=src%2FuiStrings.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=microsoft#diff-c3JjL3VpU3RyaW5ncy50cw==) | `100.00% <100.00%> (ø)` | | | [src/commands/generateHttpFile.ts](https://app.codecov.io/gh/microsoft/vscode-azureapicenter/pull/283?src=pr&el=tree&filepath=src%2Fcommands%2FgenerateHttpFile.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=microsoft#diff-c3JjL2NvbW1hbmRzL2dlbmVyYXRlSHR0cEZpbGUudHM=) | `82.08% <50.00%> (ø)` | | | [src/commands/generateApiLibrary.ts](https://app.codecov.io/gh/microsoft/vscode-azureapicenter/pull/283?src=pr&el=tree&filepath=src%2Fcommands%2FgenerateApiLibrary.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=microsoft#diff-c3JjL2NvbW1hbmRzL2dlbmVyYXRlQXBpTGlicmFyeS50cw==) | `0.00% <0.00%> (ø)` | | | [src/commands/testInPostman.ts](https://app.codecov.io/gh/microsoft/vscode-azureapicenter/pull/283?src=pr&el=tree&filepath=src%2Fcommands%2FtestInPostman.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=microsoft#diff-c3JjL2NvbW1hbmRzL3Rlc3RJblBvc3RtYW4udHM=) | `0.00% <0.00%> (ø)` | | | [src/extension.ts](https://app.codecov.io/gh/microsoft/vscode-azureapicenter/pull/283?src=pr&el=tree&filepath=src%2Fextension.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=microsoft#diff-c3JjL2V4dGVuc2lvbi50cw==) | `0.00% <0.00%> (ø)` | | | [src/commands/rules/openRule.ts](https://app.codecov.io/gh/microsoft/vscode-azureapicenter/pull/283?src=pr&el=tree&filepath=src%2Fcommands%2Frules%2FopenRule.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=microsoft#diff-c3JjL2NvbW1hbmRzL3J1bGVzL29wZW5SdWxlLnRz) | `0.00% <0.00%> (ø)` | | | [src/utils/ruleUtils.ts](https://app.codecov.io/gh/microsoft/vscode-azureapicenter/pull/283?src=pr&el=tree&filepath=src%2Futils%2FruleUtils.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=microsoft#diff-c3JjL3V0aWxzL3J1bGVVdGlscy50cw==) | `40.00% <21.42%> (+40.00%)` | :arrow_up: | | [src/commands/setApiRuleset.ts](https://app.codecov.io/gh/microsoft/vscode-azureapicenter/pull/283?src=pr&el=tree&filepath=src%2Fcommands%2FsetApiRuleset.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=microsoft#diff-c3JjL2NvbW1hbmRzL3NldEFwaVJ1bGVzZXQudHM=) | `83.33% <80.00%> (+83.33%)` | :arrow_up: | | [src/utils/ensureExtension.ts](https://app.codecov.io/gh/microsoft/vscode-azureapicenter/pull/283?src=pr&el=tree&filepath=src%2Futils%2FensureExtension.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=microsoft#diff-c3JjL3V0aWxzL2Vuc3VyZUV4dGVuc2lvbi50cw==) | `46.42% <30.00%> (+7.96%)` | :arrow_up: |