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 4
4
HoverProvider as vsHoverProvider ,
5
5
TextDocument ,
6
6
Position ,
7
- CancellationToken ,
8
7
ProviderResult ,
9
8
Hover ,
10
9
workspace ,
@@ -13,7 +12,7 @@ import {
13
12
import * as util from '../util' ;
14
13
15
14
export class HoverProvider implements vsHoverProvider {
16
- provideHover ( doc : TextDocument , pos : Position , token : CancellationToken ) : ProviderResult < Hover > {
15
+ provideHover ( doc : TextDocument , pos : Position ) : ProviderResult < Hover > {
17
16
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/ ;
18
17
let config = workspace . getConfiguration ( 'laravel_goto_view' ) ;
19
18
let linkRange = doc . getWordRangeAtPosition ( pos , reg ) ;
Original file line number Diff line number Diff line change 3
3
import {
4
4
DocumentLinkProvider as vsDocumentLinkProvider ,
5
5
TextDocument ,
6
- CancellationToken ,
7
6
ProviderResult ,
8
7
DocumentLink ,
9
8
workspace ,
@@ -13,7 +12,7 @@ import {
13
12
import * as util from '../util' ;
14
13
15
14
export class LinkProvider implements vsDocumentLinkProvider {
16
- public provideDocumentLinks ( doc : TextDocument , token : CancellationToken ) : ProviderResult < DocumentLink [ ] > {
15
+ public provideDocumentLinks ( doc : TextDocument ) : ProviderResult < DocumentLink [ ] > {
17
16
let documentLinks = [ ] ;
18
17
let config = workspace . getConfiguration ( 'laravel_goto_view' ) ;
19
18
let index = 0 ;
You can’t perform that action at this time.
0 commit comments