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
The Inspector is awesome when designing "the live thing" together with a client. Since I switched to the sveltestraps library it's almost unusable for me because the inspector always references to the code within the sveltrestraps library, not my code where I wanted to get to make changes. Even navigating to the parent component doesn't work as eypected (I always end up in my +layout.svelte)
Describe the proposed solution
I'd really like some configuration property for ignoring any component that is located within "NodeModules".
Alternatives considered
Not using libraries like svletestraps would be a shame.
Perhaps an option to show (and enable selection) of the full hierarchy when an component is selected, but this could get quite messy.
Importance
would make my life easier
The text was updated successfully, but these errors were encountered:
Maybe my understanding of the inspector might be wrong. Perhaps some part of my issue is related to #545 (not being able reach "my" file that contains the sveltestrap component.
By adding a surrounding
I do indeed now get to the correct file and the div, but I'd rather be able to get into the actual content. e.g:
When pointing the inspector to the value of "row.name" it currently enters "Column.svlete" of sveltestraps, not it's slot (the {row.name}).
So perhaps the solution might not be "filtering" (and therby flattening the hierarchy) but rather not going deep enough?
could you check what the filename in svelte_meta is for components that should not show up?
For the second issue, unfortunately svelte inspector can only use data provided by svelte in svelte_meta of elements, this means that individual text nodes like the slot content in your example won't be resolved to the file they are defined in, the closest parent elements file is what you'll get. This is a technical limitation right now.
as explained above this feature already exists. If it doesn't work for you, please file an issue, including a link to a repository with a minimal reproduction.
Describe the problem
The Inspector is awesome when designing "the live thing" together with a client. Since I switched to the sveltestraps library it's almost unusable for me because the inspector always references to the code within the sveltrestraps library, not my code where I wanted to get to make changes. Even navigating to the parent component doesn't work as eypected (I always end up in my +layout.svelte)
Describe the proposed solution
I'd really like some configuration property for ignoring any component that is located within "NodeModules".
Alternatives considered
Not using libraries like svletestraps would be a shame.
Perhaps an option to show (and enable selection) of the full hierarchy when an component is selected, but this could get quite messy.
Importance
would make my life easier
The text was updated successfully, but these errors were encountered: