vscode-as3mxml icon indicating copy to clipboard operation
vscode-as3mxml copied to clipboard

CSS support in <fx:Style>

Open joshtynjala opened this issue 7 years ago • 6 comments

  • [ ] Completion
  • [ ] Hover
  • [ ] Rename
  • [ ] Definition
  • [ ] Go to reference
  • [x] Syntax highlighting

joshtynjala avatar Oct 31 '16 22:10 joshtynjala

Comments are not correct: it creates <!-- aaa --> instead of /* aaa */

neminovno avatar Apr 21 '19 22:04 neminovno

@neminovno What does "it" refer to? I did not implement anything that would create a comment in CSS for you...

joshtynjala avatar Apr 21 '19 23:04 joshtynjala

@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?

neminovno avatar Apr 21 '19 23:04 neminovno

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.

joshtynjala avatar Apr 22 '19 15:04 joshtynjala

Comments inside <fx:Script> in MXML file are correct.

neminovno avatar Apr 22 '19 17:04 neminovno

Okay, so maybe there's something more that I can do there to make sure that VSCode knows that it's CSS.

joshtynjala avatar Apr 22 '19 21:04 joshtynjala