Editor Tips


Desktop-as-a-Service Designed for Any Cloud ? Nutanix Frame

Many of these tips have been gleaned for the tip of the day in DevStudio. You can modify and add to the list of tips that DevStudio will show you by editing the file 'MSDEV.TIP' and 'VCXX.TIP' in the IDE directory under the BIN directory.
  • 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".


  • I get "the file is being used by another application " when i save after compile

    Posted by Legacy on 11/20/2003 08:00am

    Originally 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 ..
    help !!! this is really bugging me

  • Scrolling and keeping the cursor fixed

    Posted by Legacy on 08/05/2002 07:00am

    Originally 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"
    'End Recording
    End Sub

    Sub LineScrollPageUp()
    'DESCRIPTION: A description was not provided.

    'Begin Recording
    ExecuteCommand "WindowScrollDown"
    'End Recording
    End Sub

  • Browsing Short cut

    Posted by Legacy on 01/23/2002 08:00am

    Originally posted by: Z Mohamed Mustafa

    To browse through the code u can use Alt+F12 key (select an identifier.
    gives 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 08:00am

    Originally posted by: Buffy Slay

    is there any way of stopping VStudio from hard carriage returning mid way through a line when you edit something in design view?


    i like
    (all on one line)
    1111111 111111 111 11111 111111 1111111111 111 111 1 111111

    vStudio seems to like
    1111111 111111 111
    11111 111111 1111111111
    111 111 1 111111

    many thanks

  • Ctrl+F2 to mark a line

    Posted by Legacy on 01/04/2002 08:00am

    Originally posted by: Mike

    You can "mark" lines in the text editor with Ctrl+F2.
    F2 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 07:00am

    Originally posted by: Addy

    Is there a way to have the VC++ editor display line numbers in the margin? Like in UltraEdit.


  • Help i need help!!!!! SOS SOS SOS

    Posted by Legacy on 10/14/2001 07:00am

    Originally 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.



  • Workspace window

    Posted by Legacy on 09/29/2001 07:00am

    Originally posted by: Upendra Acharya

    If workspace window is closed you can enable it by Alt+0.
    This 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 08:00am

    Originally 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)?

  • Text Selection

    Posted by Legacy on 04/28/2000 07:00am

    Originally 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

  • Loading, Please Wait ...

  • You must have javascript enabled in order to post comments.

Leave a Comment
  • Your email address will not be published. All fields are required.

Most Popular Programming Stories

More for Developers

RSS Feeds

Thanks for your registration, follow us on our social networks to keep up-to-date