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.

IntelliSense and formatting not working on a fresh install

See original GitHub issue

Environment data

VS Code version: 1.18.1 Python Extension version: 0.8.0 Python Version: 3.6.1 OS and version: macOS Sierra 10.12.6

Actual behavior

I just installed vscode and the python extension. I don’t get any auto completion or auto formatting. I have the following in my settings.json

{
    "python.pythonPath": "/Library/Frameworks/Python.framework/Versions/3.6/bin/python3"
}

Expected behavior

Expect to see autocompletion and autosuggestion when I type os. after import os.

Steps to reproduce:

  • install vs code on osx

  • install python extension

  • IntelliSense not working

  • I also tried Python: Select Interpreter. I get command 'python.setInterpreter' not found.

Logs

Output from Console window (Help->Developer Tools menu)

shell.ts:459 [ms-python.python] spawn ENOTDIR: Error: spawn ENOTDIR
	at exports._errnoException (util.js:1050:11)
	at ChildProcess.spawn (internal/child_process.js:319:11)
	at exports.spawn (child_process.js:390:9)
	at Object.exports.execFile (child_process.js:155:15)
	at Object.module.(anonymous function) [as execFile] (ELECTRON_ASAR.js:200:20)
	at Promise (/Users/upkar/.vscode/extensions/ms-python.python-0.8.0/out/client/interpreter/locators/services/condaEnvService.js:90:35)
	at Promise (<anonymous>)
	at CondaEnvService.<anonymous> (/Users/upkar/.vscode/extensions/ms-python.python-0.8.0/out/client/interpreter/locators/services/condaEnvService.js:88:24)
	at Generator.next (<anonymous>)
	at /Users/upkar/.vscode/extensions/ms-python.python-0.8.0/out/client/interpreter/locators/services/condaEnvService.js:7:71

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:15 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
jleclanchecommented, Feb 14, 2018

To whoever lands on this issue from Google: Reinstall the extension 😃

@DonJayamanne Isn’t there a way for vscode to loudly complain if an extension is broken and throwing errors in the console, hinting at reinstalling it? It’s a reach for users to jump in the devtools when some extension functionality is not working correctly.

1reaction
DonJayamannecommented, Nov 26, 2017

Please could you try reinstalling the extension.

Read more comments on GitHub >

github_iconTop Results From Across the Web

IntelliSense in Visual Studio Code
Troubleshooting. If you find IntelliSense has stopped working, the language service may not be running. Try restarting VS Code and this should solve...
Read more >
Visual Studio IntelliSense Not Working? What To Do.
Workaround #1: Restart Visual Studio · Workaround #2: Restart Your Machine · Workaround #3: Update Your Visual Studio · Workaround #4: Verify Some ......
Read more >
Intellisense not automatically working VSCode - Stack Overflow
dotnet clean / Deleting bin and obj directories · Updating launch. · Wiping my local nuget cache · Restarting Omnisharp · Uninstalling and...
Read more >
Visual Studio 2022 for Mac v17.4 Release Notes
From Developer Community · C# NewLine Formatting Settings Not Working - (Recent regression, Preveiw 17.4 - build 715) · IntelliSense on Visual ...
Read more >
VS Code tips — The Vetur extension for working with Vue.js
... VeturVetur adds all the editor tools for writing Vuejs in VS Code, including:• Syntax highlighting• Intellisense • Formatting • Erro...
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