Sie sind auf Seite 1von 10

Community

Ask!

Developer

Design

Discourse

Hardware

Insights

Juju

Shop

More

Ubuntu

sign up

Questions

Tags

Users

Ask Ubuntu is a question and answer site


for Ubuntu users and developers. It's 100%
free.

Badges

log in

tour

help

Search Q&A

Unanswered

Ask Question

Here's how it works:

Sign up

Anybody can ask


a question

Anybody can
answer

The best answers are voted


up and rise to the top

Text editor with tabs and syntax highlighting? Gedit alternative? [closed]

As the question states, gedit has a few annoying bugs (cursor disappears, etc). I just need tabs,
syntax highlighting, and line numbers. I will use it mostly for programming. I am using Lubuntu.
edit: Thanks for the many suggestions, I am trying sublime now but it doesn't natively support Fortran
code, I forgot to mention that in my question, but however Sublime seems really nice. Which of these
support fortran?

text-editor

asked

1 year ago

viewed 6105 times


active

1 year ago

alternative

share improve this question

edited Feb 6 '15 at 16:02

asked Feb 6 '15 at 10:45

user4050
136

open in browser PRO version

Are you a developer? Try out the HTML to PDF API

Do charmed people realise they


were charmed after the end of
the spell?

pdfcrowd.com

closed as too broad by Eric Carvalho, Fabby, Radu Rdeanu, Braiam, Aibara Iduas Feb 7 '15 at
20:46
There are either too many possible answers, or good answers would be too long for this format. Please add details
to narrow the answer set or to isolate an issue that can be answered in a few paragraphs.
If this question can be reworded to fit the rules in the help center, please edit the question.

Related
12 Good text editor for Ruby on Rails programming?
1

Well, there's a package for FORTRAN syntax highlighthing, which you can install with Package Control, but
it's a bit limited. Kroltan Feb 6 '15 at 18:06

add a comment

7 Answers

15

active

oldest

votes

Geany
Geany is a small and lightweight integrated development environment. It was developed to provide
a small and fast IDE, which has only a few dependencies from other packages. It is using only the
GTK2 toolkit and therefore you need only the GTK2 runtime libraries to run Geany.

open in browser PRO version

Good specialized Xml editor for kml editing or plugin


for gedit

Are you a developer? Try out the HTML to PDF API

Can Gedit or Gvim copy multiple seperate lines to the


clipboard (maybe by using bookmarks, or a script or
another editor)
0

2 editors on Ubuntu, Gedit and Kwrite?

Suggest an advanced text editor for Ubuntu

assign geany or gedit highlight to text

Text editor for developers

12

Is there a simple text editor (like gedit) with options to


make text bold?

pdfcrowd.com

What Editor has NO Syntax Highlighting and can


copy&paste text in GTK interfaces?
-1 Lightest text editor with tabs?

Hot Network Questions


Proof that the empty set is a relation
Old-Style Financial Statement
How to handle it when someone drags in upper
management to get you to solve a problem that
they were the source of
Better practice to analyse and quantify code
coverage with OR conditions
What do you call a person who talks about
nothing but himself?
Can a tomato pierce a hole in a steel plate if only
the tomato is travelling fast enough?
Are there any similar phrases that are popular in
the US to express "penny dropped"?
What is this hole in the nose of the A330?
What is functional analysis in simple words?

As a long time Gedit user, I shifted to Geany last year as my main text editor, I found it the closest
alternative.
I found Geany supports the features you require and comes with many more features and plugins
available in Ubuntu than gedit.
I find the code completion, symbol browser, code folding and tree browser useful, as well as having a
more power find and replace tool as well as the ability to configure launching of command line tools
from the menu.

This is important. I need you to listen


What is a square root?
PIC RC oscillator
Why can't you use a coil to transform 5 volts to 12
volts?
Dynamicaly add multiple integrals to Manipulate

share improve this answer

edited Feb 6 '15 at 18:11

answered Feb 6 '15 at 13:13

What does "stop whacking off" mean?

NGRhodes
4,433

add a comment

17

What long looking worms are the Klingons


always eating?

37

How to behave with women in my company when


it's International Women's Day?
Do tent colors have functional purposes?

open in browser PRO version

Are you a developer? Try out the HTML to PDF API

pdfcrowd.com

How to free memory after rsync?


How to prevent username and password
matches when changing a username?
What is that point in business where it is
extremely difficult to generate new
business/customers called?

12

I'm going to suggest my favorite editor, vim. Plugin support means it can help with your Fortran code
with a few additional plugins. Of course, vim has a steep learning curve, so if you prefer something
simpler to learn to use, it's not a good option.
Another suggestion is to look at the Fortran community's ideas on suitable editors:

ANAGRAM in a REBUS
What is the proper way to explain the twin
paradox?
lack of acceleration mazda 3 sport

http://fortranwiki.org/fortran/show/Source+code+editors
share improve this answer

answered Feb 6 '15 at 16:45

roadmr
18.9k

46

62

+1 for vim. I got frustrated a while back with the editors I had been using for writing Python. A long,
meandering, path eventually led me to finally give vim a chance and I've never looked back. There IS a learning
curve, but I don't think it's nearly as bad as it is sometimes made out to be. sbell Feb 7 '15 at 14:52
@roadmr I have seen vim recommended in many places but I think it's just unintuitive and unpractical
switching between the different modes, that's what keyboard shortcuts are for, I don't see the advantage to
have an edit mode and a command mode. user4050 Feb 9 '15 at 13:58
Emacs us heavy on keyboard shortcuts; I was previously an Emacs user and I got used to vim just fine. That
said, there's plenty of other options if you don't feel you'll get used to vim. It's just another suggestion :)
roadmr Feb 9 '15 at 14:28
add a comment

