You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Do not be sensitive to lacking a trailing slash for e.g. python.autoComplete.extraPaths #521
I'm using VS Code on a network drive. Everything is working well. The only problem is extra paths for autocomplete works well on local drive, but it doesn't on network drive.(I'm using map network drive of window to create Z:// drive)
Here is the config file:
// Place your settings in this file to overwrite the default settings
{
"window.zoomLevel": 0,
"editor.insertSpaces": true,
"workbench.colorTheme": "Default Dark+",
"editor.formatOnSave": false,
"typescript.check.npmIsInstalled": false,
//"python.formatting.provider": "autopep8",
"typescript.npm": "C:/Program Files/nodejs/npm.cmd",
"python.autoComplete.extraPaths": [
"Z:\\proj\\python\\lib\\mchp",
"Z:\\proj\\python\\lib\\mchp\\kits",
"Z:\\proj\\python\\lib\\mchp\\util",
"Z:\\proj\\python\\sites\\ipmsys"
],
"python.pythonPath": "C:/Python/python.exe"
}
My console window data: 4workbench.main.js:sourcemap:189 [Violation] Added non-passive event listener to a scroll-blocking 'mousewheel' event. Consider marking event handler as 'passive' to make the page more responsive. workbench.main.js:sourcemap:249 [Extension Host] (node:12872) DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead. t.log @ workbench.main.js:sourcemap:249 t._logExtensionHostMessage @ workbench.main.js:sourcemap:2573 (anonymous) @ workbench.main.js:sourcemap:2569 emitTwo @ events.js:106 emit @ events.js:194 process.nextTick @ internal/child_process.js:766 _combinedTickCallback @ internal/process/next_tick.js:73 _tickCallback @ internal/process/next_tick.js:104 10workbench.main.js:sourcemap:189 [Violation] Added non-passive event listener to a scroll-blocking 'mousewheel' event. Consider marking event handler as 'passive' to make the page more responsive.
Don Jayamanne (@DonJayamanne) , There is any option to monitor which module was loaded, which not? Or there is any API to load modules manually in developer mode?
Don Jayamanne (@DonJayamanne) it does not work for me. I have found the source code to load modules in extraPaths. I will debug and find out the reason soon. I'm so busy these days.
Tran Minh Luan (@luanft) if you manage to figure out how to consistently trigger it then let us know, but as of right now we can't figure out how to trigger to attempt to fix it.
Activity
MikhailArkhipov commentedon Jan 3, 2018
Could you try using forward slash? I see that local paths are using
/and network paths are with\luanft commentedon Jan 4, 2018
I tried using '/' first, but it didn't work. After that I tried using '' but it didn't work too.
DonJayamanne commentedon Jan 25, 2018
Tran Minh Luan (@luanft)
Please could you provide the output of:
Pythonoutput window (View-> Outputmenu, then selectPythonfrom the dropdown)console window(Help->Toggle Developer Tools, then go into the console tab)Would like to check if there are any errors logged in there.
luanft commentedon Jan 26, 2018
Don Jayamanne (@DonJayamanne)
My output window data:
##########Linting Output - pylint########## ##########Linting Output - pylint########## ************* Module ipmsys.test_ipms 12,0,warning,W0401:Wildcard import models 46,12,warning,W0612:Unused variable 'i' 69,12,warning,W0612:Unused variable 'i' 92,12,warning,W0612:Unused variable 'i' 174,12,warning,W0612:Unused variable 'i' 212,12,warning,W0612:Unused variable 'i' 243,12,warning,W0612:Unused variable 'i' 272,12,warning,W0612:Unused variable 'i' 312,12,warning,W0612:Unused variable 'i' 352,12,warning,W0612:Unused variable 'i' 396,12,warning,W0612:Unused variable 'i' 438,12,warning,W0612:Unused variable 'i' 480,12,warning,W0612:Unused variable 'i' 522,12,warning,W0612:Unused variable 'i' 563,12,warning,W0612:Unused variable 'i' 611,12,warning,W0612:Unused variable 'i' 1028,25,error,E0602:Undefined variable 'Workspace' 1029,13,error,E0602:Undefined variable 'Workspace' 1040,25,error,E0602:Undefined variable 'Workspace' 1046,8,error,E0602:Undefined variable 'Workspace' 1059,25,error,E0602:Undefined variable 'Workspace' 1065,8,error,E0602:Undefined variable 'Workspace' 1066,25,error,E0602:Undefined variable 'Workspace' 1079,25,error,E0602:Undefined variable 'Workspace' 1097,25,error,E0602:Undefined variable 'Workspace' 1098,13,error,E0602:Undefined variable 'Workspace' 1109,25,error,E0602:Undefined variable 'Workspace' 1136,8,warning,W0101:Unreachable code 1143,8,warning,W0702:No exception type(s) specified 1171,8,warning,W0702:No exception type(s) specified 1146,8,warning,W0612:Unused variable 'response' 1185,8,warning,W0702:No exception type(s) specified 1200,12,warning,W0702:No exception type(s) specified 1202,12,warning,W0612:Unused variable 'response' 1237,8,warning,W0612:Unused variable 'response' 1383,12,warning,W0612:Unused variable 'response'My console window data:
4workbench.main.js:sourcemap:189 [Violation] Added non-passive event listener to a scroll-blocking 'mousewheel' event. Consider marking event handler as 'passive' to make the page more responsive. workbench.main.js:sourcemap:249 [Extension Host] (node:12872) DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead. t.log @ workbench.main.js:sourcemap:249 t._logExtensionHostMessage @ workbench.main.js:sourcemap:2573 (anonymous) @ workbench.main.js:sourcemap:2569 emitTwo @ events.js:106 emit @ events.js:194 process.nextTick @ internal/child_process.js:766 _combinedTickCallback @ internal/process/next_tick.js:73 _tickCallback @ internal/process/next_tick.js:104 10workbench.main.js:sourcemap:189 [Violation] Added non-passive event listener to a scroll-blocking 'mousewheel' event. Consider marking event handler as 'passive' to make the page more responsive.DonJayamanne commentedon Feb 22, 2018
Tran Minh Luan (@luanft) Apologies for the delay we'll look into this and get back to you.
13 remaining items
DonJayamanne commentedon May 10, 2018
Was unable to replicate this issue on Windows.
I would like to be able to replicate this issue on windows before adding the change.
luanft commentedon May 11, 2018
Don Jayamanne (@DonJayamanne) , There is any option to monitor which module was loaded, which not? Or there is any API to load modules manually in developer mode?
DonJayamanne commentedon May 15, 2018
There's no need. just remove the trailing
/and check whether it works or not.luanft commentedon May 16, 2018
Don Jayamanne (@DonJayamanne) it does not work for me. I have found the source code to load modules in extraPaths. I will debug and find out the reason soon. I'm so busy these days.
brettcannon commentedon May 22, 2018
I also can't replicate on Windows 10.
Tran Minh Luan (@luanft) if you manage to figure out how to consistently trigger it then let us know, but as of right now we can't figure out how to trigger to attempt to fix it.