Editor Tips
Posted
by Zafir Anjum
on August 8th, 1998
- You can convert tab to spaces or vice versa using the Tabify and Untabify commands. You can find this command in the "Edit | Advanced" menu.
- You can start an incremental search by pressing Ctrl-I.
- To open the .RC file as text, click the Open command on the File menu and change the Open As option to Text.
- You can automatically indent and format your C/C++ code with the "Smart Indent" feature turned on. You can find this feature on the Tabs tab in the Options dialog. If you already have code that is not indented properly, select the code and pick the "Edit | Advanced | Format Selection".

Comments
I get "the file is being used by another application " when i save after compile
Posted by Legacy on 11/20/2003 12:00amOriginally posted by: My3
in msdev.. if i save my application after compiling with errors . (or without errors) .. i get a the above message.If i click again i can save my file.
Shift +f5 to shift from debug mode to editing mode does'nt work ..
Replyhelp !!! this is really bugging me
Scrolling and keeping the cursor fixed
Posted by Legacy on 08/05/2002 12:00amOriginally posted by: Andy Smith
Here are two macros which I find useful. The first moves the current line up without changing the position of the cursor on the screen (assign this to the keys Alt+Up Arrow). The second does the same for moving down (assign this to the keys Alt+Down Arrow).
'------------------------------------------------------------------------------
'FILE DESCRIPTION: New Macro File
'------------------------------------------------------------------------------
Sub LineScrollPageDown()
'DESCRIPTION: A description was not provided.
'Begin Recording
ExecuteCommand "WindowScrollUp"
ActiveDocument.Selection.LineDown
'End Recording
End Sub
Sub LineScrollPageUp()
'DESCRIPTION: A description was not provided.
Reply'Begin Recording
ExecuteCommand "WindowScrollDown"
ActiveDocument.Selection.LineUp
'End Recording
End Sub
Browsing Short cut
Posted by Legacy on 01/23/2002 12:00amOriginally posted by: Z Mohamed Mustafa
To browse through the code u can use Alt+F12 key (select an identifier.
Replygives call graph, base class members , definitions and many more , just use it and see how powerful it is.
Stop the formatting on Code
Posted by Legacy on 01/14/2002 12:00amOriginally posted by: Buffy Slay
ReplyCtrl+F2 to mark a line
Posted by Legacy on 01/04/2002 12:00amOriginally posted by: Mike
You can "mark" lines in the text editor with Ctrl+F2.
ReplyF2 will then move you to the next marked line.
Ctrl+F2 again to unmark a line.
Editor Line Numbers
Posted by Legacy on 10/26/2001 12:00amOriginally posted by: Addy
Is there a way to have the VC++ editor display line numbers in the margin? Like in UltraEdit.
Thanx,
ReplyAddy
Help i need help!!!!! SOS SOS SOS
Posted by Legacy on 10/14/2001 12:00amOriginally posted by: Peter
Help i need help
I need to know where can i find all the codes for VC++ because i just wan't to try out the p0rogramm without any one helping me by just trying i can learn a lot faster and also be more careful with my computer. and dose any one know wich book i should read for all my questions?
Thank you.
sincerely,
Peter
ReplyWorkspace window
Posted by Legacy on 09/29/2001 12:00amOriginally posted by: Upendra Acharya
If workspace window is closed you can enable it by Alt+0.
ReplyThis is very useful when you want to switch from files to resources or class definitions.
VC5 IDE: Can you customize smart-indent rules?
Posted by Legacy on 01/18/2001 12:00amOriginally posted by: Brook Heimbaugh
Using Alt-F8 to format a block of code is a godsend, especially when many people have edited the code before you using different editors and styles. However, sometimes you don't get exactly the result you want (examples available upon request).
Is there any way to modify the formatting rules in VC5 (or VC6)?
ReplyText Selection
Posted by Legacy on 04/28/2000 12:00amOriginally posted by: Rajashekhar Hiremath
Select shift+Alt and use mouse to select the specific columns of text.
The same can be achieved by holding just Alt key along with mouse
ReplyLoading, Please Wait ...