Moving lines in code editor

Are there any simple shortcuts in the JDev Java code editor to
- delete a line
- move line up
- move line down
I did find an older post (Re: [Survey] What are the top 3 improvments you would like to see in JDeveloper asking the same question.
I comde from an Eclipse background and am a newbie on JDev (v. 11.1.1.6).

The short cut command is
'Move Up' to move to move the line up and
'Move Down' to move the line down.
Both commands are in the 'Code Editor' category. There are no shortcut key assigned after installing JDev, but you can Assign whatever key you like.
Timo

Similar Messages

  • Is there a way to restrict the cursor at the end of a line in the source code editor??

    In the source code editor, the cursor will always follow where I click. But I wanna restrict it at the end of a line, just like other text editors do. Is there a option or sth? I can't put up with it any longer.
    Solved!
    Go to Solution.

    Hello morphe!
    The source editor in the LabWindows/CVI environment is constructed under the concept of virtual space.
    At the moment, in the current version of LabWindows/CVI, this is the default behavior, which cannot be changed from the editor preferences dialogs.
    Best regards,
    - Johannes

  • EA1 - Right gutter scroll bar in the Code Editor doesn't work?

    SQL Developer version 4.0.0.12, Windows XP
    I'm opening package body in Code Editor. In previous version of SQL Dev after pressing CTRL and moving mouse over the right gutter I could see a few lines of the code from mouse pointed position in the source.
    Now it doesn't work.
    Link below - section "Working in the Procedure Editor":
    http://www.thatjeffsmith.com/archive/2012/01/viewing-plsql-compilation-errors-in-oracle-sql-developer/

    Hi,
    It is true the right gutter's general scrolling window view capability no longer exists in 4.0.  However, if code errors exist, then small blue squares (uncompiled code) or slightly larger red rectangles (compiled code) appear in the gutter representing the relative positions of the bad code.  Hovering the mouse over those produces a pop-up display of the offending code and, in fact, the pop-up will not display if the Ctrl key is pressed at the same time. Of course, clicking on the rectangles or squares moves the editor's current line to that code as in earlier releases.
    So it is not clear whether this is merely the new, intended behavior, or if more of the prior behavior remains to be implemented in 4.0.  As far as I can tell, nothing important has been lost here, but that is just my opinion.
    Regards,
    Gary
    SQL Developer Team

  • Typelag happens in big projects. AKA 38,325 lines of code.

    My machine runs very fast in all other applications, it is a gaming computer that runs Starcraft 2 smoothly on the highest settings.
    I'm writing a very big application in Flash.  It is well on its way to being a MMORPG.  I have hundreds of classes, but my biggest class has really off the charts type lag.  My biggest class is 38,325 lines of code.
    Now every time I type, it tries to highlight words in grey for some reason.  I think every letter I type, it searches the entire 38,325 lines of code for that word in order to highlight all cases of it.
    take a look at this picture and how "hud" is highlighted
    LINK: http://www.goodnewsjim.com/images/slowdown_FB4.png
    As I move the cursor around and edit, I often times get 1-5 seconds of slowdown, sometimes I even get 20 seconds of type lag where the Flash Builder temporarily says "Not Responding in the window bar".  This happens all of the results of me typing letters, moving arrow keys or pressing delete or backspace.
    For small edits, I can wait 20 seconds to edit one word, but when I work a lot on my code, I have to open an external editor like Scite, but the alt-tabbing consumes time, and there is a mouseclick to reload the .as file.  I would like to use Flash Builder 4 for editing my code, after all that is what an IDE should be able to do if anything.  An IDE should at the very least be no worse than a generic text editor.
    Please tell me how I can disable Flash Builder 4 from trying to highlight words in grey. I think this is what is causing my typelag.  I've turned off code hints.

    Anirudh,
    Thank you again for your quick response.
    1) I already disabled Code assist completely in Window -> Preferences -> Flash Builder -> Editors.
    2) Ok, I did toggle mark occurances off.
    The problem still persists.  I still have type lag. 
    ,Jim

  • Code Editor - Navigation through Ctrl + , Ctrl +

    Hi,
    Open Code Editor or SQL Worksheet and paste the following example line:
    "piRBDKBTabKnt piRBDKBTabKnt piRBDKBTabKnt"
    In SQL Developer version 3.2.2 when I'm moving cursor in the line by pressing Ctrl+ > (right arrow) or Ctrl + < (left arrow) then cursor jumps over entire words - and that is OK.
    (Pressing Ctrl + > three times is enough to move from the beginning of the example line to the end)
    But in latest SQLDeveloper version 4 this works different - cursor does not jump over entire words.
    Is there any option to change this behaviour?

    My SQLDeveloper version is 4.0.0.13, OS: Windows XP.
    Keyboard shortcuts are set properly.
    In the example below I've used "|" character to show where cursor jumps after pressing Ctrl+ >.
    "|pi|RBDKB|Tab|Knt |pi|RBDKB|Tab|Knt |pi|RBDKB|Tab|Knt|"

  • Problem scrolling right in code editor...

    Hi,
    I have a package body in the code editor and I have problems scrolling all the way to the right on some lines that exceeds a certain number of characters. The cursor continues moving to the right (as the number in the status bar keeps increasing) but the window doesn't scroll. I tried modifying the right margin size to 200 in the preferences but no change was observed. If I select all and copy, I am missing thoses caracters that don't show in the window. This is rather inconvenient...Is there another option to modify???
    Thanks.
    JC

    I created a freeze frame still from the current video I am editing
    If you used the | Shift n | command to make the freeze frame, it isn't recognized as a still image in any program other then FCP. To make an actual still image file that will be recognized and usable in other programs, you have to export as a still image. Set the Timeline playhead on the frame you want, then go to File->Export->Using QuickTime Conversion. In the FORMAT menu, choose "Still Image" and in the OPTIONS menu, choose the file type (JPG, TIFF, PNG, etc). Import the resulting image file into your project and the "Open in External Editor" command will work.
    -DH

  • File not visible in Layout Editor, but okay in Source Code Editor & Preview

    I just finished editing this page, and uploaded. It is visible on www, but when I go to edit it in Layout Editor, the cursor is blinking on a white background. Nothing appears to be there. However if I change to Source Code Editor or Preview, all my data is there. Here is the link to it - www.engraversnetwork.com/uls_lasers.html.

    Wow! I figured it out. I was cleaning up my meta tags and left the ">" bracket off of the end of the line. Maybe that will help someone later on

  • BUG: JDeveloper code editor shows valid static import call as error

    I've noticed what appears to be a bug in the JDeveloper code validator when dealing with static imports.
    The following classes demonstrate the problem:
    package test;
    public class Parent {
      public static void parentMethod() {
        System.out.println("called parentMethod.");
    package test;
    public class Child extends Parent {
      public static void childMethod() {
        System.out.println("called childMethod.");
    package test;
    import static test.Child.*;
    public class StaticInheritanceTest {
      public static void main(String[] args) {
        Child.childMethod();
        Child.parentMethod();
        childMethod();
        parentMethod();  //<-- this line is highlighted as an error
    }Notice how on lines 7 and 8 of StaticInheritanceTest, the code validator does recognise that both parentMethod and childMethod are static methods of the Child class.
    Since 'Child' has been statically imported, then parentMethod should be available. Although parentMethod is presented as an 'auto-suggest' at line 11 in StaticInheritanceTest, when you try to call it the code editor shows the call as an error and the Ctrl-Click (to drill down into the method) doesn't work.
    When I run the class, it compiles successfully and runs with the following output:
    called childMethod.
    called parentMethod.
    called childMethod.
    called parentMethod.This might seem like an obscure and theoretical problem, but I've hit this whilst using Mockito, which uses exactly this kind of inherited static method to provide matchers.

    Hi,
    thanks. Will file a bug. This seems to be a designtime only issue that does not present a show stopper.
    Frank

  • JDeveloper Code Editor doesn't do ClearType font anti-aliasing

    I can't seem to get the Code Editor in JDeveloper (11.1.1.5.0) to do ClearType sub-pixel font anti-aliasing. Everything else in the IDE is doing proper sub-pixel anti-aliasing, it's only the Code Editor that's not doing it. It's doing "normal" pixel anti-aliasing which isn't nearly as good and still leaves the font looking quite jaggy.
    I've got the following lines in my jdev.conf:
    AddVMOption  -Dswing.aatext=true
    AddVMOption  -Dawt.useSystemAAFontSettings=lcd
    And I've checked "Enable Text Anti-Aliasing" in Preferences->Code Editor->Display.
    Is sub-pixel antialiasing in the JDeveloper code editor possible? If so, how? I'm running Windows 7 btw.

    No problem Timo.
    I don't think it's worth opening an SR for this. It looks like sub-pixel anti-aliasing isn't supported in the JDeveloper Code Editor, which is a shame, because that's the place where it's most needed.
    Michael.

  • Dreamweaver not displaying last 30 lines of code, GoLive does display them

    My issue here is that Dreamweaver is displaying lines 1
    through 71 of an .html document but there are 124 lines of code
    when opened in Go Live. Here are the undisplayed lines of code...
    any suggestions on how to reveal them in Dreamweaver CS3?
    <input type="hidden" name="id" value="1">
    <input type="hidden" name="amount" value="1200">
    <input type="hidden" name="amount_base" value="1200">
    <input type="hidden" name="quantity" value="1">
    <input type="hidden" name="item_number" value="3">
    <input type="hidden" name="item_name" value="Sabre 2 - 300
    Jumps">
    <input type="hidden" name="on0" value="warranty">
    <input type="hidden" name="or0" value="1">
    warranty: <select name="os0"
    onchange="UpdatePrice(this.form);">
    <option value="None">Please
    select</option><option
    value="Warranty=100">Warranty</option>
    </select>
    <br>
    <input type="image" src="images/ppcart1.gif" border="0"
    name="submit" alt="">
    </div>
    </td>
    </tr>
    <tr>
    <td colspan=2><div
    class="paypalsb"></div></td>
    </tr>
    </form>
    <script language="JavaScript">
    <!--
    UpdatePrice(document.pp1); // initialize option price
    -->
    </script>
    </table>
    </td></tr></table>
    <!-- view template customizable area end -->
    <p> </p>
    </td>
    <!-- End Content column -->
    <!-- Begin Cart column -->
    <td width="20%" valign="top" class="ntkRightColumn">
    <p><b><div class="paypalsb">Shopping
    Cart</div></b></p>
    <script language="JavaScript">
    <!--
    CartView(0);
    //-->
    </script>
    </td>
    <!-- End Cart column -->
    </tr>
    </table>
    <!-- Footor -->
    <table width="100%" border="0" cellspacing="0"
    cellpadding="0">
    <tr class="ntkBottomRow">
    <td> <!-- Note: Only licensed users are
    allowed to remove or change the following copyright statement.
    -->
    <span class="paypalsb" style="color:
    #808080;">&copy;2005 NTK Software. All rights
    reserved.</span>
    </td>
    </tr>
    </table>
    </body>
    </html>

    And the file is corrupt turns out to not be the answer....
    Again I try a different fresh file that follows the same
    guidlines and the code is cut off at line 92, there are 133
    total.... I've provided the code below with a line to show what
    shows up and what doesn't - Any suggestions?
    <html>
    <head>
    <title>testing</title>
    <meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
    <meta HTTP-EQUIV="Expires" CONTENT="0">
    <script language="JavaScript" type="text/javascript">
    <!--
    NTK_RootPath = ""; // configure root path
    NTK_CartAction = 0; // load cart
    //-->
    </script>
    <script language="JavaScript"
    src="ntkcartconfig.js"></script>
    <script language="JavaScript"
    src="ntkcartpp.js"></script>
    <script language="JavaScript"
    src="ntkcart.js"></script>
    <script language="JavaScript"
    src="menu.js"></script>
    <script language="JavaScript"
    src="ntkmenuconfig.js"></script>
    <script language="JavaScript"
    src="ntkcategoryconfig.js"></script>
    <link href="project1.css" rel="stylesheet"
    type="text/css">
    <meta name="generator" content="PayPal Shop Builder
    v2.0.0.1">
    </head>
    <body>
    <table width="100%" border="0" cellspacing="0"
    cellpadding="0">
    <!-- Logo and top banner background color -->
    <tr class="ntkTopRow">
    <td><img src="images/paypalsb_logo.png"
    border="0"></td>
    </tr>
    </table>
    <table width="100%" height="100%" border="0"
    cellspacing="0" cellpadding="0" class="ntkMain">
    <tr>
    <!-- Begin Menu Column -->
    <td width="20%" height="100%" valign="top"
    class="ntkLeftColumn">
    <table width="100%" border="0" cellspacing="0"
    cellpadding="0">
    <tr><td nowrap>
    <script type="text/javascript" language="javascript">
    if (document.getElementById) {
    oMenu_root.Render();
    } else {
    document.write(ntk_browserNotSupported);
    </script>
    </td></tr>
    </table>
    <br>
    <table width="100%" border="0" cellspacing="0"
    cellpadding="0">
    <tr><td nowrap>
    <span
    class="paypalsb"><b>Browse</b></span>
    </td></tr>
    </table>
    <table width="100%" border="0" cellspacing="0"
    cellpadding="0">
    <tr><td nowrap>
    <script type="text/javascript" language="javascript">
    if (document.getElementById) {
    oCat_0.SetHighlight(); //*** need to set highlight to the
    current cateogry or page
    oCat_root.Render();
    } else {
    document.write(ntk_browserNotSupported);
    </script>
    </td></tr>
    </table>
    </td>
    <!-- End Menu Column -->
    <!-- Begin Content column -->
    <td valign="top" class="ntkMidColumn">
    <!-- <div class="paypalsb">testing</div>
    -->
    <p><b><div
    class="paypalsb">Categories &gt; Rigs</div></b></p>
    <!-- list template customizable area start -->
    <table class="ntkTable">
    <tr class="ntkTableAltRow">
    <form name="pp1" onSubmit="return
    SubmitItemToCart(this);">
    <td width="200" valign="top"><a
    href="Product_view_Rigs_1.html"></a></td>
    <td width="99%" valign="top">
    <a href="Product_view_Rigs_1.html">2</a>
    <br>
    <a href="Product_view_Rigs_1.html">Mirage G4</a>
    <br>
    <input type="hidden" name="id" value="1">
    <input type="hidden" name="amount" value="1200">
    <input type="hidden" name="amount_base" value="1200">
    <!-- *** Discount type -->
    <input type="hidden" name="discounttype" value="0">
    <!-- *** Ship type -->
    <input type="hidden" name="shiptype" value="0">
    <input type="hidden" name="quantity" value="1">
    <input type="hidden" name="item_number" value="2">
    <input type="hidden" name="item_name" value="Mirage
    G4">
    <input type="hidden" name="on0" value="Color">
    <input type="hidden" name="or0" value="0">
    <input type="hidden" name="shipping" value="1">
    <div id="div_amount_1" name="div_amount_1">Price:
    $1,200.00
    <!----Above Line shows up in Dreamweaver CS3-->
    <!----Below Line shows up only in other code editors-->
    Color: <select name="os0"
    onchange="UpdatePrice(this.form);">
    <option value="None">Please select</option>
    <option value="Green=0">Green</option>
    <option value="red=0">red</option>
    </select>
    <br>
    <input type="image" src="images/ppcart1.gif" border="0"
    name="submit" alt="">
    </td>
    </form>
    <script language="JavaScript">
    <!--
    UpdatePrice(document.pp1); // initialize option price
    //-->
    </script>
    </tr>
    </table>
    <!-- list template customizable area end -->
    <br>
    <table width="100%" border="0" cellspacing="0"
    cellpadding="0"><tr>
    <td align="right"><div
    class="paypalsb">Items 1 to 1 of 1</div></td>
    </tr></table>
    <br>
    <p> </p>
    </td>
    <!-- End Content column -->
    <!-- Begin Cart column -->
    <td width="20%" valign="top" class="ntkRightColumn">
    <p><b><div class="paypalsb">Shopping
    Cart</div></b></p>
    <script language="JavaScript">
    <!--
    CartView(0);
    CartButton(0);
    //-->
    </script>
    </td>
    <!-- End Cart column -->
    </tr>
    </table>
    </body>
    </html>

  • 3000+ lines of code Computer Useless while text editting HELP!

    Ive posted here a little bit ago and hadnt found any help but
    now its at a point were I cant type anymore. I have reached the max
    allowable text in one single .mxml file. No where does it say there
    is a max but when I try to type one line of code now it maxes out
    my 2.4 Ghz proc and 1.5 gigs of ram and stops 'buffering' my text
    input so it doesnt catch up with me anymore, it just scraps it so
    it really takes me longer. I am WAY beyond dissatisfied since I
    spent 700 bux on this p.o.s. and now its 1/3 the price!! =o The
    problem is that I have an entire app in this and to change now is
    not an option, so im stuck, I need to know how to disable all the
    functionality in the editor!
    Ive also tried Flex 3 but it has the same problems. Can
    someone PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE!!!! HELP!!!!!
    PLEAS#E!

    First thing I'd probably start off with is separating it out
    into separate files. And the easiest way you could do this is by
    taking everything you have inside of your script blocks and putting
    those into .as files. Then once you have your all of your
    actionscript within .as file(s). Inside of your mxml do.
    <!-- Include External AS File -->
    <mx:Script source="externalAsFile.as" />
    This should at least get ya onto the right start to getting
    things out of the one file but not breaking your
    application.

  • Blueprint shouldn't use entire lines of code as the search string.

    If I have the editor open on some MXML code, and a range of characters is selected in the editor, then invoking Blueprint uses the selected text as the search string. This seems like the right thing to do.
    However, if there is NO text selected, Blueprint uses an entire line of code as the search string (whatever line the insertion point happens to be in). I my experience this is almost always wrong, because (a) most lines of code e.g. "}" or "allPanels[1] = new LayersPanel();" or "private var allPanels : Dictionary = new Dictionary(); do not usually produce very useful search results, and (b) because these strings clutter up the search history.

    Thanks for the suggestion!
    We will reevaluate the use case for using an entire line of code as a query.
    Mira Dontcheva
    Research Scientist
    Adobe Systems

  • How to add a font for use by the code editor

    Version 3.0.04 windows
    found Preferences -> Code Editor -> Fonts
    Did not see the font I would like to use in the list. The font is terminal. The font can be displayed in Control Panel -> fonts in windows.
    In the help I found Edit Font Location but could not find the dialog box described in the help
    Is there a procedure to add the font so SQL Dev can use it?
    Thanks

    Hi Dag,
    Apparently editing Font Location in 3.0 applies only to ...
    Tools | Preferences | Database | Export/View DDL Options | PDF Format
    Regards,
    Gary

  • How to change background color in code editor?

    Hi. Some of the pre-selectable Schemes under Tools->Preferences->Code Editor->PL/SQL Syntax Color (e. g. Ocean) have a "global" default background color that applies to all styles. How can I edit this color for my own color scheme?
    (SQL Developer version 3.1.07)

    Jeff,
    if you try to change all the plsql keywords to the same background color (that is not either white or black or blue) via the options panel in SQL Developer (Code Editor > PLSQL syntax colors), you will get the new background color in the worksheet only for the areas with plsql text, while the areas without any text will have the same background color as the base color scheme you started with. This means that there is no way to change the "general background" color via the options panel, but you have to use the same background color of one of the predefined color schemes.
    This seems to me a bug, but probably it's not considered high priority, so it will not be fixed for the time being.
    I would like to stress the fact that being able to change the color scheme of the development environment that you use every day about 8 hours a day can make quite a difference on your eyes at the end of the day.
    Thanks,
    Paolo

  • BUG: EA 2.1 code editor: completion insight doesn't work in opened files

    I just migrated from SQLDEV 1.5.5 to EA 2.1. It's nice that I colud find so many of my suggestions implemented in this new version. THANKX :-)
    code editor:
    When I'm working in SQL Worksheet the "completion insight" feature is working well, but when I try to use it in an opened file, it doesn't work.
    Is there a special preference to turn on for use with files?
    Edited by: @chris on 12.11.2009 10:57

    Correct it did work in 1.5. on .sql files, when connected, so I have updated the ER to bug. We also need to expand this to support PL/SQL files.
    Sue

Maybe you are looking for

  • Rerun a step in a chain

    i want to rerun a step after it was marked as failed. if step 1 failed notify the dba and invoke step 1 again else invoke step 2. i wrote the folowing : DBMS_SCHEDULER.DEFINE_CHAIN_STEP( chain_name => 'reports.some_chain', step_name => 'step_1' , pro

  • How to resize / render ImageIcon

    Want to resize / render an ImageIcon to ImageIcon like that: public static ImageIcon resizeImageIcon(ImageIcon imageIcon){      Image image=imageIcon.getImage();      Graphics2D imageGraphics=(Graphics2D)image.getGraphics();      imageGraphics.setRen

  • Cannot Download Flash Player 9

    I have a MAC OS 10.3.9 1.6GHz Power PC G 5 and cannot download the Flash Player 9. I get an error message that reads: The page "Macromedia - Flash Player" has content of MIME type "application/x-shockwave-flash", but you don't have a plug-in installe

  • How come I can't up date my iWeb 1.1.2 to 2.0.3?

    so I downloaded the 2.0.3 update from apple downloads page, and i opened the installer. but it said "An eligible iWeb application was not found in the location /Applications." even though iweb was in my applications folder. how can i solve this?

  • Help Needed to stop Jobs

    Hi, I want to stop some jobs which are running in Oracle. I used dbms_job.remove and jobs are removed from dba_jobs table. But how to stop these jobs from running queue. So can any one please let me know the way to stop th jobs. Thank you