Question about editing *.properties

I have all my DBUtils queries in a properties file. They look like:
regionalState=SELECT regional_state_cd AS stateCD \
FROM state_region_vw \
WHERE state_cd = ?

offenseCategory=SELECT description, \
NCIC_OFFENSE_TYPE_CD offenseTypeCode \
FROM NCIC_OFFENSE_TYPE_CODE \
ORDER BY description

offenseCode=SELECT description, \
NCIC_OFFENSE_CD code \
FROM NCIC_OFFENSE_CODE \
WHERE NCIC_OFFENSE_TYPE_CD = ? \
ORDER BY description

When I type SELECT description , \ and hit return, it gives me two

I want to be able to type SELECT description, and hit enter - IJ should
then add the continuation character (unless I hit enter 2x).

Is there a way to set this?

2 comments

Why not just hit ENTER after typing "SELECT ,"? Continuation \ is automatically
inserted...

-


Maxim Shafirov
http://www.jetbrains.com
"Develop with pleasure!"

I have all my DBUtils queries in a properties file. They look like:
regionalState=SELECT regional_state_cd AS stateCD \
FROM state_region_vw \
WHERE state_cd = ?
offenseCategory=SELECT description, \
NCIC_OFFENSE_TYPE_CD offenseTypeCode \
FROM NCIC_OFFENSE_TYPE_CODE \
ORDER BY description
offenseCode=SELECT description, \
NCIC_OFFENSE_CD code \
FROM NCIC_OFFENSE_CODE \
WHERE NCIC_OFFENSE_TYPE_CD = ? \
ORDER BY description
When I type SELECT description , \ and hit return, it gives me two

I want to be able to type SELECT description, and hit enter - IJ
should
then add the continuation character (unless I hit enter 2x).
Is there a way to set this?



0

Does not work for me.

http://www.jetbrains.net/jira/browse/IDEA-5281

Maxim Shafirov (JetBrains) wrote:

Why not just hit ENTER after typing "SELECT ,"? Continuation \ is
automatically inserted...

>

-------------------
Maxim Shafirov
http://www.jetbrains.com
"Develop with pleasure!"

>
>> I have all my DBUtils queries in a properties file. They look like:
>> regionalState=SELECT regional_state_cd AS stateCD \
>> FROM state_region_vw \
>> WHERE state_cd = ?
>> offenseCategory=SELECT description, \
>> NCIC_OFFENSE_TYPE_CD offenseTypeCode \
>> FROM NCIC_OFFENSE_TYPE_CODE \
>> ORDER BY description
>> offenseCode=SELECT description, \
>> NCIC_OFFENSE_CD code \
>> FROM NCIC_OFFENSE_CODE \
>> WHERE NCIC_OFFENSE_TYPE_CD = ? \
>> ORDER BY description
>> When I type SELECT description , \ and hit return, it gives me two

>> I want to be able to type SELECT description, and hit enter - IJ
>> should
>> then add the continuation character (unless I hit enter 2x).
>> Is there a way to set this?
>>
>
>

0

Please sign in to leave a comment.