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
Displaying the slot like div#id.class #slotname is weird as two attrs use the # symbol (which is normally reserved for id). Maybe div#id.class[#slotname] would be better? VSCode never returns attr info for symbols in .html files though (eg. <input type='number'> still returns symbol info like input rather than input[type='number']
Should slot syntax be unified in symbols? eg. should symbol search always show template[#slot] even though the user explicitly wrote <template v-slot:slot> in code?
Rationale
Consider this case where you have a large component with many slots. You may want to quickly jump between slots using the symbol search (CTRL+SHIFT+O).
The text was updated successfully, but these errors were encountered:
Feature Request
Show slots in vscode symbol browser:
Show
slot[name="slotname"]
in symbol search instead of justslot
in symbol searchThings I'm not sure about:
div#id.class #slotname
is weird as two attrs use the#
symbol (which is normally reserved for id). Maybediv#id.class[#slotname]
would be better? VSCode never returns attr info for symbols in .html files though (eg.<input type='number'>
still returns symbol info likeinput
rather thaninput[type='number']
template[#slot]
even though the user explicitly wrote<template v-slot:slot>
in code?Rationale
Consider this case where you have a large component with many slots. You may want to quickly jump between slots using the symbol search (CTRL+SHIFT+O).
The text was updated successfully, but these errors were encountered: