Everlaw / nbts

NetBeans TypeScript editor plugin
282 stars 46 forks source link

Please add functionality to jump from view source into the component. #84

Open Chris2011 opened 7 years ago

Chris2011 commented 7 years ago

As I described it here: https://github.com/Everlaw/nbts/issues/82#issuecomment-273576632

It should be possible to have a module called label-list with those files: app.component.html and app.component.ts. Inside the .ts file I have this code:

import { Component } from '@angular/core';

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.scss']
})
export class AppComponent {
  title = 'app works!';
}

inside the html file I have this code:

<h1>
  {{title}}
</h1>

when I ctrl + click on title it should be possible, that it jumps into the code where title was set. This sometimes works in the AngularJS implementation of NetBeans.

Cheers

Chris