Somehow no one's mentioned it yet. Try emacs.

It's the perfect programmers editor. It does come built in with Fortran mode, which supports
indentation, highlighting, etc. The editing shortcuts can take some getting used to if you are coming
from most other editors (although this is not nearly as true as it is with vim). CUA mode can help here.
I suggest running through the tutorial (when you first start it up, it will tell you how). In the long run,
you'll find emacs to be far more powerful than any other editor. Nothing, except for vim, even comes
close.

open in browser PRO version

Are you a developer? Try out the HTML to PDF API

pdfcrowd.com

share improve this answer

answered Feb 6 '15 at 16:48

asmeurer
216

add a comment

Kate is quite nice. I've never used it for Fortran personally, but have seen it recommended.

sudo apt-get install kate

An example can be seen here:

share improve this answer

edited Feb 7 '15 at 0:17

David Foerster
7,924

24

answered Feb 6 '15 at 16:39

Jaciq
38

171

add a comment

open in browser PRO version

Are you a developer? Try out the HTML to PDF API

pdfcrowd.com

The correct answer, of course, is to use Sublime Text. You can download an ubuntu installer from that
link or, at least on my machine (Ubuntu 14.10), you can install it through apt:
sudo apt-get install sublime-text
share improve this answer

answered Feb 6 '15 at 11:28

PokeyBagelHole
101

You are probably using a PPA. Sublime Text is not in the official repositories. muru Feb 6 '15 at 13:35

@Pokey I installed sublime but it seems to be only a trial version. user4050 Feb 6 '15 at 16:02

Sure, you need to buy it. Although its still possible to use the software without a full licence. "Sublime Text 2
may be downloaded and evaluated for free, however a license must be purchased for continued use. There is
currently no enforced time limit for the evaluation.". PokeyBagelHole Feb 6 '15 at 16:42

add a comment

GitHub's Atom (in a Lubuntu 14.04 VM):

open in browser PRO version

Are you a developer? Try out the HTML to PDF API

pdfcrowd.com

Like Sublime Text, currently not as polished, but open source. Developed in CoffeeScript and the like ie, simply extensible, but a bit slower than Sublime.
You can install it from WebUpd8's ppa:
sudo add-apt-repository ppa:webupd8team/atom
sudo apt-get update
sudo apt-get install atom

It supports Fortran via language-fortran package, converted from Textmate's bundle. You can install it
from the Settings menu ( Ctrl + , , Install, search for Fortran and click Install):

open in browser PRO version

Are you a developer? Try out the HTML to PDF API

pdfcrowd.com

(gif made on Mac, but exactly the same applies to Linux version)
share improve this answer

edited Feb 6 '15 at 19:21

answered Feb 6 '15 at 14:31

mgarciaisaia
169

So - why the downvote? mgarciaisaia Feb 7 '15 at 1:23


add a comment

maybe Geany is something for you. You can find it here: http://wiki.ubuntuusers.de/Geany

open in 1
browser PRO version

Are you a developer? Try out the HTML to PDF API

pdfcrowd.com

A screenshot can be found here:

share improve this answer

edited Feb 7 '15 at 0:19

answered Feb 6 '15 at 11:15

David Foerster
7,924

24

Florian Priede
38

11

add a comment

Not the answer you're looking for? Browse other questions tagged
own question.

about us

tour

help

blog

chat

data

legal

privacy policy

work here

TECHNOLOGY
Stack Overflow

Programmers

Server Fault

Unix & Linux

Super User
Web Applications
Ask Ubuntu

Ask Different (Apple)


WordPress
Development

Database
Administrators

text-editor

advertising info

alternative

mobile

or ask your

contact us feedback

LIFE / ARTS

CULTURE / RECREATION

SCIENCE

OTHER

Photography

English Language &


Usage

Mathematics

Stack Apps

Cross Validated (stats)

Meta Stack Exchange


Area 51

Drupal Answers

Science Fiction &


Fantasy

SharePoint

Graphic Design

Mi Yodeya (Judaism)

Theoretical Computer
Science

User Experience

Movies & TV

Travel

Physics

Mathematica

Seasoned Advice
(cooking)

Christianity

MathOverflow

Arqade (gaming)

Chemistry

Webmasters

Geographic Information
Systems

Game Development

Electrical Engineering

TeX - LaTeX

Android Enthusiasts

ExpressionEngine
Answers

Information Security

more (13)

Salesforce

Home Improvement

Skeptics

Bicycles

Biology

Personal Finance &


Money

Role-playing Games

more (5)

Academia

more (21)

Stack Overflow Careers

more (9)

site design / logo 2016 Stack Exchange Inc; user contributions licensed under cc by-sa 3.0 with attribution required
rev 2016.3.8.3321

Ubuntu and Canonical are registered trademarks of Canonical Ltd.

open in browser PRO version

Are you a developer? Try out the HTML to PDF API

pdfcrowd.com

open in browser PRO version

Are you a developer? Try out the HTML to PDF API

pdfcrowd.com

Das könnte Ihnen auch gefallen