Find the answer to your Linux question:
Results 1 to 8 of 8
I am a programmer. I worked in windows for a few years. But now I have to work in Linux. I'm new to Linux. In Visual Studio all the key ...
  1. #1
    Just Joined!
    Join Date
    May 2008
    Location
    Wuhan, China
    Posts
    11

    Which tool do you use to read source code?

    I am a programmer. I worked in windows for a few years. But now I have to work in Linux. I'm new to Linux.

    In Visual Studio all the key words are highlighted, and navigate through source files is much easy.

    Is there any source code reading tool in Linux work like that?

    Thank you!

  2. #2
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    Most text editors have a focus around code, from VIM and Emacs to desktop editors like Kate and Gedit. However if you want a full development environment you might look at Kdevelop. There are plenty of environments available but if you just want syntax highlighting you might be happy enough with Gedit.

  3. #3
    Linux Engineer Thrillhouse's Avatar
    Join Date
    Jun 2006
    Location
    Arlington, VA, USA
    Posts
    1,377
    I think the answer to your question depends on the languages you would like to develop for. There are IDEs out there that work on both Windows and Linux (although Visual Studio is not one of them). A full featured IDE would be useful for compiled languages like C/C++ and Java. Eclipse and Netbeans are two that come to mind right away although there are many others.

    If you're looking to develop using scripting languages (PHP, Python, Perl, etc.) then an IDE is probably overkill. Many text editors come with syntax highlighting and source navigation built in (or available through plugins) and would probably be better suited for those purposes.

  4. #4
    Just Joined!
    Join Date
    May 2008
    Location
    Wuhan, China
    Posts
    11
    Thank you!

    I just want a tool to read source code(C/C++, Java), which would help me on understanding the structure of source codes. I don't need IDE now. Build is done by GNU makefile. The whole project has been created by others, I just want to study the source code.

    By the way, is there any tool thant can used to read build scripts like GNU makefile?

  5. #5
    Linux Guru
    Join Date
    Nov 2007
    Location
    Córdoba (Spain)
    Posts
    1,513
    Quote Originally Posted by fouryu View Post
    Thank you!

    I just want a tool to read source code(C/C++, Java), which would help me on understanding the structure of source codes. I don't need IDE now. Build is done by GNU makefile. The whole project has been created by others, I just want to study the source code.

    By the way, is there any tool thant can used to read build scripts like GNU makefile?
    Just like with source, most editors should have a way to do so.

    The hiighting features are usually implemented via an extensible system, so, if you want to add hiligh for a new language or kind of file you can do so usually by editing some configuration file(s). Most common types are supported. And you will find that some editors will have hilight available even for many different config file formats like the ones residing in /etc

  6. #6
    Just Joined!
    Join Date
    May 2008
    Location
    Wuhan, China
    Posts
    11
    Is there any one who have used Source Insight in Windows? Can you tell me is there a similar tool as it in Linux? What is it and how can I install it in my Fedora Core 8.

    Netbeans is too large for me, and is overkill indeed! It's so slow in my computer that I can't endure it. But it's the tool that can help.

    I need both Keywords highlighting and navigating through the keywords. When I read the source code, I can find where the keywords are defined and other infomation associated! Am I write it clear?

  7. #7
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    I haven't used that program but from what you are saying about syntax highlighting and navigation I'd guess you'd be happy enough with Kate. It is a text editor but it is quite advanced and offers the functionality you are looking for.

  8. #8
    Linux Guru
    Join Date
    Nov 2007
    Location
    Córdoba (Spain)
    Posts
    1,513
    Quote Originally Posted by bigtomrodney View Post
    I haven't used that program but from what you are saying about syntax highlighting and navigation I'd guess you'd be happy enough with Kate. It is a text editor but it is quite advanced and offers the functionality you are looking for.
    Kate is ok, if you need something more, kdevelop can help you to a certain extent, depending on the structure of the project.

    You can always try to run that windows program under wine. It might just works as well

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...