Custom language for xcode

Hi,
Is there a relatively easy way to add a custom language to xcode?  (templates, syntax highlighting, etc.)
I often work in "R", a statistical programming language and would love to use xcode to write my code.
Thanks!

noah977 wrote:
XCode must have something similar.  Finiding it and deciphering the file format is the tricky part.
Finding and deciphering isn't all that difficult. The files are here:
/Developer/Library/PrivateFrameworks/DVTFoundation.framework/Versions/A/Resource s/
/Developer/Library/PrivateFrameworks/XcodeEdit.framework/Versions/A/Resources/
How to get Xcode to recognize a new language is another story. I have tried to inspire the FORTRAN people to do that since they seem very upset that FORTRAN doesn't have syntax coloring in Xcode4. There is a "Fortran.xclangspec" file in there, but I wasn't able to get Xcode to use it. I admit that I didn't try that hard. If you could figure out how to get FORTRAN syntax highlighting to work, the FORTRAN programmers would really appreciate it, and you could probably hack-in R support as well. Of course, it may not be possible at all, so don't get too excited.
PS: Make sure to have good backups before hacking on Xcode internals.

Similar Messages

  • Create Custom Languages for DVD

    Hi... We are creating complex DVD's which use multiple Video and Audio angles. Audio angles give you the option of selecting a language for each track. My question: Is there a way to create a custom language Name... so instead of English, we call it Full Mix Audio - or something like that? I am doubtful about this, but just had top pose the question.
    Thanks
    Barry

    If you mean changing the options in the pulldown for the audio, nope. For alternate audio I usually name the AC3s with names that are easy to see in the timeline (English, Spanish etc.)

  • Output in Customer Language for Service Dispatch Note Smart form

    We have upgraded from ECC 5.0 to ECC 6.0.
    After the upgrade we are facing an issue in some of our Service related smart forms.
    The version of the driver program is same in both the systems and the smart form is also same.
    The customer's language is maintained in Customer Master data.
    In the un-upgraded system, the forms were printed in the Customer language according to what is maintained in the customer master data.
    But after the upgrade, in the new system, the form is being printed in English as opposed to the Customer language in the older system.
    As I have already mentioned above, in both the systems, the driver program, smart form and Customer Language in the customer master data are similar.
    Kindly suggest me the solution if anyone has faced a similar problem.

    Hi, Actually I have checked in debugging and have come to know that during the upgrade, when I have downloaded the form from ECC 5.0 and uploaded it to ECC6.0, the Language option in the general attributes tab of the text modules is blank and hence the form is displayed in English only.
    Is there any way that I can get the smartform uploaded as it is in the earlier system?

  • Custom language for particular song's title

    Hi,
    I really like VoiceOver feature that reads a title of currently played song when you'll press remote button for a while, but it's not perfect.
    My music collection consists of English, Polish, French and few Chinese songs and voice over tries to read it always "in English" (UI language). Only exception are Chinese songs that are being read by different voice in proper Chinese.
    How can I set proper language for particular song?
    In Nano 5G VoiceOver was generated by iTunes and everyone could define language for particular song, but 6G seems to synthesize speech on iPod, which is not an issue itself.
    Issue is that I can't find a way to define language for each song separately.

    Right click on the track in itunes and select get info. Then select "Options". On that screen you will see an entry for Language. It is most likely set to "Automatic" just select the language you prefer and you are good to go.
    i

  • Customer conversion for Non-English languages

    Hi:
    We have a requirement to convert customer data from lagacy system to Oracle EBS supporting English and Non-English languages. Our conversion programs for english is working fine but we are not sure about the approach for other language converions. Can anyboody share the knowledge if faced similar requirements?
    Thanks /Santanu

    Duplicate thread (please post only once) ...
    Customer conversion for non-english language
    Re: Customer conversion for non-english language

  • Database storage of multiple languages for name of a single entity

    Surely I'm not the first person to have this problem, but I can't find many resources on how to solve this. Just some background on what I'm working with, I'm running a web application using the Struts framework with jdk 1.4 on a Weblogic 8.1 server connected to an Oracle 9i database, I'm using DAO for my persistence layer, and I'm not opposed to using any 3rd party software to assist in this task.
    For example, say I have a database of DVDs, My application will retrieve the list of DVDs from the database to display to the user. Depending on the user's Locale I want to display the title of the DVD in that language.
    This is a simple example, but the real-world application is much more complicated. The application is highly configurable meaning that through a configuration application, my internal users can add DVDs at any time, edit the title of the DVD, or add a new language that they want the title to display in, etc. When a customer logs in to the application front-end they will be able to change the language they want the application to display in at any time, and the application will need to reflect that change. The display of constant text like field labels and page text is easy using Struts but its this configurable dynamic text thats a bit more difficult.
    Its obvious to me that I will need to store the multiple languages in the database in some way, I'm thinking of either storage in some xml format, or a new table hanging off the "dvd" table with languages for each dvd. Either of these options would work for my purposes, but I don't want to go reinvent the wheel when this same problem has arleady been solved. If someone could point me in the right direction I would appreciate it

    One common way to handle this is to modify your key for the dvd title to include a locale identifier:
    key dvdtitle
    becomes
    key locale dvdtitle
    Now your db can hold multiple translations of the same dvd title.
    Regards,
    John O'Conner
    Its obvious to me that I will need to store the
    multiple languages in the database in some way, I'm
    thinking of either storage in some xml format, or a
    new table hanging off the "dvd" table with languages
    for each dvd. Either of these options would work for
    my purposes, but I don't want to go reinvent the
    wheel when this same problem has arleady been solved.
    If someone could point me in the right direction I
    I would appreciate it

  • How can I create a custom button for opening a form?

    I have a parent form having child forms. In my main form I want to create custom buttons for opening child forms. I want to use master-detail form but there are more than one child forms, and in master-detail form I can only create one detail form. So I will create a form based on a table and in that form I will call the child forms by custom buttons. Can I do that?
    Thanx,
    Gulsah.

    This can be easily done. First open up two instances of your Portal. In one window, you will need to go into your component you wish to link FROM. In the other window you will need to go into your component you wish to link TO. In the component you wish to link TO there will be a moduleid. Note this somewhere. Then, you will see an area that says: "Call Interface: Show". Click on this. (In the window you are linking to.). In this window, you will see a bunch of stuff. At the bottom you will see a URL call. This is the call you need to use. At the top, it explains each piece of the URL call. Just subsitute YOUR appropriate information into the URL call. In the form you wish to link FROM, create a button. Once you create this button, it will appear at the bottom, click on it and you will see an area to insert a Javascript. Click the onClick and insert:
    //this is the variable you want to pass from one form to the other
    get_field_name = getField(this.form,'COLUMN_NAME_IN_DATABASE');
    //this is so you can open the "child" form
    window.open('/pls/cc_prod/DAD_NAME.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=MOD_ID_HERE&p_arg_names=_sessionid&p_arg_values=&p_arg_names=COLUMN_NAME_IN_DATABASE&p_arg values='+GETFIELD_NAME+'&p_arg_names=_COLUMN_NAME_IN_DATABASE_cond&p_arg_values=%3D');
    In the fourth tab, where it says, "....before displaying form" insert the following: (This will tell the form how to handle the getField function.)
    htp.p('<script language="JavaScript1.3">
    < !--
    function getField(form,fieldName)
    var objName = "";
    var tmp = "";
    var dAction = "";
    var sel_idx = 0;
    var cnt = 0;
    var instance = 0;
    var slicedName;
    var fillData = new Array();
    for (var i = 0; i < form.length; i++)
    slicedName = form.elements.name.split(".");
    tmp = slicedName[2];
    instance = parseInt(slicedName[3],10);
    if (!tmp)
    continue;
    objName = tmp;
    if (objName == fieldName)
    return form.elements[i].value;
    //-->
    </script>');
    I hope this helps.
    null

  • Error in compiling a custom dictionary for text analysis

    I got a error when I tried to compile the custom dictionary for the Text Data Processing transformor. I am looking for help to solve the problem or work around the error.
    The error is as follows:
    [ERR] Can not create file [C:/ws_sclg.1]
    Here is the command I was using:
    C:\Program Files (x86)\SAP BusinessObjects\Data Services\bin> tf-ncc -d ..\TextAnalysis\languages -o C:\Sample Source\Dictionary C:\Users\jack\Documents\Visual Studio 2008\Projects\XMLFile1.xml
    It appears to me that the command was trying to create a log file or some temporary file in my C drive root directory, and the OS denied the action. The Data Services is running on a Windows 2008 Server R2. I wonder if there is a way to specify where to create this log file or tempory file?
    Any insight or help is appreciated. Jack

    Instead of calling the command from the windows shell command interface, I was able to call the compilier from Data Services; this problem is now resolved.

  • Creating a custom dictionary for Acrobat and Reader.

    I want to create a custom dictionary to be used by all of our users when they access a “forms document” through Adobe Reader/Acrobat.
    Here are some of the issues:
    The default dictionary name under Custom Dictionaries has a .clam extension.
    Is there a way to edit this?
    Does it contain the index settings for all the other added.txt and excluded.txt dictionary files?
    The Reader's default location is under a user’s LocalLow folder.
    C:\Users\PIN\ AppData\LocalLow\Adobe\Linguistics\Dictionaries\Adobe Custom Dictionary.
    The Acrobat default location is under the user's Roaming folder.
    C:\Users\PIN\ AppData\Roaming\Adobe\Linguistics\Dictionaries\Adobe Custom Dictionary\.
    This is buried under the users profile and we need to be able to update these files on all the user’s workstations prior to log on.
    This could be done by redirection of the new custom dictionary. What is the location of that setting in the registry?
    Is there is a way to append to the standard dictionary file so as not to replace any setting that a user may have made to the dictionary?
    Is this done to the .clam or .txt file outside of the Adobe Reader application?
    What is the “All” setting in the dictionary?
    Does that imply the program will look through all the dictionaries?
    Is there a way to create a new dictionary name that would appear under the preferences\spelling\dictionaries list. Is there an Index file that would point to a newly created Dictionary folder?

    Custom dictionaries must be created with a 3rd party program provided by Proximity (http://www.proximitytechnology.com/spell_correction.htm).
    The spelling support files are installed in this directory for all users (this is only the default)
    C:\Program Files\Adobe\<product>\Resource\Linguistics\Providers\Proximity
    File types include:
    ENV - eg: grmphon.env - the phonetic rule file for the spelling dictionary language. There is one of these “ENV” file for each language.
    CLX - eg: grm32.clx - a language related part of spelling dictionary. There is one of these “CLX” file for each language.
    LEX - eg: grm104.lex - an actual spelling dictionary. There may be several dictionaries for a given language, for example, grm104.lex, grm10401.lex.
    So the answer is:
    Create a custom dictionary with Proximity and use the Wizard or some other method to deploy the files in the correct location.
    Ben

  • OBIEE 11g - Customized Message for No result On all Reports

    Hi,
    The default messages displayed is getting displayed when a report returns no data in OBIEE 11g. I am aware of that, we can overide the default message with our Custom message at "Analysis" level. but it is very painful to do.
    I am looking for a file where we can override the default messages with our custom message at one place.
    Also, I have gone through the below link for this but it has change at the language level. I tried to change it at language "l_en" level but it did not work.
    can anyone suggest for 11g?
    http://obiee10grevisited.blogspot.com/2012/02/customized-message-for-no-result-on-all.html
    Edited by: Nagen on May 6, 2013 4:36 PM

    Hi Nagen,
    Using a custom message should also work in 11g. Refer to this link for setting up custom messages in 11g.
    http://www.rittmanmead.com/2010/12/oracle-bi-ee-11g-styles-skins-custom-xml-messages/
    Thanks,
    Gaurav

  • Custom tag for Marquee in JSF

    Hi,
    I am trying to develop a custom tag for Marquee in JSF, my usecase is to display a value from managed bean(Dynamically). please find the code below and guide me where i have made mistake
    regards
    Sandeep
    Component class:
    package customtags;
    import javax.el.ValueExpression;
    import javax.faces.component.UIComponentBase;
    import javax.faces.context.FacesContext;
    public class Marquee extends UIComponentBase {
         public static final String COMPONENT_TYPE = "marqueecomp";
         public static final String RENDERER_TYPE = "marqueeRenderer";
         private Object[] _state = null;
         private String value;
         public String getValue() {
              if (null != this.value) {
                   return this.value;
              ValueExpression _ve = getValueExpression("value");
              return (_ve != null) ? (String) _ve.getValue(getFacesContext()
                        .getELContext()) : null;
         public void setValue(String marquee) {
              this.value = marquee;
         public String getFamily() {
              // TODO Auto-generated method stub
              return COMPONENT_TYPE;
    //     public void encodeBegin(FacesContext context) throws IOException {
    //          ResponseWriter writer = context.getResponseWriter();
    //          writer.startElement("marquee", this);
    //          writer.write(getValue());
    //          writer.endElement("marquee");
         public void restoreState(FacesContext context, Object state) {
              this._state = (Object[]) _state;
              super.restoreState(_context, this._state[0]);
              value = (String) this._state[1];
         public Object saveState(FacesContext _context) {
              if (_state == null) {
                   _state = new Object[2];
              state[0] = super.saveState(context);
              _state[1] = value;
              return _state;
    Tag Class:
    package customtags;
    import javax.el.ValueExpression;
    import javax.faces.component.UIComponent;
    import javax.faces.webapp.UIComponentELTag;
    public class MarqueeTag extends UIComponentELTag {
         protected ValueExpression marquee;
         public String getComponentType() {
              // TODO Auto-generated method stub
              return Marquee.COMPONENT_TYPE;
         public String getRendererType() {
              // TODO Auto-generated method stub
              return Marquee.RENDERER_TYPE;
         * protected void setProperties(UIComponent component) {
         * super.setProperties(component); Marquee marqComp = (Marquee) component;
         * if (marquee != null) { marqComp.setValue(marquee); } }
         protected void setProperties(UIComponent component) {
              super.setProperties(component);
              Marquee marqComp = null;
              try {
                   marqComp = (Marquee) component;
              } catch (ClassCastException cce) {
                   throw new IllegalStateException(
                             "Component "
                                       + component.toString()
                                       + " not expected type. Expected: com.foo.Foo. Perhaps you're missing a tag?");
              if (marquee != null) {
                   //marqComp.setValueExpression("value", marquee);
                   marqComp.setValue("fsdfsdfsdfsdfsd");
         * @return the marquee
         public ValueExpression getMarquee() {
              return marquee;
         * @param marquee
         * the marquee to set
         public void setMarquee(ValueExpression marquee) {
              this.marquee = marquee;
    *.tld file*
    <?xml version="1.0" encoding="UTF-8"?>
    <taglib xmlns="http://java.sun.com/xml/ns/javaee"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd"
         version="2.1">
         <tlib-version>1.0</tlib-version>
         <short-name>marqueecomp</short-name>
         <uri>http://tags.org/marquee</uri>
         <tag>
              <name>marqueeTag</name>
    <tag-class>customtags.MarqueeTag</tag-class>
    <body-content>empty</body-content>
    <attribute>
    <description><![CDATA[Your description here]]></description>
    <name>id</name>
    <required>false</required>
    <rtexprvalue>true</rtexprvalue>
    </attribute>
    <attribute>
    <description><![CDATA[Your description here]]></description>
    <name>value</name>
    </attribute>
         </tag>
    </taglib>
    Renderer class:
    package customtags;
    import java.io.IOException;
    import javax.faces.component.UIComponent;
    import javax.faces.context.FacesContext;
    import javax.faces.context.ResponseWriter;
    import javax.faces.render.Renderer;
    public class MarqueeRenderer extends Renderer {
         public void encodeBegin(final FacesContext facesContext,
    final UIComponent component) throws IOException {
    super.encodeBegin(facesContext, component);
    final ResponseWriter writer = facesContext.getResponseWriter();
    writer.startElement("DIV", component);
    /*String styleClass =
    (String)attributes.get(Shuffler.STYLECLASS_ATTRIBUTE_KEY);
    writer.writeAttribute("class", styleClass, null);*/
    public void encodeEnd(final FacesContext facesContext,
    final UIComponent component) throws IOException {
    final ResponseWriter writer = facesContext.getResponseWriter();
    writer.endElement("DIV");
    in Faces-Config:
    <component>
              <display-name>marqueecomp</display-name>
              <component-type>marqueecomp</component-type>
              <component-class>customtags.Marquee</component-class>
              <component-extension>
    <renderer-type>marqueeRenderer</renderer-type>
    </component-extension>
         </component>
         <render-kit>
    <renderer>
    <component-family>marqueecomp</component-family>
    <renderer-type>marqueeRenderer</renderer-type>
    <renderer-class>customtags.MarqueeRenderer</renderer-class>
    </renderer>
    </render-kit>
    In class path --->marquee.taglib.xml
    <?xml version="1.0"?>
    <!DOCTYPE facelet-taglib PUBLIC
    "-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN"
    "http://java.sun.com/dtd/facelet-taglib_1_0.dtd">
    <facelet-taglib>
    <namespace>http://tags.org/marquee</namespace>
    <tag>
    <tag-name>marqueeTag</tag-name>
    <component>
    <component-type>marqueecomp</component-type>
    <renderer-type>marqueeRenderer</renderer-type>
    </component>
    </tag>
    </facelet-taglib>
    *.xhtml file*
    <html xmlns="http://www.w3.org/1999/xhtml"
         xmlns:ui="http://java.sun.com/jsf/facelets"
         xmlns:h="http://java.sun.com/jsf/html"
         xmlns:f="http://java.sun.com/jsf/core" xml:lang="en" lang="en"
         xmlns:a4j="http://richfaces.org/a4j"
         xmlns:rich="http://richfaces.org/rich" xmlns:mycomp="http://tags.org/marquee">
    <head>
    <title>DEBTDOC Home Page</title>
    <meta http-equiv="keywords" content="enter,your,keywords,here" />
    <meta http-equiv="description"
         content="A short description of this page." />
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
    <link rel="stylesheet" type="text/css" href="../css/common.css"></link>
    <script language="javascript" src="../script/common.js"></script>
    </head>
    <body>
    <f:view>
    <mycomp:marqueeTag value="hello World"></mycomp:marqueeTag>

    There exist the JSTL SQL taglib, but I don't recommend this. It should only be used for quick development and testing. For database connectivity, rather create a data layer with DAO classes which you on its turn just plug in your business layer (with servlets).

  • SAPSCRIPT: Creating new Language for existing form

    Hi Guys,
    I need add an additional language for an existing form. Italian is not available for the this existing form. How can I add this language? do I need to copy the form with language EN? how can I include that form in the existing form? or there are other way to do this? Thanks in advance!
    Regards,
    Michael Nacionales

    There is a change in the standard code.The reason for the above problem was  because of a missing Enhancemnet point in a standard function module 'CV110_DOC_CREATE_WITH_TEMPLATE'.
    IS-ADEC-MPD  - Enhancement to copy MPD data
    ENHANCEMENT-POINT CV110_DOC_CREATE_WTEMPL_01 SPOTS ES_SAPLCV110.
    +*$*$-Start: CV110_DOC_CREATE_WTEMPL_01----------------------------------------------------------$*$*+
    +**ENHANCEMENT 1  ZSF_AD_MPD_SAPLCV110.    "active version**+
    +*** copy MPD relevant data from templ. doc to current doc**+
      +**CALL FUNCTION 'MPD02_COPY_MPD_DATA'**+
        +**EXPORTING**+
          +**is_draw = ls_draw**+
        +**TABLES**+
          +**ct_drad = lt_drad.**+
    +*ENDENHANCEMENT.**$*$-End:   CV110_DOC_CREATE_WTEMPL_01----------------------------------------------------------$*$*+
    Created a custom enhancement point similar to SAP ECC6.0 EHP 3.0 system.
    The reason was the buffer was not getting cleared previously.After inserting the above code the DIR's are getting created withot any issues.
    Regards,
    Prasad.B

  • Different proofing languages for new mail & replies in Outlook 2010

    I have recently been upgraded to Windows 7 & Office 2010 at work.  My biggest frustration (currently) is the proofing language used by Outlook.  I have managed to set my proofing language to English (Canada) finally (for a while it insisted
    on German (Switzerland) with an interesting brief deviation to Portuguese (Brazil) for some reason) for new messages.  I have moved my custom dictionary over from my old computer & it works fine.  Unfortunately, try as I might, I cannot get my
    proofing language for REPLIES to use English (Canada).  It insists on English (US) and won't use my custom dictionary.
    Suggestions?

    Hi sheilad58,
    Have you read this documents?
    Switch between different languages by setting the proofing language
    http://office.microsoft.com/en-us/outlook-help/switch-between-different-languages-by-setting-the-proofing-language-HA010354272.aspx
    If not, please read it and follow the steps to set proofing language.
    When you want to add custom dictionary, please refer to this:
    Add words to your spell check dictionary
    http://office.microsoft.com/en-us/outlook-help/add-words-to-your-spell-check-dictionary-HA010354289.aspx
    Thanks,
    Evan

  • Customizing Object for table TB019?

    Hello all,
    Can you please tell me the Customizing Object for table TB019? The only object I could find was DNL_CUST_CUST3 but this includes TB020 and not TB019.
    Rgds
    Priyanka

    Hi!
    I think you already found the object. It is the TB020 that triggers the override. It is very often so that the language dependent tables are the ones being transferred.
    A genereal methodology to figure out which load object is involved for a specific R/3-table is to go to transactionse16 in CRM and check the SMOFTABLES-table.
    The field R3TABNAME is where you put in your R/3-table. It also allows generic searches such as TB0*.
    BR
    /fredric

  • Creating a new custom language code?

    Hi!
    What would be the process to create a new custom language code to MDMP enabled SAP (6.20)? And the same question for a Unicode system ECC6.0?
    The new language (let's call it ZZ) would be an exact copy of Chinese language ZH.
    As far as I have understood, the requirement is to maintain different Chinese material descriptions and tax rates for the same material in different Chinese customs areas. Standard SAP doesn't support this it seems. So, ZH would be used for custom area 1 and ZZ for customs area 2. Each with their own descriptions and tax rates.
    Solution-wise I appreciate any good tips but if we really  have to go down to this "second Chinese language" path I'd like to know how big a task it is.

    Hi,
    in a Non-Unicode system, SAP notes 112065 and 302063 describe possibilities to use additional language keys.
    In a Unicode system, SAP note 73606 (attachment supportedlanguages2.xls) shows all supported language keys.
    However these additional language keys enable you to maintain additional descriptions (e.g. for display or printing).
    But in general it is not possible to enable different tax rates depending on language keys.
    This sounds rather like a localization requirement. For this area there are usually other attributes which can be used (like e.g. company code).
    Best regards,
    Nils Buerckel
    SAP AG

Maybe you are looking for