CSS Auto Suggestion Auto completion Required for Non CSS persons
-
People who are coming from no CSS background a CSS Auto completion/suggestion is required. For example if I want to add property like colour, padding , margin etc. there are no clue what are the actual properties. Colour name should be auto suggested like other HISE Colour constant.
-
@DabDab the docs say that if you want intellisense with CSS, take it to something like VSCode.
-
@aaronventure where does it say that?
Also there's an autocomplete system for CSS, but it doesn't work with inline stylesheets as the editor can't pickup the context from the caret position. If you use a dedicated stylesheet file you get proper syntax highlighting & autocomplete support of all properties that are implemented.
-
@Christoph-Hart yeah I was referring to this comment https://forum.hise.audio/post/86376
but it looks like I misunderstood what you meant: using and external file on its own skips the need to have it passed as an inline string, thus letting you use autocomplete. For some reason my brain made the connection external = external editor.
Sorry for the misinformation and thanks!
-
@aaronventure said in CSS Auto Suggestion Auto completion Required for Non CSS persons:
@Christoph-Hart yeah I was referring to this comment https://forum.hise.audio/post/86376
but it looks like I misunderstood what you meant: using and external file on its own skips the need to have it passed as an inline string, thus letting you use autocomplete. For some reason my brain made the connection external = external editor.
Sorry for the misinformation and thanks!
I read that comment and had the same thought!
So an external CSS file lives in Scripts and is just a plain CSS file - with autocomplete.
Excellent!