From ed44db4a2e1c4f55e7406fff541df296afd01832 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C4=81vels=20Kor=C5=BEs?= Date: Fri, 2 Oct 2026 14:31:30 +0300 Subject: [PATCH] fix(debugger): restrict line breakpoints --- .../dev/robotcode/robotcode4ij/RobotResourceFileType.kt | 2 +- .../debugging/breakpoints/RobotCodeLineBreakpointType.kt | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/intellij-client/src/main/kotlin/dev/robotcode/robotcode4ij/RobotResourceFileType.kt b/intellij-client/src/main/kotlin/dev/robotcode/robotcode4ij/RobotResourceFileType.kt index d74ad7d71..d6f0d5034 100644 --- a/intellij-client/src/main/kotlin/dev/robotcode/robotcode4ij/RobotResourceFileType.kt +++ b/intellij-client/src/main/kotlin/dev/robotcode/robotcode4ij/RobotResourceFileType.kt @@ -7,6 +7,6 @@ object RobotResourceFileType : LanguageFileType(RobotFrameworkLanguage), OSFileI override fun getName() = "ROBOT_FRAMEWORK_RESOURCE" override fun getDisplayName() = "Robot Framework Resource" override fun getDescription() = "Robot Framework resource files" - override fun getDefaultExtension() = "robot" + override fun getDefaultExtension() = "resource" override fun getIcon() = RobotIcons.Resource } diff --git a/intellij-client/src/main/kotlin/dev/robotcode/robotcode4ij/debugging/breakpoints/RobotCodeLineBreakpointType.kt b/intellij-client/src/main/kotlin/dev/robotcode/robotcode4ij/debugging/breakpoints/RobotCodeLineBreakpointType.kt index 4d3fecfcb..226788893 100644 --- a/intellij-client/src/main/kotlin/dev/robotcode/robotcode4ij/debugging/breakpoints/RobotCodeLineBreakpointType.kt +++ b/intellij-client/src/main/kotlin/dev/robotcode/robotcode4ij/debugging/breakpoints/RobotCodeLineBreakpointType.kt @@ -3,6 +3,8 @@ package dev.robotcode.robotcode4ij.debugging.breakpoints import com.intellij.openapi.project.Project import com.intellij.openapi.vfs.VirtualFile import com.intellij.xdebugger.breakpoints.XLineBreakpointType +import dev.robotcode.robotcode4ij.RobotResourceFileType +import dev.robotcode.robotcode4ij.RobotSuiteFileType class RobotCodeLineBreakpointType : XLineBreakpointType(ID, NAME) { companion object { @@ -10,11 +12,11 @@ class RobotCodeLineBreakpointType : XLineBreakpointType