Using Emacs as Java editor

Hello
I suppose that most of you use Eclipse development platform. But I recently installed Emacs as Java editor.
I don't find one thing : How to activate the code completion ?
For example : I begin to type JF and by pressing TAB, it fills JFrame
thanks
bye

Ctrl-Meta-/
(Alt instead of Meta on keyboards without Meta).
Ctrl-H a compl will list all commands to do with completion
Last time I saw any stats, emacs was still ahead of Eclipse in popularity, but it wasn't important enough to me to remember what the article was.
(normally I use ArmedBear J <http://armedbear.org>, then emacs if it's not available, and JBuilder about once a month for step-wise debugging)
Pete

Similar Messages

  • Using Emacs with Java.

    Should I have Emacs installed in the same directory as jdk in order to compile with Java script. The example in my book shows a menu bar with the following options: File, Edit, Options, Buffers, Tools, Classes, JDE, Java, Senator, Jdb and Help. The menu bar for the Emacs I downloaded only displays: File, Edit, Options, Buffers, Tools and Help.
    Does it take a long time to learn Emacs if I were to go through the Help menu?
    Message was edited by:
    Alienwareman

    >>
    How long do you think it would take me to learnEmacs
    if I'm a new programmer?Too long to make it worthwhile. Unless you have a
    compelling reason to want to learn emacs then stick
    with a simple editor. You will have enough problems
    learning Java without having to climb the precarious
    emacs ladder to get to your Java.
    Assuming you will be developing on Windows (and most
    people do) then use NotePad or WordPad.
    Of course you could always use JEdit (Google will
    find it). JEdit will run on any platform that has a
    JRE installed and is intuitive to use.How do I compile from WordPad? I wrote the simple program in WordPad like this:
    public class FirstSample
    public static void main(String[] args)
    System.out.println("We will not use 'Hello, World!'");
    I saved the text file as FirstSample.java.
    Now what do I do? Type in "java FirstSample" in the C:\Program Files (x86)\Java\jdk1.6.0_02\ directory??

  • Trying to find simple OSX Java Editor

    Hi,
    This is my first posting ... hope it's the right place. I'm new to Java - enjoying it greatly. Started on PC using JCreator as Java editor ... fast, simple to use & understanderable, get on with the job of learning ... no problem.
    Now I have to migrate to mac OSX and I'm getting into trouble. JCreator is not available for OSX and all I can find are IDE's that I'm finding way too complex, fiddley and with WAY too much 'bling' for me right now. I'd be REALLY greatefull for any pointers to good, simple MAC editors.
    Thanks in advance
    Giles

    OK, I'm working my way through 'The Java Tutorial' - obviously download examples, open JCreator and can immediatly compile & run them, it dosn't change the example in any way NetBeans, by comparison seems to want me to set up a project, it adds a whole load of stuff that I don't understand yet.

  • What is a good Java Editor to use

    Please email me with a link to download a good java editor. l'm using windows ME notepad to writing java.
    Please email me @
    [email protected]
    thank you

    Hello,
    Why not use Sun Microsystems acquired company's (Forte) software. This IDEs homepage is:
    http://www.sun.com/forte/ffj/index.cgi
    If you have any questions goto:
    http://www.sun.com/forte/ffj/faq/general.html#question01
    You can download it from (you can try it out before you buy):
    http://www.sun.com/forte/ffj/buy.html
    I hope this helps.
    Best regards,
    -Marek.

  • Which java editor do you use?

    Just curious as to what Java Editors/Ide's you people are using?
    I tried Forte... but since I only have 2 years of programming JAVa under my belt, Forte and other's like it include alot of 'stuffing' that just makes things more confusing.
    I'm currently using JCreator LE....

    JBuilder is good. Yes Forte CE can make things very confusing. There are some other
    IDES like JDeveloper,Eclipse,IDEA etc. You may visit the site www.eclipse.org

  • Problem when using Ctr-Z in Java editor

    If I create a component in the Desgin view, the switch to Java Editor and uze Cancel (or Ctrl+Z), it cancle the op�ration, ie remove the code added when the component was created. The component is also removed in Design view. However, it is stil present in the JSP code. Under deployment, it produces an error. The stacktrace says the error is about a component which is not present in the design view, wich is a bit confusing.

    Looks like a bug.
    To fix just remove the jsp tag for the component

  • Not authorized to use the UME config editor

    Hello Experts,
    we are running on EP7.0 (ABAP+ JAVA). we used client 100 for UME and it's working fine.
    now we have to move UME client from 100 to 120. after doning this changes i am able to login in to the portal but
    when logging on to the UME application, we get an error message of 'You are not authorized to use the UME config editor.' and 'error occurred contact your system administrator.
    Please guide
    Thanks.
    Amit
    Edited by: Amit Saini on Feb 2, 2008 8:56 AM

    Amit,
    I guess you logged in as j2ee_admin.
    "J2ee_admin" user should be assigned to "Administrators" group.
    Assign it,logoff and login to the portal again,now try to edit UME properties.
    Let me know what happens?
    Regards,
    Karthick Eswaran

  • JDeveloper 11.1.1.2.0 Java Editor Performance

    I'm having trouble using the Java editor in 11.1.1.2.0. Its been working fine for the past couple of days then just recently it starts hanging after every 10 or so characters I type. The file I'm seeing this in is about 4,000 lines. I have no other applications open, I've tried restarting the IDE and even the machine. It seems that when this happens JDeveloper CPU utilization hits 50-100%. Any suggestions? I have J2D_D3D set to false. Also, is there a log file I can look in for more details?

    I have 3GB machine and I face the same issue. If the file size is too big it affects editor performance.
    You can code in linux environment. That's what I used to do sometimes.
    Check these blogs too.
    http://blogs.oracle.com/shay/2006/03/29/
    http://www.oraclebrains.com/2007/04/very-slow-performance-in-jdeveloper/
    Edited by: Puthanampatti on Dec 31, 2009 10:42 AM

  • Java Editor and Unicode Characters

    I'm trying to use unicode characters in strings with the Java Editor.
    String myOption = "\u2666 " + myDirName;
    This works nicely, displaying a diamond in my web application. Source HTML contains a &9830;
    However, if I make changes in the Visual Designer (e.g., add a button), the \u2666 in my Java code changes to a diamond symbol. When that happens, I get a "?" in my web application.
    How do I prevent Java Editor from switching to the display character?

    Thanks for your response.
    After more research, I found that the .java file is corrupted. These means the problem is not related to the browser.
    When I have "\u2666" in the Java Editor window, I see "\u2666" in the .java file in Word Pad. This is properly compiled and the entity &#9830; appears in the HTML.
    When the diamond symbol is in the Java Editor window, I see and ascii ? (character #3F). I get a ? in the browser. It is really a question mark (#3F) not an unknown character.
    So, it appears that when the JSP is changed by adding a button, the .java code is rewritten to disk but unicode characters are not translated properly. Or - something like that. If I could keep the ascii string "\u2666" from converting to the diamond, I would be all set.
    I can edit the Java Code, close, save and reopen all I want and the unicode character doesn't translate to the symbol. This ONLY happens when the JSP is modified.
    Any ideas?

  • Java Editor - auto complete

    i'm looking for a FREE lightweight java editor that supports auto-complete and possibly code generation.
    auto-complete is when you type the object and a dot, the editor pop-up a window listing all methods available for you to use.
    code generation (or whatever it is called) is like a template that i can use....like i type in tryc and a space and it will create a try{ } catch{} block for me
    by lightwieght, i mean th eeditor is small and does not requires a lot of memory to run. don't want a full blown editor like Eclipse, JBuilder, NetBean (they're too resource hungry). something like JCreator and TextPad. My computer is old (PIII 733 mhz, 384MB RAM)..yes, my computer motherboard only allows up to 384 MB of RAM ..this sucks when RAM is soooo cheap.
    i check with most free editor, but to get auto-complete and code generation...you have to pay for it...so i'm wondering if anyone knows of a FREE one?

    Use the Plug-In Manager (Plugins menu item) to review the available plugins. Click the Install tab and highlight the name, it'll display a description.
    There's a couple of auto completes - I use Dot Complete (it has a minor glitch starting, I have to click Complete to get it to start)
    There's a number of template facilities, both built in and as plugins.

  • Java editor for Linux

    Which is the best java editor for Linux ??
    in the Win plataform I'm using the JCreator ... and now I'm migrating to the linux plataform...
    please tell me the name of the editor you are using if you use Linux... (Red Hat 7.1 here...)

    you can try SciTE from http://www.scintilla.org - it's simple, fast and good enough. you can work with java, c and many other programming languages. There are some features that don't present in any other editor.
    Btw SciTE is only editor, not complete IDE. If you wish a full IDE with projects.. etc you can use Borland's JBuilder

  • Java Editor in Linux

    hi all,
    can someone suggest a good Java Editor for Linux? I'm currently using the BlueFish Editor and i press the DOT nothing is come out, i hope that to get an editor where the members can come out after the dot is presses. By doing this, it will minimise a lot of typing error. I had try to install the JCreator on my system, but the setup cannot run on Linux.

    u mean just copy the installation to the
    /usr/local??
    Because i dun have the root permission and the
    installation file has been downloaded at the desktopIf you don't have root permissions (and can't get them) then you probably will not be able to copy the JDK to /usr/local . You don't need the JDK to be anywhere in particular so if it is installed in your home directory then leave it there. Just make sure your 'path' is set correctly!
    To check you have it configured right, use
    java -version
    and it should report
    java version "1.5.0_06"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
    Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)

  • A Simple Java Editor

    Hello,
    I am looking for a very simple(barebone)Java editor which can provide syntax highlighting facility. I need to plug it into my application.
    Can anybody suggest me something?
    Looking forward 2 ur replies.

    Hi,
    one of the most powerful editor in Java is jEdit.
    But it is not only a powerful editor you can also get its editor bean with
    syntax highlighting separately from http://syntax.jedit.org/.
    So you can have both: An editor to use and a component to integrate into your apps.
    Bye
    Frank

  • Java editor - set the number of spaces displayed for tabs

    How do I tell Studio Creator to use tabs instead of spaces?
    I open Tools - Options - Editing - Java Editor and set
    Code Formatting Rule = Java Indentation Engine ...
    - Expand Tabs to Spaces = false
    - Number of Spaces per Indent = 4
    - Statement Continuation Indent = 4
    After reformatting the source every 8 spaces were replaced by 1 tab. The blocks look like (s = space, t = tab)
    ssss{
    t       {
    t       ssss{I want to have every 4 spaces replaced by 1 tab and displayed 4 characters per tab.

    How do I tell Studio Creator to use tabs instead of spaces?
    I open Tools - Options - Editing - Java Editor and set
    Code Formatting Rule = Java Indentation Engine ...
    - Expand Tabs to Spaces = false
    - Number of Spaces per Indent = 4
    - Statement Continuation Indent = 4
    After reformatting the source every 8 spaces were replaced by 1 tab. The blocks look like (s = space, t = tab)
    ssss{
    t       {
    t       ssss{I want to have every 4 spaces replaced by 1 tab and displayed 4 characters per tab.

  • Creating a java editor

    Hi,
    I am trying to make a java editor in java as my final year engineering project. Can anybody give me some help or a link to any tutorial that might help.
    The java editor should include a text editor with all the normal operations such as cut,copy, paste, find etc. I also want that the syntax be highlighted. There must be options for compiling and running of programs.
    I would be very grateful for the help..........

    Well, for the text editor you can use the Notepad program that comes with JDK. It has all these options, cut, paste, etc.
    Then, every "keyword" should be identified and highlighted.
    In the compile button, you should make it save your file and run the command javac in a console....it´s really simple since u already have the Notepad to adapt.

Maybe you are looking for

  • Connecting AT200 to TV

    Basically I bought a mini HDMI to normal sized for my celcus TV, I'm wondering if I have to do anything special asit won't show on my TV screen, if anyone could help I'd be extremely grateful, even to point me in the right direction if the lead I hav

  • Touch-pad "click" not working after waking-up from

    Hi, I hope the subject is kind of a give away. Basically, I've finally gotten around to sorting out ACPI for my Dell 9600 laptop. I've configured, via KLaptop, for the machine to go into Standby when I close the lid. This works ok except that when I

  • MAB/802.1x and Alkatel IP Phones

    Hi All We have a distributed deployment where Alkatel ip-touch phones are authentictaed via MAB. Alkatel ip touch phones has 802.1x enabled by default and the phone tries eapol first and then switch authenticates via MAB which is fine. Once authentic

  • Does Apple FM Receiver work with the iPhone?

    When I plug in the FM receiver, I get a message saying it's not supported. Thanks.

  • Help printing multiple images

    I have all my images stored in Aperture. When I try to print (output/print image), I get a nice print dialogue box. I do not seem to have the option to print multiple images on a single page. With XP, there was a 'print wizard' that would allow me to