dotnet / vscode-csharp

Official C# support for Visual Studio Code
MIT License
2.85k stars 670 forks source link

Accessing a resource scoped configuration without providing a resource is not expected #2546

Open StephenWeatherford opened 6 years ago

StephenWeatherford commented 6 years ago

Issue Type: Bug

[ms-vscode.csharp] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for '[csharp]', provide the URI of a resource or 'null' for any resource.

[ms-vscode.csharp] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'editor.insertSpaces', provide the URI of a resource or 'null' for any resource. [ms-vscode.csharp] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'editor.tabSize', provide the URI of a resource or 'null' for any resource.

[ms-vscode.csharp] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'editor.tabSize', provide the URI of a resource or 'null' for any resource.

Extension version: 1.16.1 VS Code version: Code 1.27.2 (f46c4c469d6e6d8c46f268d1553c5dc4b475840f, 2018-09-12T16:17:45.060Z) OS version: Windows_NT x64 10.0.17134

System Info |Item|Value| |---|---| |CPUs|Intel(R) Xeon(R) CPU E31230 @ 3.20GHz (4 x 3193)| |GPU Status|2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: enabled
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled| |Memory (System)|15.96GB (5.09GB free)| |Process Argv|C:\Program Files\Microsoft VS Code\Code.exe| |Screen Reader|no| |VM|0%|
akshita31 commented 6 years ago

@StephenWeatherford I often get these in the "Debug Console" when I debug the extension but I am not sure what are the implications of these. The extension seems to work fine for me, so I assumed these are some sort of warning messages. Can you elaborate on what is the problem that these messages cause?

akshita31 commented 6 years ago

Also, @rchande do you have any ideas here ?

StephenWeatherford commented 6 years ago

https://github.com/Microsoft/vscode/issues/37041

StephenWeatherford commented 5 years ago

This doesn't need more info - I pointed you to the docs a month ago...

rchande commented 5 years ago

@StephenWeatherford Can you help us understand how to prioritize this? Eg: will we start crashing in future versions of Code? Or is this just an annoying message?

StephenWeatherford commented 5 years ago

It's mostly an annoying message, but it also means you might not be getting your expected behavior regarding settings. 'Course it also makes you look bad.