diff --git a/eslint.config.mjs b/eslint.config.mjs index 0d253154..52a1c3c7 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -6,6 +6,7 @@ import eslintPluginPrettierRecommended from "eslint-plugin-prettier/recommended" export default [ { ignores: [ + "**/.venv/", "**/node_modules/", "**/dist/", "**/out/", diff --git a/packages/robot/src/robotcode/robot/diagnostics/keyword_finder.py b/packages/robot/src/robotcode/robot/diagnostics/keyword_finder.py index 9d720f61..f9372aad 100644 --- a/packages/robot/src/robotcode/robot/diagnostics/keyword_finder.py +++ b/packages/robot/src/robotcode/robot/diagnostics/keyword_finder.py @@ -52,6 +52,7 @@ def __init__(self, namespace: "Namespace", library_doc: LibraryDoc) -> None: Optional[KeywordDoc], List[DiagnosticsEntry], Optional[List[KeywordDoc]], + Optional[str], ], ] = {} @@ -80,6 +81,7 @@ def find_keyword( if cached is not None: self.diagnostics = cached[1] self.multiple_keywords_result = cached[2] + self.result_bdd_prefix = cached[3] return cached[0] try: @@ -106,6 +108,7 @@ def find_keyword( result, self.diagnostics, self.multiple_keywords_result, + self.result_bdd_prefix, ) return result diff --git a/tests/robotcode/language_server/robotframework/parts/data/.vscode/settings.json b/tests/robotcode/language_server/robotframework/parts/data/.vscode/settings.json index 1d87ebbc..84bc9667 100644 --- a/tests/robotcode/language_server/robotframework/parts/data/.vscode/settings.json +++ b/tests/robotcode/language_server/robotframework/parts/data/.vscode/settings.json @@ -13,7 +13,8 @@ } }, "robotcode.languageServer.extraArgs": [ - //"--debugpy", + "--verbose", + "--debugpy", // "--debugpy-wait-for-client", // "--log", // "--log-level", "INFO", @@ -30,14 +31,6 @@ "**/lib/alibrary.py", "LibraryWithErrors" ], - // "robotcode.extraArgs": [ - // "--debugpy", - // "--debugpy-wait-for-client", - // "--log", - // "--log-level", - // "DEBUG", - // // "--log-calls" - // ], "robotcode.robot.variableFiles": [ "${EXECDIR}/resources/testvars.yml" ],