Skip to content

Implementations Code Lens For TypeScript #20832

Closed

Description

@mjbvz
No description provided.

Activity

  1. added
    feature-request
    javascript
    typescript
    on Feb 17, 2017
  2. added
    plan-item
    verification-needed
    on Mar 6, 2017
  3. isidorn commented on Mar 29, 2017

    @isidorn

    I tried setting "typescript.implementationsCodeLens.enabled": true - however there was no effect on the vscode worksace.
    I only get typescript codelense if I set "typescript.referencesCodeLens.enabled": true, however implementationsCodeLens makes no difference.
    What am I doing wrong here?

  4. chrmarti commented on Mar 30, 2017

    @chrmarti
    Collaborator

    It's not connected to the configuration change event. Will link a PR fixing that. Reopening so we can decide on what to do. /cc Kai Maetzel (@kieferrm)

  5. roblourens commented on Mar 30, 2017

    @roblourens
    Member

    Side question, is the implementation supposed to be highlighted like this?

    image

  6. roblourens commented on Mar 30, 2017

    @roblourens
    Member

    I guess so, same color as used for 'find references', just... more

  7. isidorn commented on Mar 30, 2017

    @isidorn

    Christof Marti (@chrmarti) I still do not see this working in latest insiders.
    Just wanted to let you know since i think your PR was merged

  8. chrmarti commented on Mar 30, 2017

    @chrmarti
    Collaborator

    Just checked and it seems to work for:

    interface Foo {
        bar(): void;
    }
    
    class Baz implements Foo {
        bar() {
        }
    }
    
    new Baz().bar();

    That shows as:
    screen shot 2017-03-30 at 7 38 04 am

    I wonder if bar() on the interface should also show an implementation. With the fix, the lenses now update with the configuration change without reload for me. (Closing for verification.)

  9. chrmarti commented on Mar 30, 2017

    @chrmarti
    Collaborator

    Verifier: This requires TypeScript 2.2.0 or higher to work.

  10. added
    verified
    and removed
    verification-needed
    on Apr 27, 2017
  11. locked and limited conversation to collaborators on Nov 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requestjavascriptplan-itemtypescriptverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions