File tree Expand file tree Collapse file tree
kotlin/io/maliboot/www/hyperf Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,10 +13,6 @@ import com.jetbrains.php.lang.psi.elements.PhpClass
1313val hyperfProxyFileSuffix: String
1414 get() = " proxy.php"
1515
16- fun VirtualFile.getLineStartOffset (line : Int ): Int {
17- return FileDocumentManager .getInstance().getDocument(this )?.getLineStartOffset(line) ? : 0
18- }
19-
2016fun VirtualFile.getLineNumber (offset : Int ): Int {
2117 return FileDocumentManager .getInstance().getDocument(this )?.getLineNumber(offset) ? : 0
2218}
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ import com.jetbrains.php.lang.parser.PhpElementTypes
1313import com.jetbrains.php.util.pathmapper.PhpPathMapper
1414import io.maliboot.www.hyperf.common.extend.*
1515
16+ @SuppressWarnings(" UnstableApiUsage" )
1617class HyperfProxyPathMapper : PhpTemplateLanguagePathMapper () {
1718
1819 override fun isTemplateFileType (p0 : FileType ): Boolean {
Original file line number Diff line number Diff line change 2020 <depends >com.jetbrains.php</depends >
2121
2222 <extensions defaultExtensionNs =" com.intellij" >
23- <php .debug.templateLanguage implementation =" io.maliboot.www.hyperf.debug.HyperfProxyPathMapper" order =" first" />
2423 <errorHandler implementation =" io.maliboot.www.hyperf.GithubErrorReporter" />
2524 </extensions >
25+ <extensions defaultExtensionNs =" com.intellij.php" >
26+ <debug .templateLanguage implementation =" io.maliboot.www.hyperf.debug.HyperfProxyPathMapper" />
27+ </extensions >
2628</idea-plugin >
You can’t perform that action at this time.
0 commit comments