Yes, you are right. We have such a list internally. Although it is not in
the UI yet, you can edit in the xml, if you want.

Close Idea. Open <IDEA_HOME>/config/option/code.style.xml. There should be a
text fragement like this:

    <option name="FIELD_TYPE_TO_NAME">
      <value />
    </option>
    <option name="STATIC_FIELD_TYPE_TO_NAME">
      <value />
    </option>
    <option name="PARAMETER_TYPE_TO_NAME">
      <value>
        <pair type="int" name="i" />
        <pair type="byte" name="b" />
        <pair type="char" name="c" />
        <pair type="long" name="l" />
        <pair type="short" name="i" />
        <pair type="boolean" name="b" />
        <pair type="double" name="v" />
        <pair type="float" name="v" />
        <pair type="java.lang.Object" name="o" />
        <pair type="java.lang.String" name="s" />
        <pair type="*Exception" name="e" />
        <pair type="*Event" name="event" />
      </value>
    </option>
    <option name="LOCAL_VARIABLE_TYPE_TO_NAME">
      <value>
        <pair type="int" name="i" />
        <pair type="byte" name="b" />
        <pair type="char" name="c" />
        <pair type="long" name="l" />
        <pair type="short" name="i" />
        <pair type="boolean" name="b" />
        <pair type="double" name="v" />
        <pair type="float" name="v" />
        <pair type="java.lang.Object" name="o" />
        <pair type="java.lang.String" name="s" />
        <pair type="*Event" name="event" />
      </value>
    </option>

Edit it, save and restart Idea.

Best regards,
Valentin Kipiatkov
-----------------------------------------------------------
 IntelliJ Software, http://www.intellij.com/
 "Develop with pleasure"
-----------------------------------------------------------

----- Original Message -----
From: "Thomas Singer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 25, 2001 3:43 PM
Subject: RE: [Eap-list] #509 bug with suggested param names


> Please make this list customizable. In our team 1-char-names (except i, j,
> k, x, y) aren't allowed. We always use ex for an instance of Exception.
>
> Best regards
> Thomas Singer
>
> At 12:16 25.10.01 +0100, you wrote:
> >Exception gets a suggested name 'e'
> >
> >seems you have a list of common class for which you unexpectedly use
> >another naming convention
> >
> >-----Original Message-----
> >From: Edoardo Comar [mailto:[EMAIL PROTECTED]]
> >Sent: 25 October 2001 12:11
> >To: [EMAIL PROTECTED]
> >Subject: [Eap-list] #509 bug with suggested param names
> >I use the prefix 'a' for method arguments
> >
> >a method argument of type 'String' gets a suggested name 's'
> >while I was expecting 'aString'
> >
> >Edo
> >
> >---
> >Edoardo Comar
> >Cape Clear Software Ltd.,
> >Building 3, Chiswick Park,
> >566 Chiswick High Road,
> >London W4 5YA, United Kingdom
> >phone: +44 20 8899 6020 | fax: +44 20 8899 6156  | Direct: +44 20 8899
6564
> >[EMAIL PROTECTED]
> ><http://www.capeclear.com/>http://www.capeclear.com
> >
> >*** Register for the Ultimate Web Services Event ***
> >***
<<http://www.capeclear.com/ultimate>http://www.capeclear.com/ultimate>
> >*** Download the NEW CapeConnect Three ***
> >***
<<http://www.capeclear.com/download>http://www.capeclear.com/download>
> >
> >
>
>
> _______________________________________________
> Eap-list mailing list
> [EMAIL PROTECTED]
> http://www.intellij.com/mailman/listinfo/eap-list


_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to