Recent

Author Topic: [SOLVED] Exclude lines from JCF  (Read 970 times)

totya

  • Hero Member
  • *****
  • Posts: 719
[SOLVED] Exclude lines from JCF
« on: February 23, 2023, 01:08:33 pm »
Hi! Is there any way to some lines will not format with jcf? For example sql commands between ' '.
« Last Edit: February 23, 2023, 09:16:59 pm by totya »

DomingoGP

  • New Member
  • *
  • Posts: 39
Re: Exclude lines from JCF
« Reply #1 on: February 23, 2023, 08:45:54 pm »
You can wrap the code to be ignored by JCF with special comments.
//jcf:format=off
 code to ignore
 //jcf:format=on

See https://jedicodeformat.sourceforge.net/comments.html for more options.

totya

  • Hero Member
  • *****
  • Posts: 719
Re: Exclude lines from JCF
« Reply #2 on: February 23, 2023, 09:16:47 pm »
//jcf:format=off
 code to ignore
 //jcf:format=on

Wow thank you, it's working!

DomingoGP

  • New Member
  • *
  • Posts: 39
Re: [SOLVED] Exclude lines from JCF
« Reply #3 on: February 23, 2023, 09:32:23 pm »
you're welcome.

 

TinyPortal © 2005-2018