Shop OBEX P1 Docs P2 Docs Learn Events
text editors for C — Parallax Forums

text editors for C

Erik FriesenErik Friesen Posts: 1,071
edited 2009-11-28 16:41 in General Discussion
I have been using MPLAB's text editor extensively and also Visual studio's C# editor. I have tried every text editor I can find and none seem to work with both auto-complete/intellisense and code collapsing similar to the way visual studio's IDE does. I would use visual studio, but the intellisense within the C++ editor does not auto complete the name of the top name of the struct the way the C# editor does.

What do others use?

Comments

  • CounterRotatingPropsCounterRotatingProps Posts: 1,132
    edited 2009-11-27 19:17
    Ultraedit Studio

    tons of templates, auto complete, scan-back lookups, scripts, macros, coffee, doughnuts...



    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔


    Post Edited (CounterRotatingProps) : 11/27/2009 10:04:28 PM GMT
  • Erik FriesenErik Friesen Posts: 1,071
    edited 2009-11-27 19:22
    I cannot get Ultraedit studio to autocomplete struct members. Clicking on classview does nothing.
  • CounterRotatingPropsCounterRotatingProps Posts: 1,132
    edited 2009-11-27 20:04
    What version are you using?

    Struct members works on mine - I just tried it - remember to use tab or enter (depends on setting)

    check these settings:

    advanced ->configuration ->editor ->auto-complete

    advanced ->configuration ->IDE ->IntelliTips ->Quick Tips

    Also, but I'm uncertain, the file extension/ language parser may affect it:

    View -> View as hightlighting (for file type) -> [noparse][[/noparse]correct C++/cpp file]
    (those have to be loaded in the right dir and you have to make sure the right one is selected. They are editable and are online - again, I'm not sure if there's a link between the 'highlighting' functionality and the autocomplete stuff.)

    HTH
    - H



    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔


    Post Edited (CounterRotatingProps) : 11/27/2009 10:04:16 PM GMT
  • Erik FriesenErik Friesen Posts: 1,071
    edited 2009-11-27 22:30
    I am using V 9.30.0.1002

    I have a suspicion it could have something to do with the extension, or somehow parsing the thing, but I can't seem to get it to go. I am using pure C obviously.
  • SRLMSRLM Posts: 5,045
    edited 2009-11-28 01:40
    I like Code::Blocks, but I'm not sure if it has all the features you want (I suspect it does though).
  • Erik FriesenErik Friesen Posts: 1,071
    edited 2009-11-28 01:47
    I can't get code::blocks to start trying to auto complete at all. Once again, maybe I just don't know how. With VS it just works.
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2009-11-28 10:31
    Linux has a whole array of editors that are intended for programing - emacs, vi, vim, nano, pico, and so on. If you really want to use these in Windows, you could port the C code over. That's the appeal of GNU license. And of course, these are free.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Ain't gadetry a wonderful thing?

    aka G. Herzog [noparse][[/noparse] 黃鶴 ] in Taiwan
  • Erik FriesenErik Friesen Posts: 1,071
    edited 2009-11-28 13:32
    My brother and I have an argument often about open source vs paid software. He for example likes graphics editors down the line of gimp, xara, etc. I use corel draw for what I do. While typically it seems like the free ones work, there is a detail or two that doesn't work, like exporting a file to another program, and I suppose that there just isn't the resources to finish the nitty gritty. I have heard it said the 90% of the work is in the last 10%, and I think software developement is the same in that regard.

    What I have found is that VS seems to be the leader in this intellisense thing, and I suppose I'll be hard pressed to match the useability. I will probably use vs2008, or try vs2010, to see how it works. The only thing I'll really lack is the capability to compile from the ide, but I'm not sure it will work with any of the others anyway.

    I have tried --

    UEstudio -- Intellisense too buggy to work with struct members

    Code::Blocks - Intellisense does not work

    Notepad++ - No Intellisense

    Vim - No Intellisense

    Crimson editor - No Intellisense

    Zeus - No Intellisense

    Programmers notepage - no intellisense

    Bloodshed Dev c++ - No code folding
  • LeonLeon Posts: 7,620
    edited 2009-11-28 15:52
    I like the editor built-in to the Rowley Associates CrossStudio IDE, but it is only available if you use their compilers.

    Leon

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Amateur radio callsign: G1HSM
  • jazzedjazzed Posts: 11,803
    edited 2009-11-28 16:41
    Erik Friesen said...

    Code::Blocks - Intellisense does not work
    Vim - No Intellisense
    Bloodshed Dev c++ - No code folding
    Code::Blocks intellisense requires more than one or two characters before it's activated. This is nice compared to visual studio where anything starts intellisense (and it makes me feel like a two year old so often that I've tried in earnest without success to just friggin turn it off). Unfortunately, Code::Blocks has other issues that I can't stand like the local variable debug window (ugh). VI is my all time favorite text editor because of regular expression search/replace and I've used it forever. If VI is installed correctly, hitting ctrl-k with the cursor over a C library function brings up the man page. GDB is available separately of course. Bloodshed has intellisense but I've never made the debugger work.
Sign In or Register to comment.