[HN Gopher] VSCode extension for syntax highlighting multi-line ...
       ___________________________________________________________________
        
       VSCode extension for syntax highlighting multi-line YAML strings
        
       Author : moondev
       Score  : 22 points
       Date   : 2025-08-02 14:47 UTC (8 hours ago)
        
 (HTM) web link (github.com)
 (TXT) w3m dump (github.com)
        
       | mdaniel wrote:
       | I don't understand why VSCode itself doesn't already have this,
       | since it is silly to have to install 100 extensions to add this
       | behavior to every different possible place that a string literal
       | with an interior language could appear
       | 
       | I also _suspect_ that unlike the JetBrains feature that does this
       | (Language Injection), VSCode doesn 't _understand_ the code it
       | just syntax highlights it. Meaning if we take the cited example
       | and change it to the following, would VSCode turn it red?
       | example3: | # js         console.ogl('wat")
        
       | 9dev wrote:
       | Oh neat! Finally VS Code can do something IntelliJ has been able
       | to do since decades. We're _so_ close to discovering why IDEs
       | were a good idea in the first place!
        
         | IshKebab wrote:
         | VSCode _is_ an IDE. It 's just a highly modular one, so it
         | doesn't come with everything by default.
        
       | IshKebab wrote:
       | I pity whoever needs this.
        
       ___________________________________________________________________
       (page generated 2025-08-02 23:01 UTC)