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
Settings for configuring registries for auto completions:
deno.suggest.imports.hosts - These are the origins that are configured to
provide import completions. The target host needs to support Deno import
completions (detailed below). The value is an object where the key is the host
and the value is if it is enabled or not. For example:
However, I'm confused about the host value in the example, because it not a valid host. It is also not a valid origin because it ends in a / (which would also be invalid for a host — it is part of the path[name]).
Here are references for juxtaposing those components of a URL (they include links to the specs):
Should each key of that property be valid host, hostname, or origin (or some other type)?
If the values should be hostnames or origins, then I think the property should reflect that by being renamed. e.g. deno.suggest.imports.hostnames or deno.suggest.imports.origins
The text was updated successfully, but these errors were encountered:
While it might not be 100% correct, it was the form used in the version 2.0 of the extension, and it is documented, and there are lots of people who have it configured. I don't think the naming causes confusion, and if there is any confusion, it is documented. Respectfully declined.
The documentation states this:
However, I'm confused about the host value in the example, because it not a valid
host
. It is also not a validorigin
because it ends in a/
(which would also be invalid for a host — it is part of the path[name]).Here are references for juxtaposing those components of a
URL
(they include links to the specs):host
hostname
origin
pathname
So here are my questions:
host
,hostname
, ororigin
(or some other type)?If the values should be hostnames or origins, then I think the property should reflect that by being renamed. e.g.
deno.suggest.imports.hostnames
ordeno.suggest.imports.origins
The text was updated successfully, but these errors were encountered: