Skip to content

Feature: Option to control polling time interval (when polling for code changes) squiggly line lag #381

@ADTC

Description

@ADTC

I notice sometimes I'm editing Java code, the code linting lags behind. So assuming I type a line of code like so: String vscodeJava = null;, the squiggly lines indicating errors slowly go like this (you can see it happening slowly in front of your very eyes long after you typed the whole line out):

S                         // can't find type
St                        // can't find type
Str                       // can't find type
Stri                      // can't find type
Strin                     // can't find type
String                    // missing variable name
String                    // missing variable name
String v                  // missing semicolon
String vs                 // missing semicolon
String vsc                // missing semicolon
String vsco               // missing semicolon
String vscod              // missing semicolon
String vscode             // missing semicolon
String vscodeJ            // missing semicolon
String vscodeJa           // missing semicolon
String vscodeJav          // missing semicolon
String vscodeJava         // missing semicolon
String vscodeJava         // missing semicolon
String vscodeJava =       // missing value
String vscodeJava =       // missing value
String vscodeJava = n     // can't find symbol
String vscodeJava = nu    // can't find symbol
String vscodeJava = nul   // can't find symbol
String vscodeJava = null  // missing semicolon
String vscodeJava = null; // OK

Or see this GIF:

vscode-lagging-2
(Thank you to NickeManarin/ScreenToGif)

While this could be a bug, I think a feature to control the polling interval would be helpful. So it only polls the code for changes every second or two seconds or so.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions