Skip to content

feat: optimize typescript interface navigation#3638

Merged
life2015 merged 1 commit intomainfrom
feat/optm-ts-interface-navi
May 9, 2024
Merged

feat: optimize typescript interface navigation#3638
life2015 merged 1 commit intomainfrom
feat/optm-ts-interface-navi

Conversation

@life2015
Copy link
Copy Markdown
Member

@life2015 life2015 commented May 9, 2024

Types

优化 Typescript 场景下的 Interface 跳转功能,改成了只对 Interface 定义处增加快速跳转图标,取消了接口内部声明的跳转图标,避免编辑器左侧内容的混乱。

image
  • 🎉 New Features

Background or solution

之前代码中对 Typescript 所有成员都有 Interface 快速跳转图标,但是在 Typescript 的场景中,接口成员很多并且相比 Java 而言空行和注释偏少,同时 Typescript 中对 Interface 用法也和 Java 有所不同,因此对 Typescript 做了逻辑精简。

Changelog

  • feat: optimize typescript interface navigation

@life2015 life2015 requested review from Ricbet and bytemain May 9, 2024 09:01
@railway-app
Copy link
Copy Markdown

railway-app Bot commented May 9, 2024

This PR was not deployed automatically as @life2015 does not have access to the Railway project.

In order to get automatic PR deploys, please add @life2015 to the project inside the project settings page.

@opensumi opensumi Bot added the 🎨 feature feature required label May 9, 2024
@codecov
Copy link
Copy Markdown

codecov Bot commented May 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 56.10%. Comparing base (6e5234e) to head (0f231b2).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3638   +/-   ##
=======================================
  Coverage   56.10%   56.10%           
=======================================
  Files        1513     1513           
  Lines       91785    91785           
  Branches    18818    18810    -8     
=======================================
  Hits        51498    51498           
  Misses      33410    33410           
  Partials     6877     6877           
Flag Coverage Δ
jsdom 51.52% <ø> (ø)
node 15.65% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@life2015 life2015 merged commit 532cd45 into main May 9, 2024
@life2015 life2015 deleted the feat/optm-ts-interface-navi branch May 9, 2024 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🎨 feature feature required

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants