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
When extracting scope of current selection, check if boundary chars (first and last) are single or double quotes. if so, use this file name. This works for situations such as:
<link href="app.css" rel="stylesheet">
when the cursor is placed anywhere in the app.css text.
Otherwise (if bounding chars are not single or double quotes), extract the current selection's line, and check for src=['"].+['"] and failing that, href=['"].+['"]. This will work with the above <link> with the cursor placed anywhere.
The text was updated successfully, but these errors were encountered:
When extracting scope of current selection, check if boundary chars (first and last) are single or double quotes. if so, use this file name. This works for situations such as:
<link href="app.css" rel="stylesheet">
when the cursor is placed anywhere in the app.css text.
Otherwise (if bounding chars are not single or double quotes), extract the current selection's line, and check for
src=['"].+['"]
and failing that,href=['"].+['"]
. This will work with the above<link>
with the cursor placed anywhere.The text was updated successfully, but these errors were encountered: