File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 44 HoverProvider as vsHoverProvider ,
55 TextDocument ,
66 Position ,
7- CancellationToken ,
87 ProviderResult ,
98 Hover ,
109 workspace ,
@@ -13,7 +12,7 @@ import {
1312import * as util from '../util' ;
1413
1514export class HoverProvider implements vsHoverProvider {
16- provideHover ( doc : TextDocument , pos : Position , token : CancellationToken ) : ProviderResult < Hover > {
15+ provideHover ( doc : TextDocument , pos : Position ) : ProviderResult < Hover > {
1716 let reg = / (?< = v i e w \( | @ i n c l u d e \( | @ e x t e n d s \( | @ c o m p o n e n t \( ) ( [ ' " ] ) [ ^ ' " ] * \1/ ;
1817 let config = workspace . getConfiguration ( 'laravel_goto_view' ) ;
1918 let linkRange = doc . getWordRangeAtPosition ( pos , reg ) ;
Original file line number Diff line number Diff line change 33import {
44 DocumentLinkProvider as vsDocumentLinkProvider ,
55 TextDocument ,
6- CancellationToken ,
76 ProviderResult ,
87 DocumentLink ,
98 workspace ,
@@ -13,7 +12,7 @@ import {
1312import * as util from '../util' ;
1413
1514export class LinkProvider implements vsDocumentLinkProvider {
16- public provideDocumentLinks ( doc : TextDocument , token : CancellationToken ) : ProviderResult < DocumentLink [ ] > {
15+ public provideDocumentLinks ( doc : TextDocument ) : ProviderResult < DocumentLink [ ] > {
1716 let documentLinks = [ ] ;
1817 let config = workspace . getConfiguration ( 'laravel_goto_view' ) ;
1918 let index = 0 ;
You can’t perform that action at this time.
0 commit comments