Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Intellij Community
Commits
3c478b20
Commit
3c478b20
authored
8 years ago
by
Rustam Vishnyakov
Browse files
Options
Download
Email Patches
Plain Diff
FIXE IDEA-170092 Color scheme import feedback is missing
parent
05f0d8d7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
platform/lang-impl/src/com/intellij/application/options/colors/ColorSchemeActions.java
+7
-1
...tellij/application/options/colors/ColorSchemeActions.java
platform/platform-resources-en/src/messages/ApplicationBundle.properties
+2
-0
...rm-resources-en/src/messages/ApplicationBundle.properties
with
9 additions
and
1 deletion
+9
-1
platform/lang-impl/src/com/intellij/application/options/colors/ColorSchemeActions.java
+
7
-
1
View file @
3c478b20
...
...
@@ -76,10 +76,16 @@ public abstract class ColorSchemeActions extends AbstractSchemeActions<EditorCol
});
if
(
imported
!=
null
)
{
getOptions
().
addImportedScheme
(
imported
);
getSchemesPanel
()
.
showStatus
(
ApplicationBundle
.
message
(
"settings.editor.scheme.import.success"
,
importSource
.
getPresentableUrl
(),
imported
.
getName
()),
MessageType
.
INFO
);
}
}
catch
(
SchemeImportException
e
)
{
getSchemesPanel
().
showStatus
(
"Import failed: "
+
e
.
getMessage
(),
MessageType
.
ERROR
);
getSchemesPanel
()
.
showStatus
(
ApplicationBundle
.
message
(
"settings.editor.scheme.import.failure"
,
importSource
.
getPresentableUrl
()),
MessageType
.
ERROR
);
}
}
}
...
...
This diff is collapsed.
Click to expand it.
platform/platform-resources-en/src/messages/ApplicationBundle.properties
+
2
-
0
View file @
3c478b20
...
...
@@ -782,5 +782,7 @@ settings.editor.scheme.copy.to.ide.title=Copy Project Scheme to IDE
settings.editor.scheme.copy.to.ide.label
=
IDE Scheme Name:
settings.editor.scheme.copy.to.project.title
=
Copy Setting to Project
settings.editor.scheme.copy.to.project.message
=
Overwrite project settings with values from {0}?
settings.editor.scheme.import.success
=
{0} was imported to {1} scheme.
settings.editor.scheme.import.failure
=
Import failed: {0} is not a valid scheme.
title.save.code.style.scheme.as
=
Duplicate Code Style Scheme As
title.save.color.scheme.as
=
Duplicate Color Scheme As
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment