I've noticed that when I enable "Use Tab Character" and "Smart Tabs" in the Editor Options, they conflict with each other. Hitting Tab twice on the second line below will insert a tab and then 3 spaces. Hmmm.
/* Use default icon and mouse-pointer */wincl.hIcon=LoadIcon(NULL,IDI_APPLICATION);
wincl.hIconSm=LoadIcon(NULL,IDI_APPLICATION);
But if I disable "Smart Tabs" then I get two tabs like I expect. So all is fine.
More importantly, at least for me, is there a tool that will re-indent or re-format a block of selected code? That is something I really miss from Visual studio (I don't miss much else, you guys did a great job).
Thanks,
David
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes, smart tabs are really 'dumb' tabs. I think the feature was modelled after the Borland IDE, where they are equally annoying. Dev-C++ is somewhat perversely written in Delphi - which probably explains, both the smart tabs feature and why none of the user community are prepared to help develop it!
If I want to reformat code, I do it in VC++ 2008 Express, even if I then paste it back into Dev-C++ to build it - which I generally only do these days if I am assisting someone here who has not seen the light and moved to the superior tool. You might consider using GC GreatCode. Personally I found it cumbersome to use, and difficult to get it to format code exactly the way I'd write it, but being a command line tool, it can after a fashion be integrated with Dev-C++ via the Tools menu customisation (the only problem is you have to be sure to save your file before getting GC to work on it, otherwise it will modify the disk file and cause your changes to be lost - another RFE would be needed to fix that, and at the same time you could ask for the project's command line parameters to be provided as macros so I can integrate Insight more seamlessly ;-) I'd do it myself, but I already know it is futile ).
And again, I am pretty sure no one still here had much of a hand in the project other than supporting its users.
Clifford
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm using Dev-C++ 4.9.9.2
I've noticed that when I enable "Use Tab Character" and "Smart Tabs" in the Editor Options, they conflict with each other. Hitting Tab twice on the second line below will insert a tab and then 3 spaces. Hmmm.
But if I disable "Smart Tabs" then I get two tabs like I expect. So all is fine.
More importantly, at least for me, is there a tool that will re-indent or re-format a block of selected code? That is something I really miss from Visual studio (I don't miss much else, you guys did a great job).
Thanks,
David
Yes, smart tabs are really 'dumb' tabs. I think the feature was modelled after the Borland IDE, where they are equally annoying. Dev-C++ is somewhat perversely written in Delphi - which probably explains, both the smart tabs feature and why none of the user community are prepared to help develop it!
If I want to reformat code, I do it in VC++ 2008 Express, even if I then paste it back into Dev-C++ to build it - which I generally only do these days if I am assisting someone here who has not seen the light and moved to the superior tool. You might consider using GC GreatCode. Personally I found it cumbersome to use, and difficult to get it to format code exactly the way I'd write it, but being a command line tool, it can after a fashion be integrated with Dev-C++ via the Tools menu customisation (the only problem is you have to be sure to save your file before getting GC to work on it, otherwise it will modify the disk file and cause your changes to be lost - another RFE would be needed to fix that, and at the same time you could ask for the project's command line parameters to be provided as macros so I can integrate Insight more seamlessly ;-) I'd do it myself, but I already know it is futile ).
And again, I am pretty sure no one still here had much of a hand in the project other than supporting its users.
Clifford