Menu

Separate indent and tab size

Thomas
2008-05-28
2012-11-13
  • Thomas

    Thomas - 2008-05-28

    Hi,

    I’m a beginner with Notepad++, but I found it very useful. Started to use it this Monday; and I've already written my first plugin.

    I develop many cross platform projects (C/C++ on Windows and UNIX) and have been using different editors (and still are), but I believe Notepad++ will make some of them obsolete.

    My problem is that the my tab size is "physical" set to 8, since I use many UNIX command line tools like diff, cat, more, etc.

    In editors like NEdit (an X editor on UNIX) and in Visual C++ 2005, I can configure the tab size to 8 and the indent size to 2. In VC++ the tab key does an indent, and not inserting a physical TAB character.

    Can Notepad++ act like VC++ regarding tab size and indent sizes? I’m asking is because I don’t want to go into very old source files and change any TAB characters to right amount of spaces.

    Hope for some help on this issue,
    Thomas

     
    • Abhay Joshi

      Abhay Joshi - 2008-05-29

      Hi Thomas,

      If you are using the latest version(This facility is in older version too, but I don't remember from which),
      Goto "settings" menu (6th Item).
      Select "Preference..." (1st Item).
      Now you will see.. the Dialog.
      Select "MICS" tab.
      In top left corner you will find the setting; probably what you need.

      Take a look at all options. that will make your life easy.

      Take Care,

      Abhay