Skip to content

[QUESTION] Is it possible to increase diagnostics_task_timeout within vscode settings #585

@MikeAckerschott

Description

@MikeAckerschott

Please describe.
I work on a big robotframework project and the robotcode diagnostics times out after 300 seconds. it is not done and automatically restarts itself and keeps going in a fail loop. Ive checked the logging and found this:

DEBUG:robotcode.language_server.common.parts.diagnostics.DiagnosticsProtocolPart:break workspace diagnostics loop 3
DEBUG:robotcode.language_server.common.parts.diagnostics.DiagnosticsProtocolPart:End analyzing workspace for 373 documents took 300.3440 seconds
DEBUG:robotcode.robot.diagnostics.imports_manager.ImportsManager:End getting resource doc for name.resource took 0.0000 seconds
DEBUG:robotcode.language_server.common.parts.diagnostics.DiagnosticsProtocolPart:Start analyzing workspace for 373 documents

looking at the source code there is a variable that defines the timeout value of 300 seconds in common.parts.diagnostics.py called _diagnostics_task_timeout. Is this a setting that is exposable via for example vscode's settings.json so i can increase it?

Desktop (please complete the following information):

  • VS Code Version 1.111.0
  • RobotCode Version 2.4.0
  • OS: Windows 11
  • Python Version 3.11.9
  • RobotFramework Version 7.3.2
  • RoboCop version 8.2.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions