Matsuuu / web-component-devtools

Web Component DevTools is a Browser Extension enhancing the development experience of Web Component developers
https://matsuuu.github.io/web-component-devtools/
MIT License
131 stars 3 forks source link

Sort Properties and Methods #30

Closed Danny-Engelman closed 3 years ago

Danny-Engelman commented 3 years ago

Maybe sort the list, and collapse "private" ones usually marked with an underscore.

Matsuuu commented 3 years ago

I've been looking to sort the props alphabetically and by category.

Making an opinionated choice to mark underscore props as private , and therefore behind a collapsible option is something I'll have to consider.

Maybe behind a checkbox for those who want this

Danny-Engelman commented 3 years ago

And I just noticed... those properties are not capitalized in my source code.

Great tool BTW, I was working on something similar, shelved that project.

Matsuuu commented 3 years ago

Yeah I capitalized them for clarity. It's on the chopping block whether I'll keep them that way.

Also, thanks ! 🤗 Spread the word!

Danny-Engelman commented 3 years ago

I will be the first to spread the word not to use this tool, if it displays incorrect code info.

Display the method names (and everything else) as-is.


Here is the list of properties I record: