[Bug 214182] New: Better multi-line comment support in C mode

View: New views
2 Messages — Rating Filter:   Alert me  

[Bug 214182] New: Better multi-line comment support in C mode

by Bugzilla from manu.dwarf@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://bugs.kde.org/show_bug.cgi?id=214182

           Summary: Better multi-line comment support in C mode
           Product: kate
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: general
        AssignedTo: kwrite-devel@...
        ReportedBy: manu.dwarf@...


Version:            (using KDE 4.3.2)
Compiler:          gcc 4.4.1
OS:                Linux
Installed from:    Ubuntu Packages

To insert a multi-line comment, I do /* and then I press enter. It'd be well
Kate writes automatically
/*
 *
 */
and puts the cursor at the second line instead of having to do it by myself.

Second suggestion :
Consider this :
/*
 * This is a comment
 */

The cursor is at the end of the second line and I press enter. Kate
automatically recognises the indentation but doesn't insert the '*' character.


I know this is details, but details often make difference :)

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@...
https://mail.kde.org/mailman/listinfo/kwrite-devel

[Bug 214182] Better multi-line comment support in C mode

by Bugzilla from dhdev@gmx.de :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://bugs.kde.org/show_bug.cgi?id=214182





--- Comment #1 from Dominik Haumann <dhdev gmx de>  2009-11-11 23:13:37 ---
Edit cstyle.js file and change the config options to what you want them to be.
//BEGIN USER CONFIGURATION
var cfgIndentCase = true;         // indent 'case' and 'default' in a switch?
var cfgIndentNamespace = true;    // indent after 'namespace'?
var cfgAutoInsertStar = false;    // auto insert '*' in C-comments
var cfgSnapSlash = false;         // snap '/' to '*/' in C-comments
var cfgAutoInsertSlashes = false; // auto insert '//' after C++-comments
//END USER CONFIGURATION

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@...
https://mail.kde.org/mailman/listinfo/kwrite-devel