about the folding for "{ }"?

R

rmn190

how can i implement the folding for the corresponding "{ }" in
Java,like in NotePad++?
and about the dashed?we know that with the dashed it is easy to
distinguish the structure between the { } pair.
please help!
thanks a lot!
 
J

Joshua Cranmer

rmn190 said:
how can i implement the folding for the corresponding "{ }" in
Java,like in NotePad++?
and about the dashed?we know that with the dashed it is easy to
distinguish the structure between the { } pair.
please help!
thanks a lot!

What are you asking? If you are asking for how to write a syntax file
that tells a particular IDE how to fold Java braces, then I can't help
you there. If you are asking for a general routine to fold corresponding
braces, then a stack-based routine is simple enough to do the trick.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,071
Latest member
MetabolicSolutionsKeto

Latest Threads

Top