Project
IntelliJ IDEA
Priority
Normal
Type
Bug
Fix versions
No Fix versions
State
Verified
Assignee
Olesya Smirnova
Subsystem
Project Configuration
Affected versions
No Affected versions
Fixed in build
No Fixed in build
  • Created by   Alexander Chernikov
    3 years ago (04 Nov 2008 20:19)
  • Updated by   root
    2 years ago (17 Jan 2010 21:08)
  • Jira: IDEADEV-32426
    (history, comments)
 
IDEA-46453 Import settings does not re-set current code style scheme for template project
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
IDEA-46514 is fixed, but minor issue is present.
All code style schemes are exported and imported.
But the setting of current code style scheme for template project seems to be exported (other.xml), but not imported:
<component name="CodeStyleSchemes">
<option name="CURRENT_SCHEME_NAME" value="MyDefault" />
</component>
After import current scheme in template project is Default. MyDefault exists, but not current.

Issue was closed
Comments (2)
 
History
 
Linked Issues (?)
 
Alexander Chernikov
  Alexander Chernikov
12 Nov 2008 21:54
3 years ago
9133: reproduced. Once again:
1. There is NO opened project. Provide MyDefault code scheme. Set current in template project settings. Export all settings.
2. We have settings.jar with codestyles/MyDefault.xml and options/other.xml with
<component name="CodeStyleSchemes">
<option name="CURRENT_SCHEME_NAME" value="MyDefault" />
</component>
2. Start IDEA with new, empty config. Select "I do not have previous version blah-blah". IDEA frame (without project) opens.
3. In IDEA save all. Exit. Set option "Never ask again" in confirmation.
4. Restart. IDEA frame without opened project opens.
5. Import settings. Select settings.jar. Say to import all. Agree to exit.
6. Start IDEA. Wait to launch.
7. Check new config: codestyles/MyDefault.xml exists, but options/other.xml points to Default.
8. Open template project settings: current scheme is Default.
Alexander Chernikov
  Alexander Chernikov
21 Nov 2008 22:29
3 years ago
9158: fix confirmed.