Menu

Best editor setting

2003-04-26
2012-09-26
  • Rico Zuñiga

    Rico Zuñiga - 2003-04-26

    What do you think is the best Editor Options (General) setting?

     
    • Wayne Keen

      Wayne Keen - 2003-04-26

      I will tell you with some embarassment that I use whatever it comes with.

      :-)

      Wayne

       
    • John King

      John King - 2003-04-26

      The devlopers have done a darn good jod with DEV-C++, and so far I have not found it necessary to change any of the defaulf settings. They have earned my trust as far as that goes.

      John

       
    • aditsu

      aditsu - 2003-04-28

      my settings:

      general:
      auto indent YES
      insert mode YES
      use tab character YES
      smart tabs NO
      keep trailing spaces NO
      backspace unindents NO (doesn't work well)
      group undo YES
      insert dropped files NO
      show hidden line characters NO
      enhanced home key YES
      cursor past eof NO
      cursor past eol NO
      double click line NO
      find text at cursor YES
      scrollbars as needed YES
      half page scroll NO
      scroll hint YES
      show editor hints YES
      tab size 4
      right margin visible YES, width 80
      hilight matching braces/parenthesis YES

      display:
      gutter:
      visible YES
      auto-size YES (doesn't make any difference)
      use custom font YES
      line numbers YES
      start at zero NO
      show leading zeros NO

      note: the gutter is black at installation, and becomes gray after I open editor options and click OK (even without changing anything)

      bugs in editor (at least with the above options):
      - on a new line, type a tab and a space and see what happens
      - on a new line, type "ab(" then press ctrl-backspace and see what happens
      - on a new line, type a tab and "ab" then go between the a and b and press enter
      - on a new line type 2-3 tabs and "a" then go just before the "a" and press backspace (note: backspace unindents is set to NO)

      Adrian

      P.S. all these in dev-c++ 4.9.8.0

       
    • Anonymous

      Anonymous - 2003-04-28

      I always avoid using hard-tabs (use tab character NO). This is because I work on collaborative projects and if a file has been edited by different people on different editors with different hard/soft tab settings and different tab size settings, the code ends up looking a mess.

      Also I have been programming for a long time, and the dot matrix printers we used to dump listings to under DOS always output hard tabs as 8 characters regardless of the editor setting, so it has also become a habit.

      Most everything else is down to personal preference, the tab issue is the only thing I can think of any strong technical reason behind my preference.

      Clifford.

       

Log in to post a comment.

MongoDB Logo MongoDB