formulahendry / formulahendry/vscode-code-runner

Vscode python linter ignore new path [File Directory AS Cwd]

Open
#448 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2.4k
Forks
351
PR merge metrics
No merged PRs in 30d

Description

I clicked on this settings.
![cwd](https://user-images.githubusercontent.com/25709267/54881986-eef91a00-4e55-11e9-8981-cec79302a4ca.png)
and project root path is changed to my subfolder.
![path](https://user-images.githubusercontent.com/25709267/54882035-3b445a00-4e56-11e9-8dbb-47e08b837a4a.png)

its add.py
![warn](https://user-images.githubusercontent.com/25709267/54882037-3d0e1d80-4e56-11e9-99a8-8b50430e7865.png)

I would expect that python import warning disappear , but its not. I think vscode use previous root path
![warn_fixed](https://user-images.githubusercontent.com/25709267/54882080-aaba4980-4e56-11e9-8c38-af225d4c7beb.png)

Its there someway to solve this? or change in way I want.

Tested on
Version: 1.33.0-insider
Commit: 9474154f133dbbb793ca3c128c9fcfdca39f5b26
Date: 2019-03-22T06:12:57.707Z
Electron: 3.1.6
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Linux x64 5.0.2-arch1-1-ARCH

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.