Project Code Style without storing in .ipr

Is there a way to have a project-specific code style without storing it in
the .ipr file?

0
13 comments

Hello Tom,

Is there a way to have a project-specific code style without storing
it in the .ipr file?


Yes. You can use directory-based format - then you won't have an .ipr file
at all and your code style will be stored in a separate .xml file under the
.idea directory.

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"




0
Avatar
Permanently deleted user

Yes. You can use directory-based format - then you won't have an .ipr
file at all and your code style will be stored in a separate .xml file
under the .idea directory.


How to activate the directory-based format?

0

Hello Tom,

>> Yes. You can use directory-based format - then you won't have an .ipr
>> file at all and your code style will be stored in a separate .xml
>> file under the .idea directory.
>>

How to activate the directory-based format?


File | Open in New (Directory-based) Format

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Avatar
Permanently deleted user

Thank you.

0
Avatar
Permanently deleted user

BTW: I find the name of that menu item very misleading and un-intuitive.
I invoke "Open in New Format", but must select an old-format *.ipr file?!
IMHO it should better be something like "Convert Project to New Format"

Also when opening a project in new format I tried selecting the .idea folder
to open the project. It took me a while to figure out that I have to select the
parent folder. (And I have seen that issue with my colleagues, too.)

Dmitry Jemerov wrote:

Hello Tom,

>>> Yes. You can use directory-based format - then you won't have an .ipr
>>> file at all and your code style will be stored in a separate .xml
>>> file under the .idea directory.
>>>
>> How to activate the directory-based format?


File | Open in New (Directory-based) Format

0

Hello Stephen,

BTW: I find the name of that menu item very misleading and
un-intuitive.


Related issue: http://www.jetbrains.net/jira/browse/IDEADEV-34772

Not the same requirement, but the same problem.

Alexander.


0
Avatar
Permanently deleted user

Is the new .idea format recognized by TeamCity 4.5 ?

Gilles

0

Hello Gilles,

Is the new .idea format recognized by TeamCity 4.5 ?


Yes.

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Avatar
Permanently deleted user

Thanks,

I used to put my .ipr under version control, non-shared launch configurations were located in .iws.
In the new layout, where are located the non-shared launch configurations ?

Gilles

0
Avatar
Permanently deleted user

But please be aware of (and vote for) this issue:

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

On 6/15/2009 1:41 PM, Gilles Philippart wrote:

Thanks,

>

I used to put my .ipr under version control, non-shared launch configurations were located in .iws.
In the new layout, where are located the non-shared launch configurations ?

>

Gilles

>

---
Original message URL: http://www.jetbrains.net/devnet/message/5240052#5240052


--
Martin Fuhrer
Fuhrer Engineering AG
http://www.fuhrer.com

0

Hello Gilles,

I used to put my .ipr under version control, non-shared launch
configurations were located in .iws. In the new layout, where are
located the non-shared launch configurations ?


In workspace.xml under the .idea directory, along with all other non-shared
settings.

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Hello Stephen,

BTW: I find the name of that menu item very misleading and un-intuitive.
I invoke "Open in New Format", but must select an old-format *.ipr
file?!
IMHO it should better be something like "Convert Project to New Format"


Agreed. I've renamed the action.

Also when opening a project in new format I tried selecting the .idea folder
to open the project. It took me a while to figure out that I have to select

the

parent folder. (And I have seen that issue with my colleagues, too.)


We're trying to give you a hint by highlighting the parent folder (rather
than the .idea subfolder) with a special icon.

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Avatar
Permanently deleted user

There is a serious bug for IDEA 8.1.3: if you store the .idea/libraries
directory including files under SVN, the update command always will fail,
because IDEA wipes this directory (don't know about the other directories
below .idea/) including the .svn directory.

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

Tom

0

Please sign in to leave a comment.