What editor do you use?



  • Hi all,

    I would like to know about what kind of editor you guys use. My idea is to prioritize better support for the popular editors in monomake. So it would be nice to know about what editors are: your favorite text editor?.

    So far, I have added (little) support for Atom, mainly because it was somewhat easy. However, what code editors do you like to use?

    (Note that we would lean towards cross-platform editors, to easy the integration efforts.)



  • I've been using Geany for few years, mainly on Linux although it does claim to be cross-platform. (About Geany)

    (And Vim when I have to work on command-line.)


  • administrators

    I use Sublime Text, and I usually have a project file like this to be able to compile and install Mono apps:

    { "build_systems":
      [ { "file_regex": "^([^\n:]+):([0-9]+):([0-9]+): (.*)$"
        , "name": "MyApp"
        , "cmd": "make"
        , "variants":
          [ { "name": "Clean"
            , "cmd": ["make","clean"]
            }
          , { "name": "Install"
            , "cmd": ["make","install"]
            }
          ]
        , "working_dir": "${project_path}"
        }
      ]
    , "folders":
      [ { "path": "."
        , "folder_exclude_patterns": ["build"]
        , "file_exclude_patterns": ["*.elf","*.map"]
        }
      ]
    }


  • @malaire does Geany use anything similar to Sublime Text config files?

    I am thinking about adding support for these files in monomake. In Sublime Text the project json config seems to be pretty generic.



  • @stoffera said in What editor do you use?:

    @malaire does Geany use anything similar to Sublime Text config files?

    I am thinking about adding support for these files in monomake. In Sublime Text the project json config seems to be pretty generic.

    Geany uses ini-file syntax for project files, with .geany extension, which isn't quite as easy to understand as json, especially for build-related options.

    Geany manual has some documentation about syntax at Configuration Files

    I havn't tried build-settings of Geany much as I usually prefer to compile in separate console with custom makefile. I did a quick test with C and generated project-file looks like this:

    [editor]
    line_wrapping=false
    line_break_column=80
    auto_continue_multiline=true
    
    [file_prefs]
    final_new_line=true
    ensure_convert_new_lines=false
    strip_trailing_spaces=false
    replace_tabs=true
    
    [indentation]
    indent_width=2
    indent_type=0
    indent_hard_tab_width=8
    detect_indent=false
    detect_indent_width=false
    indent_mode=2
    
    [project]
    name=Test
    base_path=/home/malaire/
    description=
    file_patterns=
    
    [long line marker]
    long_line_behaviour=1
    long_line_column=80
    
    [files]
    current_page=0
    FILE_NAME_0=23;C;0;EUTF-8;0;1;0;%2Fhome%2Fmalaire%2Ftest.c;0;2
    
    [build-menu]
    CFT_01_LB=_Build
    CFT_01_CM=gcc -Wall -Wextra -o "%e" "%f"
    CFT_01_WD=
    filetypes=C;
    CFT_00_LB=_Compile
    CFT_00_CM=gcc -Wall -Wextra -c "%f"
    CFT_00_WD=

Log in to reply