Skip to content

v0.3.9

Compare
Choose a tag to compare
@olafurpg olafurpg released this 26 Apr 10:33
· 75 commits to main since this release

Code navigation for constructors

Add definitions and references for constructors by @SuperAuguste in #250

Previously, it was not possible to do "Find references" on constructors in cases like below

export class SuperConstructor {
  constructor(public readonly property: number) {}
//^^^^^^^^^^^ <--- "Find references" had no results here
}
export function useConstructor(): SuperConstructor {
  return new SuperConstructor(10)
//           ^^^^^^^^^^^^^^^^ <--- "Go to definition" went to the class instead of constructor
}

This release fixes this issue for both "Find references" and "Go to definition". Big kudos to @SuperAuguste for fixing important issue in his first contribution to scip-typescript 👏🏻

New Contributors

Full Changelog: v0.3.8...v0.3.9