Thanks for the plugin, but I have one major issue with it. I'm new to Apache Velocity. So maybe the issue is my "codeing style".
I have the following snipped:
#parse("/templates/layout.vm")
#@mainLayout()
#set( $heading = "New")
#set( $namePlaceholder = "Enter name" )
#set( $ectsPlaceholder = 0 )
#set( $responsibleSelection = "-" )
#set( $removed = "false")
#set( $defaultResponsibleSelection = "-")
<h1>$heading</h1>
If I format the html using VSCode formating I get this:
#parse("/templates/layout.vm")
#@mainLayout() #set( $heading = "New") #set( $namePlaceholder = "Enter name" ) #set(
$ectsPlaceholder = 0 ) #set( $responsibleSelection = "-" ) #set( $removed = "false") #set(
$defaultResponsibleSelection = "-")
<h1>$heading</h1>
With added variables and some conditions afterwards the code becomes unreadable. Could you fix that?
Thanks for the plugin, but I have one major issue with it. I'm new to Apache Velocity. So maybe the issue is my "codeing style".
I have the following snipped:
#parse("/templates/layout.vm") #@mainLayout() #set( $heading = "New") #set( $namePlaceholder = "Enter name" ) #set( $ectsPlaceholder = 0 ) #set( $responsibleSelection = "-" ) #set( $removed = "false") #set( $defaultResponsibleSelection = "-") <h1>$heading</h1>If I format the html using VSCode formating I get this:
#parse("/templates/layout.vm") #@mainLayout() #set( $heading = "New") #set( $namePlaceholder = "Enter name" ) #set( $ectsPlaceholder = 0 ) #set( $responsibleSelection = "-" ) #set( $removed = "false") #set( $defaultResponsibleSelection = "-") <h1>$heading</h1>With added variables and some conditions afterwards the code becomes unreadable. Could you fix that?