Quote:Original post by NamelessTwo Why tabs instead of just spaces? All manual about good style/coding practices recommend tabs. I've been always wondering about it? Why actually does it matter?
Well, a couple of reasons. First, it's a little easier to make sure you're using, say, exactly one tab than it is to make sure you're using exactly eight spaces. More importantly, others can choose a different tab size in their editor if they like it better; they can't nearly as easily choose a different number of spaces.
Quote:Isn't it a more trouble when you switch from one IDE to another?
Not if you use the tabs/spaces thing RoboGuy talked about. Besides, there hasn't been a serious editor written in the last twenty years which didn't allow you to choose tab size.
thanks guys. I've learned alot, and I have just adopted(?) to my own programming style after finally 6 months of c++ programming. indeed it was a long way and really needed to develop style.
well anyhow. I've been using the notepad for modifying my cpp code, but figured it just wasn't enough (actually using the notepad is frustrating as hell, i need to use the mouse so much it hurts my back. u know going to the end of the line and such, if i use only keyboard it takes forever holding on to the -> key. and another note to add, I started using opera, and learned the whole hot keys for em, you don't understand how much quicker you can function without a mouse more than half the time, the trade off though is that it eats up memory like a fish who found water). I would like to know if you guys know any windows notepads out there that has these features. sorry if i'm being a little too *Imaginative*
#1) UN*X vi functions such as ctrl+l = line delete ctrl+y = search ctrl+u = end of file etc... line goes on that matches the unix text editors or maybe even mixed with some of these added onto those functions: ctrl+c = copy line ( i believe this is ms) ctrl+v = paste line that would allow me to operate my keyboard closer to the speed of my thoughts + that would allow me to not reach over to my mouse coz im lazy and shortkeys are quicker.
#2) Maintains simplicity GUI of the notepad environment. I can't handle the MSVC environment. i hate using M$ products, though i have to. i know.. u know how i feel. just the top blue thingy, the file menu bar. that's it. no pasting icons or cut icons that i will never click and take up space in my small 17" hurts my eyes enough.
#3) some coloring functions where I can mark certain code with a certain color, so that i can identify code in color blocks rather letters. (search would be faster, but certain letters are distributed throughout the code)
#4) and common things should be bolded out with certain colors that can be setup such as class, struct, int, float, double, string, map etc... and of course the user can change it.
doesn't need to be freeware. Thanks. I don't think such a powerful yet simple editor exist!! please add on to the list what you may want, and if it doesn't exist, maybe some of us can join code and develop a gamedev notepad. :D
edit1) find / replace on certain colored blocks. find / replace on selection.
[Edited by - Tradone on March 23, 2006 11:22:04 AM]
Quote: #2) Maintains simplicity GUI of the notepad environment. I can't handle the MSVC environment. i hate using M$ products, though i have to. i know.. u know how i feel. just the top blue thingy, the file menu bar. that's it. no pasting icons or cut icons that i will never click and take up space in my small 17" hurts my eyes enough.
Once you learn the shortcuts to the commands that you use most often, you don't need many toolbars open. I still have my VS workspace using the default toolbars. I don't need to add anything more since I either already know the shortcut keys I need, or I don't even use the options on those toolbars.
Edit: Wow. What's going on?! Edit, Edit: Nevermind. Deleted the double post. Strange that clicking on the Edit button would cause a double post.
Quote:Original post by Tradone #1) UN*X vi functions such as ctrl+l = line delete ctrl+y = search ctrl+u = end of file etc... line goes on that matches the unix text editors
You can customize all of the keyboard shortcuts in Tools->Options, under Keyboard.
Quote:Original post by Tradone #2) Maintains simplicity GUI of the notepad environment. I can't handle the MSVC environment. i hate using M$ products, though i have to. i know.. u know how i feel. just the top blue thingy, the file menu bar. that's it. no pasting icons or cut icons that i will never click and take up space in my small 17" hurts my eyes enough.
Set all of the tool panels to autohide, and right click on the toolbars to remove them. Your entire screen becomes a text editor, with only a few tens of pixels missing on each side.
SlimDX | Ventspace Blog | Twitter | Diverse teams make better games. I am currently hiring capable C++ engine developers in Baltimore, MD.