<p dir="auto">Testing <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="153045492" data-permission-text="Title is private" data-url="https://github.com/microsoft/vscode/issues/6099" data-hovercard-type="issue" data-hovercard-url="/microsoft/vscode/issues/6099/hovercard" href="https://github.com/microsoft/vscode/issues/6099">#6099</a></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&gt; code-alpha --install-extension vscode-css-formatter
{ responseText: '{&quot;$id&quot;:&quot;1&quot;,&quot;innerException&quot;:null,&quot;message&quot;:&quot;The query supplied was not valid, one of the filters contained an error. The fully qualified name MUST contain a \'.\' between the publisher and extension names.&quot;,&quot;typeName&quot;:&quot;Microsoft.VisualStudio.Services.Gallery.WebApi.InvalidExtensionQueryException, Microsoft.VisualStudio.Services.Gallery.WebApi&quot;,&quot;typeKey&quot;:&quot;InvalidExtensionQueryException&quot;,&quot;errorCode&quot;:0,&quot;eventId&quot;:3000}',
  status: 500,
  getResponseHeader: [Function],
  readyState: 4 }"><pre class="notranslate"><code class="notranslate">&gt; code-alpha --install-extension vscode-css-formatter
{ responseText: '{"$id":"1","innerException":null,"message":"The query supplied was not valid, one of the filters contained an error. The fully qualified name MUST contain a \'.\' between the publisher and extension names.","typeName":"Microsoft.VisualStudio.Services.Gallery.WebApi.InvalidExtensionQueryException, Microsoft.VisualStudio.Services.Gallery.WebApi","typeKey":"InvalidExtensionQueryException","errorCode":0,"eventId":3000}',
  status: 500,
  getResponseHeader: [Function],
  readyState: 4 }
</code></pre></div>
<p dir="auto">Having the error as JSON is uncommon. Should be a human readable string.<br>
If structured error messages are useful, maybe add a extra option to the command that defines the resonse format.</p>
<p dir="auto">We need to explore improving the way that we display warnings, errors and notifications to users. Currently we have a variety of mechanisms (info in status bar, details in quick open, error/warning dialog).</p>
<p dir="auto">We need a consistent way that prompts the user when there are notifications/errors/warnings for them to pay attention to and a consistent affordance for the user to get a holistic view of all of the notitications/errors/warnings.</p>