add basic support for kotlin source files

This commit is contained in:
adelphes
2018-05-06 20:02:31 +01:00
parent da36e8e457
commit 5f0a02b17f
3 changed files with 6 additions and 3 deletions

View File

@@ -525,7 +525,7 @@ Debugger.prototype = {
},
_splitsrcfpn: function (srcfpn) {
var m = srcfpn.match(/^\/([^/]+(?:\/[^/]+)*)?\/([^./]+)\.java$/);
var m = srcfpn.match(/^\/([^/]+(?:\/[^/]+)*)?\/([^./]+)\.(java|kt)$/);
return {
pkg: m[1].replace(/\/+/g, '.'),
type: m[2],