vscode-as3mxml
vscode-as3mxml copied to clipboard
CSS support in <fx:Style>
- [ ] Completion
- [ ] Hover
- [ ] Rename
- [ ] Definition
- [ ] Go to reference
- [x] Syntax highlighting
Comments are not correct: it creates <!-- aaa -->
instead of /* aaa */
@neminovno What does "it" refer to? I did not implement anything that would create a comment in CSS for you...
@joshtynjala "it" as the extension, if it is managing comment syntax? If some text is selected and Shift+Alt+A is pressed, how does VSCode knows which comment syntax to apply?
I assume that it's based on the file format. So, VSCode uses <!-- -->
because it's an MXML file. Does it insert the correct comments inside <Script> elements? Maybe if I got that to work, then there's something I can do for CSS too.
Comments inside <fx:Script>
in MXML file are correct.
Okay, so maybe there's something more that I can do there to make sure that VSCode knows that it's CSS.