Organize Imports does nothing

Am I missing something obvious? The Organize Imports menu item and key shortcut flat-out don't do anything to my actionscript source. When I use the code completion feature, new imports are inserted for my completed class name. However, when I try to organize imports, it doesn't pull in imports for classes that are not yet imported (which is what that feature does over in the Eclipse JDT). Does this feature just not do the same thing as its namesake?

You are correct. Organize imports only rearranges and removes imports, it does not add imports when they're missing. See https://bugs.adobe.com/jira/browse/FB-9309. Imports are automatically inserted when using code completion and other code generation features.
Jason San Jose
Software Engineer, Flash Builder

Similar Messages

  • IPhoto import does nothing

    I have the the following issue with Aperture 1.5 Trial (2811) and iPhoto 6.0.5 (316). When I try to import my iPhoto library from Aperture, it asks where my iPhoto library is, I click Choose and ... it does nothing.
    I am trying to import referencing the files in their current location.
    Any ideas?

    I have started my import.
    The problem turned out to be this:
    - my AlbumData.xml file -- part of the iPhoto library package -- was corrupt
    - iPhoto had good enough XML parsing (at least for its own special flavour of XML) to make do with the corruption
    - Aperture and other external systems could not
    The solution was gleaned from
    http://discussions.apple.com/thread.jspa?messageID=1948414&#1948414
    and the wonderful iPhoto Library Manager (see http://www.iphotolibrarymanager.com/iPhotoLibraryManager.dmg).
    This program helped open up my library and see roughly where it was corrupted. I edited it and found a good deal of non-matching <key> </key> pairs in the List of Keywords (from iPhotoLibraryManager help, apparently a frequent occurence). I tried a number of things and eventually just edited the file myself and re-saved it. iPLM opened it up just fine which was the first good sign. Aperture then started itself and is humming away in the background.
    Wa-hoo! I'm going to bed.
    Cheers
    Robin

  • Organize Imports & Auto Importing/Class Lookup

    I've been working with Flex Builder 3 now for over a month. I
    love many of its features. It does so much for me in building
    AIR/ActionScript/Flex apps that there really is no other option.
    However, the "organize imports" function just doesn't work well.
    The only time it works is when declaring a new variable. If you are
    lucky enough to type perfectly, it very nicely adds imports to any
    class it finds. However, if you so much as mistype a letter, back
    up and type the class name correctly, you lose your automatic
    import. If you correctly type your class name and variable
    definition and think, "hey, I can go to the menu and choose
    Organize Imports," sadly, you are mistaken. Organize Imports does
    nothing. Sometimes it removes class imports that belong to code
    you've temporarily commented out, but it never pulls anything in.
    Further, if you access a static function from a class, that is, you
    are not declaring a variable, but simply calling a class function,
    no import at all occurs. Organize Imports doesn't work. You must go
    and type in the import yourself. It does try to help you at this
    point,but if you don't remember the exact place in the package
    structure, you must go to the docs to figure out where it is, type
    it in, and then you get function introspection. I love what Flex
    Builder does for me, but this is just lame. I used FDT for a while
    to see if that tool would work for me, but, sadly, it doesn't. It
    just doesn't give you all the power that Flex Builder does. But, I
    never have to type in my imports! Their class helper functions work
    great. I can type in a class, misspell it, retype it, and it
    catches the class. When I choose Organize Imports, it works just
    all the other Eclipse language plug-ins work. Why is this? Why am I
    expected to pay top dollars for a product that is broken in one of
    the simplest ways? Does anyone have any take on this? I can't be
    the only frustrated one... Thanks. Sorry for a pure rant, but I
    just needed to vent and wanted to know if Adobe plans to fix this
    obvious failing... Or if everyone just expects this to continue
    this way and accepts it.

    Thanks, Tanya. I posted two bugs:
    http://bugs.adobe.com/jira/browse/FB-11571
    http://bugs.adobe.com/jira/browse/FB-11572

  • FB3 Beta 3 - another organize imports bug

    I'm getting lucky :-) Here is another organize imports bug in
    FB3 Beta3...
    If you have some simple hierarchy where base class defines
    public (or protected) method, and sub class tries to override this
    method you will encounter this bug. Let say that base class looks
    like this:
    package test {
    import flash.display.Shape;
    public class BaseClass extends Shape {
    public function BaseClass() {
    public function myMethod():void {
    trace("In BaseClass.myMethod()");
    and that sub class looks like this
    package test {
    public class SubClass extends BaseClass {
    public function SubClass() {
    super();
    Now, if you try to override myMethod() from BaseClass and
    start typing in subclass something like
    override public function m
    and use Ctrl+Space, FB will insert appropriate method but it
    will also insert errorneous import statement like this:
    import test.BaseClass.myMethod;
    So you will end up with sub class which looks like following:
    package test {
    import test.BaseClass.myMethod;
    public class SubClass extends BaseClass {
    public function SubClass() {
    super();
    override public function myMethod():void {
    Wrong import is correctly marked as error but issuing
    "organize import" does not remove it so it must be removed
    manually.
    Regards,
    Damir Murat
    PS: Sorry for bad code formatting but there is no option for
    inserting in-line code and attach code is a little bit
    awkward.

    Damir Murat,
    Did you already file a bug for this? If not, would you mind
    adding it to the public bug base so we can track the issue.
    Thanks,
    Peter

  • Aperture runs but does nothing when importing, updating vault, emptying trash

    I'm new to Aperture but experienced with similar applications (I've made the move from PC to Mac). I downloaded the latest version 3.2.2 on to my new 27" iMac, 2.7Ghz, Lion, 4Gbyte RAM, terabyte HD etc (standard config). I very much like Aperture, apart from its regular crashes/doing nothing episodes. I have experienced troubles in three areas:
    - See screenshot below. Aperture appears to do nothing while taking up all system resources while importing 2k files. The log says nothing has been imported but the entire Mac slows down. Other folders with more files are OK others not. It al appears a bit random. I am importing from folders copied to the local HD, using the option 'folders/project'. My photo library is 16k images (all jpg) stored in regular folders.
    - when deleting many files in Aperture trash, the same spinning wheel as importing again with nothing happening.
    - when updating the vault, same as above 2, spinning wheel nothing else.
    In all three cases Aperture seems still to be running, but I always have to finally force quit. Upon re-boot, all seems to work until the next issue is found!
    Any ideas? Thanks in advance.

    Hello Gary,
    That is not much to go on. Try to narrow down the problem by a few simple tests:
    to find out, if your library is corrupted in some way, start aperture with a new, empty library
    File -> Switch to library -> other/new
    and see, if Aperture is running without problems on a different library.
    If that should be the case, try to repair your library.
    If Aperture does not run from a different library, try to launch it from a different account. If that succeeds, thrash your Preference,
    If all fails, reinstall Aperture.
    The trouble shooting measures are described here:
    Aperture 3: Troubleshooting Basics: http://support.apple.com/kb/HT3805
    Good luck
    Léonie

  • Since uploading Maverick, my Microsoft apps give an error message "(the app) quit unexpectedly.  Click Reopen to open the application again."  However, this does nothing but renew this window.  What to do?

    Since uploading Maverick, all of my Microsoft apps give an error message "(name of the app) quit unexpectedly.  Click Reopen to open the application again."  However, this does nothing but renew this window.  I have to click on the "OK" button to get rid of the error message.  What to do?

    Very Important, how much Free Space is on your Hard Drive first of all? Click on the Macintosh HD on the Desktop, then do a Get Info on it.
    Could be many things, we should start with this...
    "Try Disk Utility
    1. Insert the Mac OS X Install disc, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu at top of the screen. (In Mac OS X 10.4 or later, you must select your language first.)
    *Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.*
    3. Click the First Aid tab.
    4. Select your Mac OS X volume.
    5. Click Repair Disk, (not Repair Permissions). Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
    (Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.)
    If perchance you can't find your install Disc, at least try it from the Safe Boot part onward.
    Do they launch OK while in Safe Mode?

  • Missing Thumbnails in Organizer Importing Function

    I recently upgraded my my operating system from Windows XP to Vista.  When I used the import function in Elements Organizer (with XP) I could preview the thumbnails and select the desired images on the camera or compact flash card.  Now that I have moved to Vista the thumbnail preview or selection is no longer visible or accessable. 
    I have been through the software options, search engines and this forum but have seen nothing about this problem.  I do sometimes have a perchance to miss the obvious and apologize if this is the case.  Any help is appreciated.
    OS Windows Vista 64 bit
    Photoshop elements 9
    8Gb RAM

      Possibly due to display or dpi settings in the Windows control panel being below 96 dpi or 100% especially if you have a short screen e.g. laptop or notebook.
    A work around is to import everything from the card into a folder on the hard drive. Then use File à Get Photos
    It’s then possible to select and deselect from the Organizer import dialog.
     

  • PSE6.0 organizer import CR2 files results in 'no preview'

    When I import Canon CR2 files from my camera using the PSE Organizer (Windows "import with PSE6") I often get no RAW preview/thumbnails; a thumbnail is created for some of the imported RAW pictures but most of them not. When I have opened the picture (camera raw 5.3 start by double click, and close) in most cases a thumbnail is created and displayed. This shouldn't be necessary, I suppose ????
    Does someone know this bug and how to fix it?

    So, now I have to buy PSE 7? Isn't there a cheap(er) upgrade possibility? After all, it is a bug in PSE6. PSE7 costs almost as much as a 'new' / first install version, isn't it.
    I would love to have the latest version, mostly not for the new features but mainly for bug fixes and/or performance enhancements.
    Date: Sun, 6 Sep 2009 09:30:40 -0600
    From: [email protected]
    To: [email protected]
    Subject: PSE6.0 organizer import CR2 files results in 'no preview'
    The bug was fixed in PSE 7 (one of the few PSE 6 bugs that were).
    >

  • Premiere Element 13 The progress bar on the lower right for Indexing has frozen and when asking to open a video file in the organizer, Premiere does not open.

    The above says it all.

    I can't really answer you first question. What has happened is: when I moved an mpg file from my assets to the movie (I have added already a mpg file in the first part of the movie) a message box appears telling me the file is being "indexed" and then this Indexing progress appears in lower right of screen and it processes up to 99% and then freezes. The file appears in the time line, but the frame appears that says "media pending" and then nothing happens. I can go into the Widows media player and the mpg file plays okay, with audio. That is best I can tell you.
    Though I did not say this earlier, when I try to open this mpg file from the Organizer, Premiere does not open.
    My operating system is Windows 7 on a Dell computer with lots of ram and plenty of space on my hard drive.
    Properties of movie file
    These properties are the same as a file I already inserted in the timeline.
    I look forward to your help and thanks..
    JC

  • Is there a way to Bulk Organize Imports?

    I love the "Organize Imports" feature in 4.7. I find myself using it quite a bit after merging branches because it's a very quick way to fix up long imports lists that got messed up as a result of refactoring in different branches. However, it is tedious because I have to do it file by agonizing file. I would _really_ like the ability to do this as a bulk operation, either by right-clicking on a project, or by selecting multiple files. Any chance a bulk "Organize Imports" is in the works? If not, does anyone know of a workaround?
    Many thanks in advance.

    I hope Apple adds some much needed features to the mail app. I heard they added landscape mode, which will be much appreciated. I wonder why the home screen doesn't go to landscape mode too when the Touch is rotated, like the Storm? Doesn't it seem logical that the home screen should rotate? Anyone? If you agree, and have a spare minute, PLEASE send Apple a product enhancement request.
    http://www.apple.com/feedback/ipodtouch.html

  • "Roll over to try, click to apply" does nothing

    I just did the latest Firefox update - no problems - but once again, after the last 2 or 3 or more updates, the "Roll over to try, click to apply" option to try out the new 'personas" does nothing. I remember when they first came out and I could roll over them and see all the cool personas. I never actually chose to apply one but now, as I said, when I rollover, nothing happens. I'd like to still see what they do. If so, maybe I'll eventually actually apply one. Any idea why it doesn't work?

    '''''"the "Roll over to try, click to apply" option to try out the new 'personas" does nothing"'''''<br />
    See cor-el's suggestiong here: https://support.mozilla.com/en-US/questions/717673?s=Roll+over+to+try&as=s
    '''<u>davidio</u>'''
    You need to update your plugins. It is important to keep them updated due to continuing security fixes and improvements in those plug-ins:
    *Adobe Shockwave for Director Netscape plug-in, version 11.0
    *Adobe PDF Plug-In For Firefox and Netscape "9.3.3"
    *Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers
    #Check your plugin versions: http://www.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #'''Update Shockwave for Director'''
    #*NOTE: this is not the same as Shockwave Flash; this installs the Shockwave Player.
    #*Use Firefox to download and SAVE the installer to your hard drive from the link in the article below (Desktop is a good place so you can find it).
    #*When the download is complete, exit Firefox (File > Exit)
    #*locate and double-click in the installer you just downloaded, let the install complete.
    #*Restart Firefox and check your plugins again.
    #*'''<u>Download link and more information</u>''': http://support.mozilla.com/en-US/kb/Using+the+Shockwave+plugin+with+Firefox
    #'''Update Adobe Reader (PDF plugin):'''
    #*From within your existing Adobe Reader ('''<u>if you have it already installed</u>'''):
    #**Open the Adobe Reader program from your Programs list
    #**Click Help > Check for Updates
    #**Follow the prompts for updating
    #**If this method works for you, skip the "Download complete installer" section below and proceed to "After the installation" below
    #*Download complete installer ('''if you do <u>NOT</u> have Adobe Reader installed'''):
    #**Use Firefox to download and SAVE the installer to your hard drive from the link in the article below
    #**On the Adobe page, un-check any extra items (i.e. Free McAfee® Security Scan Plus) then click Download button
    #**If you see message just under tabs, DO NOT click the Allow button, instead click below that where it says "click here to download".
    #**Click "Save to File"; save to your Desktop (so you can find it)
    #**After download completes, close Firefox
    #**Click the installer you just downloaded and allow the install to continue
    #***Note: Vista and Win7 users may need to right-click the installer and choose "Run as Administrator"
    #**'''<u>Download link and more information</u>''': https://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox#Installing_and_updating_Adobe_Reader
    #*After the installation, start Firefox and check your version again.
    #'''Update Java:'''
    #* Download and update instructions: https://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox

  • Bug in organize imports

    Hi,
    There seem to be a couple of past bugs on organize imports- I'm not sure if this problem falls into the previous issues or not (or if they have been corrected.. ..as I side note, how does one access the list of open bugs? I can only find past fix lists)... ...any way, the issue:
    * I had to import some legacy code which cotains a) unused imports and b) imports to vendor-specific classes (e.g. com.ibm.websphere.ldap.serializer.ModificationItem, rather then java.naming.directory.ModificationItem )
    * if I choose to ogranize imports it generates malformed code, specifically:
    --the class level javadoc is repeated (occurrs each time)
    --often an empty import statement is put before the class-level javadoc
    --"public class LDAPHelper" becomes
    "public class LDAPHelper class LDAPHelper" (this problem occurrs each time)
    Seeing how this code with its vendor specific implementations can't compile any way, it's not as annoying as it normally would be, but still a little surprising. Take care.

    Sean,
    does this happen with JDeveloper 10.1.3 ? Open bugs can be looked up in metalink.oracle.com if you have a support contract
    Frank

  • Can I invoke "Organize Imports" for whole project?

    On the features page on labs.adobe.com there is a mention that Organize Imports should work for "projects". Does this mean that I can invoke this function for a whole project or do I need to do it file by file? If it should work for a whole project, how to invoke it?
    Thanks,
    Borek

    "Organize Imports" isn't available at project level.
    It has to be invoked file by file, as it not just removes unused imports but adds any missing ones, resolves ambiguous references and consolidates the import statements
    Thanks,
    Guriya

  • The "Show All Bookmarks" feature "does nothing", no window!

    Whether I use the key command or click the menu option, the "Show All Bookmarks" feature "does nothing - no window appears. I see an item in the Window menu, but there is no window.

    Do you have all your bookmarks in the sidebar (Ctrl+B), if you do there is nothing wrong with your places.sqlite as far as bookmarks go, next check to see if you have history in the sidebar (Ctrl+H)
    And before you consider deleting or renaming your places.sqlite
    If you are using an external monitor with a laptop try moving the library window back to the laptop. Try searching on just a colon ":" in the bookmarks Library List.
    * https://support.mozilla.com/questions/792065
    Try in Firefox Safe Mode to make sure extensions are not part of the problem.
    May fix problem -- not likely but you have a lot to lose if you lose data from places.sqlite so worth the trouble to try first.
    * Corrupt localstore.rdf - MozillaZine Knowledge Base
    *: Back/forward can't be moved
    *: http://kb.mozillazine.org/Corrupt_localstore.rdf
    Next try a bookmarks backup and restore, this may fix problems, I've never had to delete or rename my places.sqlite file yet, which would lose history, which is needed for the AwesomeBar to work properly or anything else that involves history.
    # Ctrl+Shift+B to bring up Library List
    # Import and Backup
    # Backup to c:\temp\bookmarks-2011-08-18.json (or whatever current date is)
    # Import and Backup
    # Restore > choose file > c:\temp\bookmarks-2011-08-18.json
    # see if problem is fixed
    If you still have problem then look to other solutions before even considering deleting/renaming places.sqlite the problem could be in several things also mentioned in the
    * http://kb.mozillazine.org/Locked_or_damaged_places.sqlite

  • Adobe Première Pro CC crashes...when doing nothing!

    Please, i'm getting nervous about this: Brand new MacPro, 32GB RAM, Promise Pegasus Raid for Footage, Reinstall All ADOBE Stuff on clean/new drives, (No FCP7 or X installed), ans still I'm not so amazed by the speed and reactivity...But I'm now experiencing very frequent crashes when playing back sequences, difficulties to render a 4 minutes MXF with 3 filters on it, and surprisingly when doing nothing (project rendered, saved) or reading an email with première in background... !
    Check the kind of error message I got this morning... [cloudroom/releases/2014.09/PremierePro/Mezzanine/Src/Import.cpp-589]
    Should I go back to FCP 7 ?    ;-)
    Thanks for your help !
    JFT
    Model Name: Mac Pro                                      Model Identifier: MacPro6,1
      Processor Name: 12-Core Intel Xeon E5       Processor Speed: 2,7 GH
      Number of Processors: 1                              Total Number of Cores: 12
      L2 Cache (per Core): 256 KB                          L3 Cache: 30 MB
      Memory: 32 GB                                             Boot ROM Version: MP61.0116.B11
      SMC Version (system): 2.20f18                     Illumination Version: 1.4a6

    >and encore i don't have
    CS5-thru-CC PPro/Encore tutorial list http://forums.adobe.com/thread/1448923 will help
    The bottom section of the link above has several Adobe links, and other information, on downloading Premiere Pro CS6 and the bundled Encore CS6, and the TWO ADDED downloads for the Encore library content, to author a DVD or BluRay... and the tutorial list includes learning how to use Encore... pay particular attention to the picture in reply 3 at this link - https://forums.adobe.com/thread/1516173 (picture first posted by Ann Bens and reposted by Stan Jones)

Maybe you are looking for

  • Is there a way for photoshop to AUTO UPDATE all linked files after modified?

    Using the new Photoshop 2014 (version). This is a very frustrating task for anyone using a lot of linked files. As a web developer, I may have 50 files that contain one linked element.  If I go edit that element, I then have to find the layer on each

  • Outlook Quirk With E-Mail Submission of XML and/or PDF

    Hello all. I am running into an annoying little Outlook quirk when testing e-mail submissions of PDF forms. When the submit button is clicked, Outlook will open a new message window as it should, but the Send button will not trigger when clicked. The

  • ASA 5510 running out of 1550 byte blocks

    Hi, I am having trouble with our ASA5510. After upgrading the internal memory from 256 MB to 1 GB and upgrading the firmware to 8.4.2 we are experiencing that the ASA is running out of 1550 byte blocks. When that happens it is not possible to connect

  • Pop-up windows are not opening.

    Whenever I try to open up a pdf link or document from a website, nothing happens. I turned my pop-up blocker off when I attempted again but was unsuccessful.

  • **Lost Music-Files**

    Will someone pls. instruct me how to recover the songs that I had b4 I used Itunes..I had 29 songs; once I used Itunes, it deleted the songs that I already had...Pls. Help this 13yr-old with no Ipod experience..Thx..