Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

Reduce diagnosticPublishDelay default #1944

@mjbvz

Description

@mjbvz

Issue Type: Bug

Problem
python.analysis.diagnosticPublishDelay defaults to 1000 milliseconds. This feels like quite a long time in practice, especially while waiting for an error you just fixed to be clear

Proposal
Reduce the default value. Unless there's some reason this needs to be so high, a lower default provide the majority of users who will never change the default with a more responsive editing experience. Advanced users can still increase it if they want/need to

JS/TS users a default delay of around 200ms. If we get another document update before we finish computing the errors, we cancel the ongoing diagnostics request and queue up a new one

Extension version: 2020.4.68060-dev
VS Code version: Code - Insiders 1.44.0-insider (efd7548df65de8e775015b67863190e6bd4934fc, 2020-03-13T06:01:51.669Z)
OS version: Darwin x64 19.3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions