question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Provide the ability to turn off live error reporting in the new language server

See original GitHub issue

Environment data

  • VS Code version: 1.25.1
  • Extension version (available under the Extensions sidebar): 2018.7.1
  • OS and version: Windows 10
  • Python version (& distribution if applicable, e.g. Anaconda): Anaconda 5.1.0
  • Type of virtual environment used (N/A | venv | virtualenv | conda | …): conda
  • Relevant/affected Python packages and their versions: Python

Actual behavior

After updating to 1.25.1, there are frequent messages (per second) of [Python (parser)] errors as I type a line. Is there a way to tell the Python parser to only parse upon save? I can’t find the settings for parser in Settings.

Expected behavior

Only parse on save.

Steps to reproduce:

  1. Open up test.py
  2. Type a =

Logs

Output for Python in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python)

[Python (parser)] unexpected token '<newline>' (1, 5)"

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
MikhailArkhipovcommented, Aug 9, 2018
0reactions
jiagengliucommented, Aug 12, 2018

Thank you so much! @MikhailArkhipov

Read more comments on GitHub >

github_iconTop Results From Across the Web

Help with live errors when using language server · Issue #2907
Right now, the language server only sends live errors, so if you disable diagnostics you will not get any error checking.
Read more >
Language Server Extension Guide - Visual Studio Code
Explain how to build a Language Server extension in VS Code using the provided Node SDK. Explain how to run, debug, log, and...
Read more >
Warnings and Errors in Local - Local WP
Quick-fix in wp-config.​​ The easiest way to hide those warnings and notices is to disable error reporting in the wp-config. php file: ini_set('display_errors',' ......
Read more >
New Language Server Protocol (LSP) Support - YouTube
During this Snyk User Office Hours episode, we'll take a look at Snyk's IDE plugins and the new Language Server Protocol (LSP) and...
Read more >
Turn off Windows Error Reporting - ADMX Help
This policy setting controls whether or not errors are reported to Microsoft. Error Reporting is used to report information about a system or...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found