fisheva / Eva-Theme

A comfortable and semantic theme.
https://marketplace.visualstudio.com/items?itemName=fisheva.eva-theme
MIT License
452 stars 38 forks source link

请区分一下 return 对象中变量与方法的颜色 #62

Closed i0air closed 2 years ago

i0air commented 2 years ago

例如

export function useFeature(){
  const foo = 'foo';
  const bar = () => {
    console.log('Hello world');
  }
  return { foo, bar } // These two should have different colors
}
fisheva commented 2 years ago

企业微信截图_20210909153601 企业微信截图_20210909153611 区分不了,因为VSCode给它们的Scope值是完全相同的。

i0air commented 2 years ago

image 有些主题是可以的,能参考它们的实现吗?

fisheva commented 2 years ago

企业微信截图_20210910093740 企业微信截图_20210910093753 默认主题用的是semantic highlight功能实现的,为什么Eva Theme尚未使用semantic highlight,我在这个issue#54里有说明, 最后一段。

i0air commented 2 years ago

非常感谢你的回复,我将继续关注#54的进展。