Results 122 comments of Alex

see also https://vuejs.org/guide/components/props#prop-validation

Accordingly, if a string is passed to the class attribute instead of a variable, a `const assertion` must be applied to it.

https://svelte.dev/repl/5dd04bf9ed6a4b0d96e54bb65d60c7b2?version=4.2.19 Now, if a variable or expression is present in a class attribute, then checking for unused classes is disabled. This can be fixed by using types.

It will also affect the css tools, such as intellisense, builders, libraries, and frameworks.

- import everything in one file - place similar icons next to each other - look at them with https://marketplace.visualstudio.com/items?itemName=antfu.iconify - create a page where all the icons will be...

You can use a json parser that will create an ast, then walk the ast and find the last node whose location contains the cursor location, then get the node...

The text may contain an error that prevents you from getting the path. You can't get the cursor location right now.

This editor focuses on editing json as structured data rather than text - it's easier and more efficient. Formatting is not saved, there is not much functionality related to the...

Formatting is not saved - I mean, if you change the formatting in text mode (add spaces) and then change it in another mode, then this formatting will not be...

I imagine it like this: - text editor - changes in the form of text patches - stores only the source text - structured data editor - changes in the...