External Editor - New File Type

Is there a way that you can set an external editor and specify a specific file type that is not listed in the 'File Type' section of preferences.
I am working on a project for a client where I have been coerced into developing PL/SQL code. I'd like to house the code in XCode so that I can take advantage of the SCM integration and the new Snapshot feature in 3.0 as well as keep the files tied together in a project.
I have SubEthaEdit setup to manage .sql documents within finder. So I can choose 'Open with Finder' from the context menu in the Groups & Files pane and the document will open in SubEthaEdit. However, I'd like to associate those files directly with that editor in XCode so it will open the files with that editor by default. Ideally I'd like to have a text.script.sql file type that I can use for this purpose.
Any thoughts or feedback would be greatly appreciated.

Rob,
I am not sure if this will help you, but you can look at the textmate editor (http://macromates.com/) in case it can do some of the things you want
Mihalis.

Similar Messages

  • External editors and file types

    Hi,
    I have just started using Aperture, so far very pleased but have some questions so thought I would ask the experts.
    1. I have selected Elements 10 as an external editor, when I select to edit aperture creates a PSD file and starts Element 10 but does not open the file to be edited. I then have problems finding the file on my iMac.
    2. Once I have found the file and edited it, if I save the file it places a modified PSD file back in the original folder but the PSD file is massive is there any other way to edit and keep in JPG format
    3. The reason to edit in Elements is so I can crop to specific print sizes and ensure the image is 300 dpi. I can see in Aperture how to crop to a size but I need the result to be at 300dpi as the printer company I use will re-crop to give 300 dpi.
    Thanking you in advance for any help you can give me and apologise for being a little greedy with three questions

    For PSE try
    http://barbarabrundage.com/2011/10/05/adobe-hide-and-seek-setting-pse-10-as-exte rnal-editor/
    Point the Editor to "Applications>Adobe Photoshop Elements 11>Support Files>Adobe Photoshop Elements Editor"
    2. Once I have found the file and edited it, if I save the file it places a modified PSD file back in the original folder but the PSD file is massive is there any other way to edit and keep in JPG format
    Sorry, no. When you use an external Editor, you can only use tiff or PSD as format. Aperture will use the best lossless format. If you want jpeg, export the edited version as jpeg and reimport it.
    3. The reason to edit in Elements is so I can crop to specific print sizes and ensure the image is 300 dpi. I can see in Aperture how to crop to a size but I need the result to be at 300dpi as the printer company I use will re-crop to give 300 dpi.
    You can specify the 300dpi in the export preset, when you are exporting from Aperture, if the printer company insist.
    In the Export Panel set the the selector for the preset to "Edit" and then select 300 dpi in the panel.
    Regards
    Léonie

  • How to add support for new file type.

    Using the ESDK, I would like to add support for new file type ( a new extension). this new extension will function like any other non visual code editor but will have specific syntax highlighting, code folding and explorer.
    I am trying ot figure out if I need to create a new editor or use existing JDeveloper code editor and add support for new file type. Does anyone have a high level outline on how to do this using the ESDK that is specifically targeted at adding new file type support for a text based code editor?
    I have looked at the Samples and keep going in multipe directions. It would be cool if there was an example that was how add syntax higlighting for new file type.
    Thank you

    Brian, thank you. I looked at this extension and it answered a lot of questions for me. I was going in the right direction but needed a little help and bost of confidence, this is just what I needed. I created the LanguageSupport, LanguageModel, Addin, Node and TextDocument that are specific to the new file type. I was getting hung up on how to hook this into the JDevelpoer editor. I keep thinking I have to create a custom editor but it looks like I don't have to and it looks like I can associate this file support with the editor framwork, for version 10.1.3.2, with the following in the Addin Initilize() method.
    Recognizer.mapExtensionToClass(MY_EXTENSION, MyNode.class);
    CodeEditor.registerNodeType(MyNode.class, MY_EXTENSION);
    LanguageModule.registerModuleForFileType(new MyLanguageModule(), MY_EXTENSION);
    I have done this but still not able to recognize the new file type.
    At this point, I just want to be able to recognize the new file and display it's associated icon or display a messare to the message log. I put a System.out.println("test") in the Initilize() method of my addin. then I registered MyAddin in the extension.xml. JDeveloper sees this new extension and it is loaded but I have not been able to show the test message or display the new icon when I open the new file type.
    extension.xml
    <?xml version="1.0" encoding="windows-1252" ?>
    <extension xmlns="http://jcp.org/jsr/198/extension-manifest"
               id="teisaacs.jdev.myext.MyAddin" version="1.0.0" esdk-version="1.0"
               rsbundle-class="teisaacs.jdev.myext.resources.MyResBundle">
        <name rskey="EXTENSION_NAME">My Code Editor</name>
        <owner rskey="EXTENSION_OWNER">Me</owner>
        <dependencies>
            <import version="10.1.3">oracle.jdeveloper</import>
        </dependencies>
        <hooks>
            <jdeveloper-hook>
                <addins>
                    <addin>teisaacs.jdev.myext.MyEditorAddin</addin>
                </addins>
            </jdeveloper-hook>
            <feature-hook>
                <description>My Code Editor</description>
                <optional>true</optional>
            </feature-hook>
            <document-hook>
                <documents>
                    <by-suffix document-class="teisaacs.jdev.myext.model.MySourceDocument">
                        <suffix>my</suffix>
                        <suffix>MY</suffix>
                    </by-suffix>
                </documents>
            </document-hook>
            <editor-hook>
                <editors>
                    <editor editor-class="teisaacs.jdev.myext.editor.MyEditor">
                        <name rskey="EXTENSION_NAME">My Editor</name>
                    </editor>
                    <mappings>
                        <mapping document-class='teisaacs.jdev.myext.model.MySourceDocument">         
                            <open-with editor-class="teisaacs.jdev.myrext.editor.MyEditor"
                                       preferred="true"/>
                            <open-with editor-class="javax.ide.editor.CodeEditor"/>
                        </mapping>
                    </mappings>
                </editors>
            </editor-hook>
        </hooks>
    </extension>
    public class MyAddin implements Addin {
        public static final String MY_EXTENSION = "my";
        public void initialize() {
            System.out.println("MyEditor Constructor");
            new MyLanguageModule();
            Recognizer.mapExtensionToClass(MY_EXTENSION, MyNode.class);
            CodeEditor.registerNodeType(MyNode.class, MY_EXTENSION);
            LanguageModule.registerModuleForFileType(new MyLanguageModule(), MY_EXTENSION);
    }I have added and removed the editor hook along with many other modificaitons to the extension.xml but still not recognizing the new file extension.
    Todd

  • To add new file type in SharePoint

    Hi,
    I am trying to add new file type for sharepoint site like MSWord, PDF etc.,
    Are there any ways to create new file types in SharePoint? My requirement is to create a file type for AutoCAD drawings (.dwg format).
    Please note, we are using SharePoint 2007 version!
    Thanks

    Browse to the Central Admin site
    Select the Operations tab
    Under the Security Configuration section, click the link for
    Blocked file types
    Select the Web Application that you would like to modify from the drop down list
    Each blocked file extension displayed in the list is blocked by SharePoint.  To enable the blocked file extension, simply remove it from the list.
    Check with your type and if its there unblock it.
    Regards, Dharnendra Shah "strong belief is the only way to success"

  • Ironport - new file type group

    Is it possible to create a new file type group on an Ironport c360?  Or is is possible to add a specific file type to an existing group?  I figure there is a config file somewhere with this data but, so far, I'm unable to find it.
    Thanks
    If this is the wrong location for this discussion please redirect me.  I have not been able to read any existing discussions on in the official ironport area.

    Kirk;
      You may want to move this thread to the IronPort > Email Security community to get better exposure.
    Scott

  • Add New File type to Symbian os 9.1 ?

    Hi all
    I wanna Know is there any way to add new file type (for example AVI Filetype) in S60v3
    - I know that Y-Task (Filetype) can modify File Association (But only for Known file types by Symbian os & cant add New file type)
    Is there another app or trick?
    Thanks in advance

    I don't think there is any trick yet available. But there are 2-3 applications that play AVI media files.

  • New file type for XCode

    Hi!
    I want the XCode to apply C syntax coloring to the .nc files, which are not recognized by it. There are settings to change coloring schemes for known types, but i couldn't find anything to add a new file type. Each time I open a .nc file, I need to select the syntax coloring scheme manually..
    Anybody has any idea on where to find settings for that?
    best,
    Onur.

    I ran into this same problem just yesterday and I was glad to even find out that I could temporarily fix the problem by relaunching the finder. It also happened to my while I was renaming files. It allowed it for a few files and then all of a sudden, nothing. I couldn't type, or do any key commands with anything related to the finder, although all of my application files were fine.
    I am clueless as to how to permanently fix this problem, although i am thankful to read on how to relaunch the finder to fix it for a bit.
    I'll keep checking back to see if some guru stops by with the answer.
    Thanks for posting!

  • Launching external viewer per file type

    From my Java program I need to launch external viewers per file type. Is there any easy way to do this?
    My program may generate various output files (eg. html, txt, pdf ...etc). Once a file is generated, I want to launch corresponding registered viewer on users desktop so user can view the output(eg. for "HTML" registered web browser OR for TXT launch Notepad OR for PDF launch Acrobat etc).
    I suspect that this functionality may become OS-dependent but maybe somebody knows a "pure java" way of doing this?
    Even if I could do it for Windows only that'd be get me by for the moment. If somebody knows a Window's specific solution even that would help.
    TIA.

    Actually after some more searching I stumbled upon this at javaworld.
    On Windows one can execute url.dll that interpretes the given file (or URL) argument and launches appropriate viewer.
    For example to launch HTML viewer you execute the following command using runtime..
    rundll32 url.dll,FileProtocolHandler http://www.javaworld.comTo launch notepad you use the following command.
    rundll32 url.dll,FileProtocolHandler C:\myfile.txtThought it might be useful for anybody else reading this thread...

  • Possible? To add new file types to Bridge?

    When a file isn't listed in the file type list in the preferences, then Bridge (in Vista) doesn't allow me any changes for the "open with" function. It seems that I MUST live with Bridge's own handling for this file, even when it is false. (e.g. I already posted that Bridge falsely opens MindManager files using Safari)
    From other management software I know that it is sometimes possible, to manually add new file types to the preferences, e.g. editing an ASCII/txt file where they are listed. This is less elegant, but I would do it, if no other choice. Is there such a file in Bridge? Or do you know an other way to add new file types?
    Thanks, Michael

    Hi,
    You can not extend Oracle Data Mining to have your own algorithm.
    However, you can integrate mining implementations within the DB via SQL, PL/SQL among others.
    Thanks, Mark

  • Adding New File Type/Editor (CS6)

    There are a number of posts around editing Extensions.txt and MMDocumentTypes.xml but those posts don't seem to be solving my issue.
    I have 40+ Dreamweaver users and I'd like to be able to send them one or two configuration files that add new extensions ALONG WITH primary and secondary associations for editing.
    For example, I need to add the extension for PowerPoint (.pptx) and associate PowerPoint as the editor. I want to do this for all Microsoft Office file extensions - associate the extension with the default editor.
    As a test, I've changed both Extensions.txt and MMDocumentTypes.xml in my local user folder, but the only result I get is that the .pptx file extension in the list of extensions Dreamweaver can Save As...
    That's not what I'm looking for.
    When manually adding an extension and a primary (or secondary) editor in the DW preferences File Type / Editor panel, I get the result I want... double-clicking the file from the Files palette opens the file in the specified editor AND the file extension (.pptx) does NOT show up in list of extensions in the Save As... dialog.
    I have about 10 different extensions/app associations I'd like to add. Is there someplace else I should be looking?

    There are a number of posts around editing Extensions.txt and MMDocumentTypes.xml but those posts don't seem to be solving my issue.
    I have 40+ Dreamweaver users and I'd like to be able to send them one or two configuration files that add new extensions ALONG WITH primary and secondary associations for editing.
    For example, I need to add the extension for PowerPoint (.pptx) and associate PowerPoint as the editor. I want to do this for all Microsoft Office file extensions - associate the extension with the default editor.
    As a test, I've changed both Extensions.txt and MMDocumentTypes.xml in my local user folder, but the only result I get is that the .pptx file extension in the list of extensions Dreamweaver can Save As...
    That's not what I'm looking for.
    When manually adding an extension and a primary (or secondary) editor in the DW preferences File Type / Editor panel, I get the result I want... double-clicking the file from the Files palette opens the file in the specified editor AND the file extension (.pptx) does NOT show up in list of extensions in the Save As... dialog.
    I have about 10 different extensions/app associations I'd like to add. Is there someplace else I should be looking?

  • External Editor and File Names

    When I am in Aperture, I do the Open in External Editor to open Photoshop. I then make my changes to the image, and press save then close the file in Photoshop. Now back in Aperture the new image shows up, but it has a new name! I need to keep the same file number! What can I do?
    Kevin Hawkins

    If I change the file names by hand, will this break any projects that use those clips?
    Yes, it is best to do this before starting your project.
    If so, is there a way to rename the .dv files without breaking the projects? I'd be interested in >replacing the time with a description of the clip, for example, yet leaving the date alone.
    Best way is to name your Events with a descriptive name. I usually name it with a description and a reference to the source. e.g. Gail's 3rd Birthday - DV 023
    Also, you can Keyword clips, which is more powerful than naming clips.
    [See this Video Tutorial|http://www.apple.com/findouthow/movies/imovie08.html#tutorial=tag]
    Does changing the date of the clips inside iMovie (by selecting the clip and adjusting the date and >time manually) impact the file name? Or is once the clip is imported the file name stays constant >(unless changed manually)?
    Once imported, stays constant - unless changed manually.

  • CustomEditor Extension - How to add support for a new file type...

    Folks,
    I'm trying to use the CustomEditor extension as a basis for a new editor that will work with an arbitrary extension (say ".foo").
    How do I tell JDeveloper that .foo files should be opened by my wonderful new extension?
    I've created a Node class called 'FooNode' to represent my .foo file. It extends DeployableTextNode and overrides the two public variables that appear to specifiy what file types this node represents:
        public static final java.lang.String EXT = ".foo";
        public static final java.lang.String EXT2 = ".bar";The relevent piece of code is in AnAddin.java and appears to be:
      public void initialize()
        EditorManager eMgr = EditorManager.getEditorManager();
        eMgr.register(this, new Class[] {/*XMLSourceNode.class,*/ FooNode.class });
      }This doesn't work - I can't get JDeveloper to recognize .foo files and bring up my editor. What am I doing wrong?
    David Rolfe

    From our development team:
    For the IDE to recognize a new file extension, it needs to be
    explicitly registered with the IDE framework. So the static
    final field named EXT isn't automatically detected. To
    register the extension (this is the JDev 10.1.3 API):
    import oracle.ide.model.Recognizer;
    Recognizer.mapExtensionToClass(".foo", FooNode.class);

  • Save version as new file type in same Library

    I know I have to be doing something wrong here, but I can't figure this out.
    Is there any way to save a version of an edited image within the same library project, but as a different type?
    For example, I am creating HDR images in a 3rd party application, and the end result is a TIFF.  I save these edited images in a separate folder on my desktop for my HDR images, but then I have to reimport them into Aperture.  As these images are TIFF files, and now that I have them back in Aperture where I do some final tuning, I have to the export them again to another folder as JPG's, and then reimport them into Aperture so that they stay in the same Library.
    Once I have done my final color corrections, why can't I just do a "Save As" type function, within the same project and save the TIFF's as JPG, or PNG, or whatever?  Why is Aperture forcing me to export and reimport just to change the file type? 
    Thanks in advance,
    Mark

    I'm afraid you lost me about half way through that.
    Images in Aperture do not have a file type.  This is one of the hurdles you must clear in order to take full advantage of Aperture's brilliance.  Your images, in practical terms, do not exist as image-format files (such as JPG, etc.) within Aperture.  Exporting is when they are converted to an image-format file.  In point of fact, "export" in Aperture, means "create from this image  an image-format file of the type I specify and save that file to my hard drive".
    That's why there is no "Save as ... ".  Images in Aperture do not exist as single, sharable, files (and, perforce, do not have in image format).  The equivalent to "Save as ... " is, in Aperture, "Export".  And it has to be "Export" because once you give an image a format it can no longer be in the Library.  (Unless you import the new image-format file, in which case Aperture makes a new image with the imported file being the new image's Master; the new image in Aperture, once again, has no shareable single-file image format.)
    When I do HRD or panaroma stitching, I Stack in Aperture the photos I will use, export them to the program I will use, use that program, then import the result (always one file) and make it the pick of the Stack.
    Hope that helps.
    Message was edited by: Kirby Krieger

  • Default New File Type In Files Panel

    Hello...in DW CS5, when I right click on a directory in my local root folder and select New File, the default extension for the new file is php.  The default new document type in the Preferences dialog box is html. Doesn't the Preferences dialog box new document type define the default extension when I right click to create a new file in the Files Panel? Thanks for any help.

    Randy,
    I set the server model to "None" as you suggested and the default extension when I right click to create a new file in the Files Panel matches up with the default in the Preferences diaolg box.
    Thanks for the help!
    Upbubble

  • Getting CS3 to recognize new file types

    I'm trying to get Dreamweaver CS3 to recognize, and use the
    proper HTML editor on pages with a *.master extension. This is an
    ASP.NET 2.0 master page file, and they generally contain a ton of
    HTML.
    I can't believe that this wasn't set up by default ;)

    http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_16410
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Jasconius" <[email protected]> wrote in
    message
    news:f1t612$n57$[email protected]..
    > I'm trying to get Dreamweaver CS3 to recognize, and use
    the proper HTML
    > editor
    > on pages with a *.master extension. This is an ASP.NET
    2.0 master page
    > file,
    > and they generally contain a ton of HTML.
    >
    > I can't believe that this wasn't set up by default ;)
    >

