Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Newb question: Debugging + Linting Python in Visual Studio Code
I’m closely following along Microsoft’s official docs for VSC for Python debugging and linting.

The Linting guide explain this in the introductory paragraphs:

Quote:By default, linting for Python is enabled in Visual Studio Code using Pylint, and you can enable other linters of your choice. You can easily enable and disable all linting by using the Python: Enable Linting command. To enable linters other than the default PyLint, open the Command Palette (Ctrl+Shift+P) and select the Python: Select Linter command. This command adds "python.linting<linter>Enabled": true to your settings, where <linter> is the name of the chosen linter. See Specific linters for details.

When I navigate to (the hyperlink in the first sentence there), I install the Linter as it instructs for my Linux distro (Manjaro). I restart VSC. Then when I invoke Ctrl+Shift+P and enter ‘python’ or ‘pylint’, nothing turns up. It’s as if it doesn’t exist on my system even though I clearly just installed it.

What am I missing here? How do I install the Python Linter as explained in the official tutorial there?

I’m looking for a solution that is probably trivial and obvious to the expert programmer. I’m ready to be gently hit over the head with a “cluebat.”
(Apr-15-2019, 01:48 AM)Drone4four Wrote: Then when I invoke Ctrl+Shift+P and enter ‘python’ or ‘pylint’, nothing turns up.

If you enter 'python' and nothing turns up then question is - have you installed Python extension for VS Code?

There should be long list of 'Python' options to choose from:

Attached Files Thumbnail(s)
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy

Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  Variable comments on Visual Studio Code sal 2 280 Oct-19-2019, 02:13 PM
Last Post: sal
  Visual Studio Python 2.2 Source Project bobosamma 5 328 Oct-14-2019, 11:19 AM
Last Post: snippsat
  In Visual Studio Python is not properly installed jalea148 4 362 Sep-26-2019, 12:31 PM
Last Post: snippsat
  run into issues while configuring visual-studio code on a win 7 machine. apollo 3 566 Sep-12-2019, 12:25 AM
Last Post: snippsat
  Visual Studio Code does not print desired output but only prints "..." vincentolivers 11 952 Sep-09-2019, 12:58 PM
Last Post: vincentolivers
  Simple newb string question Involute 2 350 Sep-08-2019, 12:50 AM
Last Post: Involute
  Debugging in VS code kw42chan 0 294 Jul-02-2019, 02:06 PM
Last Post: kw42chan
  Wrong output in Visual Studio Code py_learner 1 336 Jun-24-2019, 10:02 PM
Last Post: Yoriz
  please help this newb install pygame iofhua 7 1,113 May-15-2019, 01:09 PM
Last Post: buran
  Newb question about %02d %04d bennylava 30 4,421 Mar-05-2019, 11:23 PM
Last Post: snippsat

Forum Jump:

Users browsing this thread: 1 Guest(s)