{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode-python/issues/3360","repository_url":"https://api.github.com/repos/Microsoft/vscode-python","labels_url":"https://api.github.com/repos/Microsoft/vscode-python/issues/3360/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode-python/issues/3360/comments","events_url":"https://api.github.com/repos/Microsoft/vscode-python/issues/3360/events","html_url":"https://github.com/Microsoft/vscode-python/issues/3360","id":381177103,"node_id":"MDU6SXNzdWUzODExNzcxMDM=","number":3360,"title":"'Linter pylint is available but not enabled' shows every time","user":{"login":"Anti-Distinctlyminty","id":1378483,"node_id":"MDQ6VXNlcjEzNzg0ODM=","avatar_url":"https://avatars2.githubusercontent.com/u/1378483?v=4","gravatar_id":"","url":"https://api.github.com/users/Anti-Distinctlyminty","html_url":"https://github.com/Anti-Distinctlyminty","followers_url":"https://api.github.com/users/Anti-Distinctlyminty/followers","following_url":"https://api.github.com/users/Anti-Distinctlyminty/following{/other_user}","gists_url":"https://api.github.com/users/Anti-Distinctlyminty/gists{/gist_id}","starred_url":"https://api.github.com/users/Anti-Distinctlyminty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Anti-Distinctlyminty/subscriptions","organizations_url":"https://api.github.com/users/Anti-Distinctlyminty/orgs","repos_url":"https://api.github.com/users/Anti-Distinctlyminty/repos","events_url":"https://api.github.com/users/Anti-Distinctlyminty/events{/privacy}","received_events_url":"https://api.github.com/users/Anti-Distinctlyminty/received_events","type":"User","site_admin":false},"labels":[{"id":717138119,"node_id":"MDU6TGFiZWw3MTcxMzgxMTk=","url":"https://api.github.com/repos/Microsoft/vscode-python/labels/needs%20more%20info","name":"needs more info","color":"fef2c0","default":false},{"id":1093780860,"node_id":"MDU6TGFiZWwxMDkzNzgwODYw","url":"https://api.github.com/repos/Microsoft/vscode-python/labels/triage","name":"triage","color":"ed38c0","default":false}],"state":"open","locked":false,"assignee":{"login":"brettcannon","id":54418,"node_id":"MDQ6VXNlcjU0NDE4","avatar_url":"https://avatars0.githubusercontent.com/u/54418?v=4","gravatar_id":"","url":"https://api.github.com/users/brettcannon","html_url":"https://github.com/brettcannon","followers_url":"https://api.github.com/users/brettcannon/followers","following_url":"https://api.github.com/users/brettcannon/following{/other_user}","gists_url":"https://api.github.com/users/brettcannon/gists{/gist_id}","starred_url":"https://api.github.com/users/brettcannon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brettcannon/subscriptions","organizations_url":"https://api.github.com/users/brettcannon/orgs","repos_url":"https://api.github.com/users/brettcannon/repos","events_url":"https://api.github.com/users/brettcannon/events{/privacy}","received_events_url":"https://api.github.com/users/brettcannon/received_events","type":"User","site_admin":false},"assignees":[{"login":"brettcannon","id":54418,"node_id":"MDQ6VXNlcjU0NDE4","avatar_url":"https://avatars0.githubusercontent.com/u/54418?v=4","gravatar_id":"","url":"https://api.github.com/users/brettcannon","html_url":"https://github.com/brettcannon","followers_url":"https://api.github.com/users/brettcannon/followers","following_url":"https://api.github.com/users/brettcannon/following{/other_user}","gists_url":"https://api.github.com/users/brettcannon/gists{/gist_id}","starred_url":"https://api.github.com/users/brettcannon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brettcannon/subscriptions","organizations_url":"https://api.github.com/users/brettcannon/orgs","repos_url":"https://api.github.com/users/brettcannon/repos","events_url":"https://api.github.com/users/brettcannon/events{/privacy}","received_events_url":"https://api.github.com/users/brettcannon/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2018-11-15T14:09:23Z","updated_at":"2018-11-19T21:49:54Z","closed_at":null,"author_association":"NONE","body":"## Environment data\r\n\r\n- VS Code version: 1.29.0\r\n- Extension version (available under the Extensions sidebar): 2018.10.1\r\n- OS and version: Windows 10.0.17134\r\n- Python version (& distribution if applicable, e.g. Anaconda): 2.7.5\r\n- Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A\r\n- Relevant/affected Python packages and their versions: N/A\r\n\r\n## Actual behavior\r\n\r\nWhen starting vscode I am confronted with the warning `Linter pylint is available but not enabled.`\r\nThis warning will appear every time I start vscode, despite the fact that I hit `Enable pylint` every time.\r\nThe only time I do _not_ get the warning is if I disable linting.\r\n\r\n## Expected  behavior\r\n\r\nUpon clicking `Enable pylint`, it should be enabled and not ask me again.\r\n\r\n## Steps to reproduce:\r\n1. I'm guessing this is not the case for anyone else but...open a python file.\r\n\r\n## Logs\r\nOutput for `Python` in the `Output` panel (`View`→`Output`, change the drop-down the upper-right of the `Output` panel to `Python`)\r\n\r\n```\r\nStarting Microsoft Python language server.\r\nMicrosoft Python Language Server version 0.1.60.0\r\nInitializing for c:\\python27\\python.exe\r\n```   \r\n\r\nOutput from `Console` under the `Developer Tools` panel (toggle Developer Tools on under `Help`)\r\n```\r\n INFO no standard startup: not the explorer viewlet\r\nlog.ts:169   ERR Failed to watch t:\\__SharedAssets\\Assets_Houdini_Dev\\houdini16.5\\python2.7libs\\pythonrc.py for changes (Error: Error watching file for changes: ENOENT, undefined)\r\nconsole.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Notify locators are locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Notify locators are locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Notify locators are locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Notify locators are locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Notify locators are locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Create file systemwatcher with pattern *\\python.exe\r\nconsole.ts:134 [Extension Host] Python Extension: Create file systemwatcher with pattern *\\*\\python.exe\r\nconsole.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Notify locators are locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Notify locators are locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Notify locators are locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Register Intepreter Watcher, Arg 1: undefined, Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Build the workspace interpreter watcher, Arg 1: undefined, Return Value: UNABLE TO DETERMINE VALUE\r\nconsole.ts:134 [Extension Host] Python Extension: Get language server folder name, , Return Value: \"languageServer.0.1.60\"\r\nconsole.ts:134 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: All locators have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: All locators have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: All locators have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: All locators have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: All locators have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: All locators have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: All locators have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: All locators have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode-python/issues/comments/440053998","html_url":"https://github.com/Microsoft/vscode-python/issues/3360#issuecomment-440053998","issue_url":"https://api.github.com/repos/Microsoft/vscode-python/issues/3360","id":440053998,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MDA1Mzk5OA==","user":{"login":"mikevaleriano","id":6718750,"node_id":"MDQ6VXNlcjY3MTg3NTA=","avatar_url":"https://avatars2.githubusercontent.com/u/6718750?v=4","gravatar_id":"","url":"https://api.github.com/users/mikevaleriano","html_url":"https://github.com/mikevaleriano","followers_url":"https://api.github.com/users/mikevaleriano/followers","following_url":"https://api.github.com/users/mikevaleriano/following{/other_user}","gists_url":"https://api.github.com/users/mikevaleriano/gists{/gist_id}","starred_url":"https://api.github.com/users/mikevaleriano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikevaleriano/subscriptions","organizations_url":"https://api.github.com/users/mikevaleriano/orgs","repos_url":"https://api.github.com/users/mikevaleriano/repos","events_url":"https://api.github.com/users/mikevaleriano/events{/privacy}","received_events_url":"https://api.github.com/users/mikevaleriano/received_events","type":"User","site_admin":false},"created_at":"2018-11-19T21:49:54Z","updated_at":"2018-11-19T21:49:54Z","author_association":"NONE","body":"I think there are two separate (but related) issues going on:\r\n\r\n1. **global** default settings (i.e.: `\"python.linting.pylintEnabled\": true`) are not detected when you switch to MS-PSL, but the linter itself is detected, so the extension asks to activate it - and then it creates the `.vscode/settings.json` file with that specific setting in your workplace, even though it is set globally by default\r\n2. Once the extension detects the linter and the setting to use it (still using user/global settings), pylint is not used anyway. I get the **[Python]** linting messagesfrom MS-PLS but not the **[pylint]** ones.\r\n\r\nSo answering to @brettcannon, I don't ever use workplace settings, only user/global ones. And even after adding `\"python.linting.pylintEnabled\": true` to them, pylint doesn't work, even though I don't get the warning about it not being enabled anymore.\r\n\r\nHope this clarifies a bit! I spent a LOT of time scratching my head over this, being a beginner in Python."}}
{"actor":{"display_login":"mikevaleriano"}}