Changes between Version 114 and Version 115 of j2p


Ignore:
Timestamp:
08/20/24 09:00:46 (2 months ago)
Author:
wouter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • j2p

    v114 v115  
    321321You can also annotate import statements with any python code. Note that in the translated python code, these snips will be placed after the imports.
    322322
    323 {{{#!td style="background: #efe"
    324 Remember to turn off auto formatting of comments if you use an IDE (eg Eclipse).
    325 Otherwise it will corrupt the layout of your #PY code.
     323
     324{{{#!td style="background: #eef"
     325#PY always goes **before** a java object. If you really have to add #PY after your last line of java code, you will have to add a dummy class at the end, and annotate that.
     326}}}
     327
     328{{{#!td style="background: #fee"
     329Auto formatting (eg when using "save actions in Eclipse) may corrupt the format of #PY blocks. We recommend turning off auto comment formatting.
    326330}}}
    327331