The simple class name was calculated with prefixed '.' character
This commit is contained in:
parent
94b08ebc03
commit
a1027767d4
@ -72,7 +72,7 @@ function! s:findFolderFromStackTrace(src,nameFromStackTrace)
|
|||||||
" Remove method name.
|
" Remove method name.
|
||||||
let l:canonicalClassName = strpart(a:nameFromStackTrace, 0, strridx(a:nameFromStackTrace, "."))
|
let l:canonicalClassName = strpart(a:nameFromStackTrace, 0, strridx(a:nameFromStackTrace, "."))
|
||||||
" Remove package name.
|
" Remove package name.
|
||||||
let l:simpleClassName = strridx(l:canonicalClassName, ".") >= 0 ? strpart(l:canonicalClassName, strridx(l:canonicalClassName, ".")) : l:canonicalClassName
|
let l:simpleClassName = strridx(l:canonicalClassName, ".") >= 0 ? strpart(l:canonicalClassName, strridx(l:canonicalClassName, ".") + 1) : l:canonicalClassName
|
||||||
" Remove class name.
|
" Remove class name.
|
||||||
let l:package = strridx(l:canonicalClassName, ".") >= 0 ? strpart(l:canonicalClassName, 0, strridx(l:canonicalClassName, ".")) : ""
|
let l:package = strridx(l:canonicalClassName, ".") >= 0 ? strpart(l:canonicalClassName, 0, strridx(l:canonicalClassName, ".")) : ""
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user