ipatalas / vscode-postfix-ts

Postfix notation for TypeScript/Javascript - extension for VS Code
MIT License
158 stars 43 forks source link

Svelte vue html #97

Closed ipatalas closed 1 year ago

ipatalas commented 1 year ago

Added support for Svelte/Vue/HTML. Cherry-picked commits from @zardoy and fixed few bits and pieces to make tests green again.

codecov[bot] commented 1 year ago

Codecov Report

Base: 98.08% // Head: 93.20% // Decreases project coverage by -4.88% :warning:

Coverage data is based on head (99a405c) compared to base (8480b79). Patch coverage: 66.49% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #97 +/- ## =========================================== - Coverage 98.08% 93.20% -4.88% =========================================== Files 22 23 +1 Lines 1253 1369 +116 Branches 232 241 +9 =========================================== + Hits 1229 1276 +47 - Misses 23 90 +67 - Partials 1 3 +2 ``` | [Impacted Files](https://codecov.io/gh/ipatalas/vscode-postfix-ts/pull/97?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Ireneusz+Patalas) | Coverage Δ | | |---|---|---| | [src/htmlLikeSupport.ts](https://codecov.io/gh/ipatalas/vscode-postfix-ts/pull/97?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Ireneusz+Patalas#diff-c3JjL2h0bWxMaWtlU3VwcG9ydC50cw==) | `30.86% <30.86%> (ø)` | | | [src/extension.ts](https://codecov.io/gh/ipatalas/vscode-postfix-ts/pull/97?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Ireneusz+Patalas#diff-c3JjL2V4dGVuc2lvbi50cw==) | `91.30% <80.00%> (-6.48%)` | :arrow_down: | | [src/utils/templates.ts](https://codecov.io/gh/ipatalas/vscode-postfix-ts/pull/97?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Ireneusz+Patalas#diff-c3JjL3V0aWxzL3RlbXBsYXRlcy50cw==) | `95.16% <80.00%> (-4.84%)` | :arrow_down: | | [src/completionItemBuilder.ts](https://codecov.io/gh/ipatalas/vscode-postfix-ts/pull/97?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Ireneusz+Patalas#diff-c3JjL2NvbXBsZXRpb25JdGVtQnVpbGRlci50cw==) | `96.72% <88.88%> (+0.81%)` | :arrow_up: | | [src/utils/typescript.ts](https://codecov.io/gh/ipatalas/vscode-postfix-ts/pull/97?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Ireneusz+Patalas#diff-c3JjL3V0aWxzL3R5cGVzY3JpcHQudHM=) | `98.61% <90.00%> (-1.39%)` | :arrow_down: | | [src/templates/baseTemplates.ts](https://codecov.io/gh/ipatalas/vscode-postfix-ts/pull/97?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Ireneusz+Patalas#diff-c3JjL3RlbXBsYXRlcy9iYXNlVGVtcGxhdGVzLnRz) | `96.85% <90.90%> (-3.15%)` | :arrow_down: | | [src/postfixCompletionProvider.ts](https://codecov.io/gh/ipatalas/vscode-postfix-ts/pull/97?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Ireneusz+Patalas#diff-c3JjL3Bvc3RmaXhDb21wbGV0aW9uUHJvdmlkZXIudHM=) | `92.73% <91.83%> (-0.73%)` | :arrow_down: | | [src/templates/castTemplates.ts](https://codecov.io/gh/ipatalas/vscode-postfix-ts/pull/97?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Ireneusz+Patalas#diff-c3JjL3RlbXBsYXRlcy9jYXN0VGVtcGxhdGVzLnRz) | `100.00% <100.00%> (ø)` | | | [src/templates/consoleTemplates.ts](https://codecov.io/gh/ipatalas/vscode-postfix-ts/pull/97?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Ireneusz+Patalas#diff-c3JjL3RlbXBsYXRlcy9jb25zb2xlVGVtcGxhdGVzLnRz) | `100.00% <100.00%> (ø)` | | | [src/templates/customTemplate.ts](https://codecov.io/gh/ipatalas/vscode-postfix-ts/pull/97?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Ireneusz+Patalas#diff-c3JjL3RlbXBsYXRlcy9jdXN0b21UZW1wbGF0ZS50cw==) | `100.00% <100.00%> (ø)` | | | ... and [11 more](https://codecov.io/gh/ipatalas/vscode-postfix-ts/pull/97?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Ireneusz+Patalas) | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Ireneusz+Patalas). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Ireneusz+Patalas)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

ipatalas commented 1 year ago

TODO: add at least few smoke tests for Svelte/Vue/HTML so that it's not forgotten.