File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,8 @@ import { getLocalContext } from '../misc/blocks'
13
13
const {
14
14
gotosymbol : gotoSymbol ,
15
15
regeneratesymbols : regenerateSymbols ,
16
- } = client . import ( [ 'gotosymbol' , 'regeneratesymbols' ] )
16
+ clearsymbols : clearSymbols ,
17
+ } = client . import ( [ 'gotosymbol' , 'regeneratesymbols' , 'clearsymbols' ] )
17
18
18
19
const includeRegex = / ( i n c l u d e | i n c l u d e _ d e p e n d e n c y ) \( " .+ \. j l " \) /
19
20
const filePathRegex = / " .+ \. j l " /
@@ -23,8 +24,11 @@ class Goto {
23
24
this . ink = ink
24
25
this . subscriptions = new CompositeDisposable ( )
25
26
this . subscriptions . add (
26
- atom . commands . add ( 'atom-workspace' , 'julia-client:regenerate-symbol -cache' , ( ) => {
27
+ atom . commands . add ( 'atom-workspace' , 'julia-client:regenerate-symbols -cache' , ( ) => {
27
28
regenerateSymbols ( )
29
+ } ) ,
30
+ atom . commands . add ( 'atom-workspace' , 'julia-client:clear-symbols-cache' , ( ) => {
31
+ clearSymbols ( )
28
32
} )
29
33
)
30
34
}
You can’t perform that action at this time.
0 commit comments