[Bug 82919] New: code folding problem when scripting bash scripts

markus flaig toskala at schanzengeeks.net
Mon Jun 7 01:06:06 UTC 2004

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
           Summary: code folding problem when scripting bash scripts
           Product: kdevelop
           Version: 3.0.3
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: all editors
        AssignedTo: kdevelop-devel kdevelop org
        ReportedBy: toskala schanzengeeks net

Version:           3.0.3 (using KDE 3.2.2, Gentoo)
Compiler:          gcc version 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7)
OS:                Linux (i686) release 2.6.5-gentoo-r1

hi there,
the problem with code folding occurs whenever i script a bash-script and create a function that contains several if-clauses. 

example script-code:

function_foo () {

	if [ -f /tmp/foo ]; then
		echo -e "hello foo!";
		echo -e "no foo :(";

	if [ -f /tmp/bar ]; then
		echo -e "hello bar!";
		echo -e "no bar :(";

so the problem now is, that i usually can fold each if-clause for itself, but somehow whenever i fold one of the if-clauses my whole function gets folded, what actually isnt what i want :)

i am not sure why it occurs and when, i just discovered that problem 2 times now on 2 different scripts i try to maintain. nothing really serious, just a little bit annoying.


More information about the KDevelop-devel mailing list