[Dev-C++] indentation, line width, etc
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Site R. <sit...@fl...> - 2004-04-03 22:02:53
|
Ok this is a mostly miscellaneous post. I just have some questions. Some of these things I know there will probably not be a satisfactory = answer to, but I will try anyway. First: it is quite annoying that when having auto-indent on, even when I = have a blank line, the number of spaces are still put in. For instance, = if I am within an if statement within a function, which would be an 8 = space indentation, and I put a few blank lines between two lines of = code, on each blank line there are 8 spaces. This is not too much to = worry about, but is unneeded space taken up in the source when you have = a large project. Is there a setting to stop this from happening? Or do = you just have to hit that backspace key. I'd do that, of course, but = then I have to reindent my next line! Hmm, another annoyance. The first time I press the tab key, say I'm in a = function, it goes over 4 spaces. Now, say I go down another level into = code, and I hit the tab again, but twice, to get 8 spaces. Now next time = I hit tab, I will get 8 spaces, and when I hit it twice, I will get 16 = spaces, when really I'd really only want 12. I think that the tab = should only increase by 4 spaces, and not double?... I wish there were a way to have it format the code with indentation and = all with just one command! Kind of like what you can do in emacs, with = selecting the text and pressing M-C-\. Oh and my final question. I noticed that the characters which can fit = onto one line is only 46? That is awfully...short... even though in = editor options it has 80 for width. Not really a bother. I like wrapping = my lines so it does not go off the screen so that code is more easily = read, and I guess with such short lines I never have to worry that the = line width is greater than that of someone else's editor! But still = sometimes it is too short. :) Ok that is about all. just comments and questions I had. Brandon |