Maybe you are looking for

  • Exception Handling for OPEN DATA SET and CLOSE DATA SET

    Hi ppl, Can you please let me know what are the exceptions that can be handled for open, read, transfer and close data set ? Many Thanks.

  • [SOLVED] - [Gnome 3] GDM error dialog "failed to start session GNOME"

    Hi, Just installed Gnome 3 from testing. First boot crashed, but that was a missing library for splashy, so removed splash from my grub boot line. Now the system boots to GDM. I can start my Xfce session without any issues, but if I select Gnome, I g

  • Missing TV Tuner Cable on C300, C305 or C315?

    All, Recently a limited number of C300, C305 and C315 model all in one desktops equipped with the TV Tuner option shipped without an adapter cable that was intended to be included as part of the configuration. Lenovo has identified shipments that wer

  • Exchange 2010 to Exchange 2013 work order

    Hi , Can anyone help me on below points. I have installed exchange 2013 , and able to view all mail box form existing server 2010. And move successfully some mail box from 2010 to 2013. My question are : Pls let me know the sequence for below reimagi

  • Risk Owners approval using ABAP Function class

    Dear All I have implemented ABAP function class ZCL_GRAC_WFA_RISK_OWNER to identify the risk owners once the role approval is done, the Workflow is working fine with one exception. My scenario is like this - i have mapped P059 risks to PR risk approv