IDE's and contributions

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Sirridan
    Knight
    • May 2009
    • 560

    IDE's and contributions

    Hello, I'm a recent linux convert, and while my computers both still have win7, I find I'm liking linux a bit more and more every day. Anyway, does anyone have a good recommendation for an IDE for c development? I've been using Visual studio at work and home and I would rather not use eclipse.

    Thanks for suggestions, I hope I can contribute something meaningful to V soon.
  • Magnate
    Angband Devteam member
    • May 2007
    • 5110

    #2
    Originally posted by Sirridan
    Hello, I'm a recent linux convert, and while my computers both still have win7, I find I'm liking linux a bit more and more every day. Anyway, does anyone have a good recommendation for an IDE for c development? I've been using Visual studio at work and home and I would rather not use eclipse.

    Thanks for suggestions, I hope I can contribute something meaningful to V soon.
    What's wrong with eclipse?? It's the one used by most linux devs I know. (Personally I don't bother with this new-fangled "gooey" stuff, I write aliases for grep to do what I want it to do from a command line, and do my coding in nano.)
    "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

    Comment

    • Sirridan
      Knight
      • May 2009
      • 560

      #3
      Originally posted by Magnate
      What's wrong with eclipse?? It's the one used by most linux devs I know. (Personally I don't bother with this new-fangled "gooey" stuff, I write aliases for grep to do what I want it to do from a command line, and do my coding in nano.)
      Eclipse is fine, I should probably spend more time learning it though.

      On another note, how does one write aliases for grep? I've just recently discovered how useful that command can be.

      Comment

      • Derakon
        Prophet
        • Dec 2009
        • 9022

        #4
        alias egrep='grep -E'

        Stick that into your .login file and it'll get evaluated every time you log in.

        Personally I use vim for my development work, with, yes, a large helping of grep. I don't use aliases though.

        Comment

        • Magnate
          Angband Devteam member
          • May 2007
          • 5110

          #5
          I use

          alias grip='grep -r --exclude-dir=.svn --exclude=*.o'

          and I stick it in ~/.bashrc

          YMMV
          "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

          Comment

          • d_m
            Angband Devteam member
            • Aug 2008
            • 1517

            #6
            As long as we're all showing off:

            I use a shell script called sgrep which handles these issues in a pretty nice way:

            Code:
            #!/bin/sh
            grep --binary-files=without-match \
                --exclude-dir=CVS \
                --exclude-dir=.svn \
                --exclude-dir=.hg \
                --exclude-dir=.git \
                --exclude '*~' \
                --exclude '.#*' \
                --exclude '#*' \
                --exclude '*-' \
                "$@"
            I prefer not to hardcode -r since sometimes I'm only interested in the current directory. I also prefer to exclude all binary files rather than just "*.o" explicitly.
            linux->xterm->screen->pmacs

            Comment

            • KarlM
              Rookie
              • May 2007
              • 16

              #7
              I include --color and -n in my alias. Nice --binary-files switch!

              EDIT: vim for my IDE
              "You hit Morgoth, Lord of Darkness. You have slain Morgoth, Lord of Darkness. Congratulations, you have won the game. The Great Wyrm of Balance breathes chaos. You die."

              Comment

              • Sirridan
                Knight
                • May 2009
                • 560

                #8
                Some nifty things there, thank ya much, ill mess around and see what I like. For sure using vi(m) though, its been a blast using it so far.

                Comment

                • Magnate
                  Angband Devteam member
                  • May 2007
                  • 5110

                  #9
                  I am outgrepped!
                  "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

                  Comment

                  • Nick
                    Vanilla maintainer
                    • Apr 2007
                    • 9637

                    #10
                    Originally posted by Magnate
                    I am outgrepped!
                    Me too, massively. Can I start an emacs/vi war now?
                    One for the Dark Lord on his dark throne
                    In the Land of Mordor where the Shadows lie.

                    Comment

                    • Marble Dice
                      Swordsman
                      • Jun 2008
                      • 412

                      #11
                      Originally posted by Nick
                      emacs/vi war now?
                      nano 4 lyfe

                      Comment

                      • PowerDiver
                        Prophet
                        • Mar 2008
                        • 2820

                        #12
                        Originally posted by Nick
                        Me too, massively. Can I start an emacs/vi war now?
                        Only if you are suitably crazy.

                        I heard about someone who made emacs his default *shell*. That's true love. Can you imagine such dedication?

                        I always figured the original rogue was meant to teach people to use the vi movement keys. I suppose some would reverse that implication.

                        Comment

                        • Nick
                          Vanilla maintainer
                          • Apr 2007
                          • 9637

                          #13
                          Originally posted by PowerDiver
                          Only I heard about someone who made emacs his default *shell*.
                          Yes, I've heard of that too - I'm not nearly that hard core. I also know someone who does everything in a series of 'screen's...
                          One for the Dark Lord on his dark throne
                          In the Land of Mordor where the Shadows lie.

                          Comment

                          • d_m
                            Angband Devteam member
                            • Aug 2008
                            • 1517

                            #14
                            screen(1) cures the blind, heals the sick and *slays* dragons.
                            linux->xterm->screen->pmacs

                            Comment

                            • fizzix
                              Prophet
                              • Aug 2009
                              • 3025

                              #15
                              Originally posted by PowerDiver
                              Only if you are suitably crazy.

                              I heard about someone who made emacs his default *shell*. That's true love. Can you imagine such dedication?

                              I always figured the original rogue was meant to teach people to use the vi movement keys. I suppose some would reverse that implication.
                              Was it Richard Stallman?

                              Having had several conversations with the guy, I'm convinced he is the most socially awkward person I have ever met...

                              Comment

                              Working...
                              😀
                              😂
                              🥰
                              😘
                              🤢
                              😎
                              😞
                              😡
                              👍
                              👎