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!"
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.
>> 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!"
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?
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 ?
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 ?
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!"
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!"
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.
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.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
How to activate the directory-based format?
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.
>>
File | Open in New (Directory-based) Format
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Thank you.
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:
>>> 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?
Hello Stephen,
Related issue: http://www.jetbrains.net/jira/browse/IDEADEV-34772
Not the same requirement, but the same problem.
Alexander.
Is the new .idea format recognized by TeamCity 4.5 ?
Gilles
Hello Gilles,
Yes.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
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
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:
>
>
>
--
Martin Fuhrer
Fuhrer Engineering AG
http://www.fuhrer.com
Hello Gilles,
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!"
Hello Stephen,
Agreed. I've renamed the action.
the
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!"
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