Skip to content

Commit

Permalink
更新到2017.1版本,少量检查更新及修正!
Browse files Browse the repository at this point in the history
  • Loading branch information
ewen0930 committed Mar 30, 2017
1 parent a6236f4 commit 00e75fe
Show file tree
Hide file tree
Showing 133 changed files with 18,681 additions and 16,708 deletions.
2 changes: 1 addition & 1 deletion resources_en/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.9.4
Created-By: 1.8.0_112-release-408-b2 (JetBrains s.r.o)
Created-By: 1.8.0_112-release-736-b13 (JetBrains s.r.o)

3 changes: 2 additions & 1 deletion resources_en/com/intellij/json/JsonBundle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ json.inspection.group=JSON
inspection.compliance.name=Compliance with JSON standard
inspection.compliance.msg.comments=JSON standard does not allow comments. Use JSMin or similar tool to remove comments before parsing.
inspection.compliance.msg.single.quoted.strings=JSON standard does not allow single quoted strings
inspection.compliance.msg.identifier=JSON standard does not allow identifiers
inspection.compliance.msg.bad.token=JSON standard does not allow such tokens
inspection.compliance.msg.illegal.property.key=JSON standard allows only double quoted string as property key
inspection.compliance.msg.trailing.comma=JSON standard does not allow trailing comma
inspection.compliance.msg.multiple.top.level.values=JSON standard allows only one top-level value
Expand All @@ -27,6 +27,7 @@ inspection.duplicate.keys.msg.duplicate.keys=Object contains duplicate keys "{0}
# Formatter
formatter.other.tab.group.title=Formatting options
formatter.other.tab.label.align.properties=Align object &properties:
formatter.other.tab.remove.trailing.comma=Remove trailing &comma

formatter.align.properties.none=Do not align
formatter.align.properties.on.colon=On colon
Expand Down
3 changes: 3 additions & 0 deletions resources_en/i18n/ExternalSystemBundle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Import.
import.title=Import {0} Projects
import.needed={0} projects need to be imported
import.importChanged=Import Changes
import.enableAutoImport=Enable Auto-Import
module.type.title={0} Module
module.type.description={0} modules are used for developing <b>JVM-based</b> applications with dependencies managed by <b>{0}</b>
orphan.modules.text=<html>The modules below are not imported from {0} anymore.<br/>Check those to be removed from the ide project too:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<html>
<body>
Reports duplicate branches in a RegExp alternation. For example <code>(a|b|a)</code>.
Duplicate branches slow down matching and obscure the intent of the code.
<!-- tooltip end -->
<p><small>New in 2017.1</small>
</body>
</html>
12 changes: 12 additions & 0 deletions resources_en/inspectionDescriptions/EscapedMetaCharacter.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<html>
<body>
Reports the escaped meta characters, e.g. <b><code>\.</code></b>.
Some RegExp coding styles specify that meta characters should be placed inside a character class,
to make the regular expression easier to understand.
For example the regex <b><code>\d+\.\d+</code></b> would be written as <code>\d+[.]\d+</code>.
This inspection does not warn about the meta character <b><code>[</code></b>, <b><code>]</code></b> and <b><code>^</code></b>,
because those would need additional escaping inside a character class.
<!-- tooltip end -->
<p><small>New in 2017.1</small>
</body>
</html>
8 changes: 8 additions & 0 deletions resources_en/inspectionDescriptions/OctalEscape.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<html>
<body>
Reports octal escapes, which are easily confused with back references.
Use hexadecimal escapes to avoid confusion.
<!-- tooltip end -->
<p><small>New in 2017.1</small>
</body>
</html>
14 changes: 14 additions & 0 deletions resources_en/inspectionDescriptions/ReDoS.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<html>
<body>
Reports exponential backtracking in a RegExp, which can lead to extremely slow matching.
Exponential backtracking can happen when a single string can be matched in multiple ways, leading to exponential runtime.
Exponential backtracking is also known as Regular Expression Denial of Service (ReDoS), catastrophic backtracking, explosive quantifiers
and exponential matching.
This inspection only detects a limited form of exponential backtracking,
so the absence of a warning is not a guarantee the pattern does not contain a exponential backtracking problem.

<!-- tooltip end -->
<p>
<small>New in 2017.1</small>
</body>
</html>
10 changes: 10 additions & 0 deletions resources_en/inspectionDescriptions/RepeatedSpace.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<html>
<body>
Reports multiple consecutive spaces in a RegExp.
Because spaces are not visible by default, it can be hard to see how many spaces are required.
The RegExp can be made more clear by replacing the consecutive spaces with a single space and a counted quantifier.
<!-- tooltip end -->
<p>
<small>New in 2017.1</small>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<html>
<body>
Reports single char alternation (<b><code>a|b|c|d</code></b>) in a RegExp.
It is simpler and significantly faster to use a character class (<b><code>[abcd]</code></b>) instead.
<!-- tooltip end -->
<p>
<small>New in 2017.1</small>
</body>
</html>
44 changes: 34 additions & 10 deletions resources_en/messages/ActionsBundle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# suppress inspection "UnusedProperty" for whole file
# suppress inspection "UnusedProperty" for whole file
# IDEA core action texts and descriptions go here.
# The key patterns are "action." + id + ".text" and "action." + id + ".description"

Expand Down Expand Up @@ -236,8 +236,8 @@ action.Diff.PreviousConflict.description=Move to the previous unresolved conflic
action.GotoChangedFile.text=Go To Changed File...
action.GotoChangedFile.description=Quickly navigate to changed file by name
action.Refresh.text=R_efresh
action.CheckinProject.text=Check _In Project
action.CheckinFiles.text=Check _In
action.CheckinProject.text=Comm_it Project
action.CheckinFiles.text=Comm_it File
action.UpdateFiles.text=_Update
action.CheckStatusForFiles.text=Chec_k Status
action.Annotate.text=A_nnotate
Expand All @@ -259,6 +259,8 @@ action.CompareFileWithEditor.text=Co_mpare File with Editor
action.CompareFileWithEditor.description=Compare selected file with editor
action.ShowQuickDocAtPinnedWindowFromTooltip.text=Full documentation in a pinned window
action.ShowQuickDocAtPinnedWindowFromTooltip.description=Show full documentation in a pinned window
action.JumpToColorsAndFonts.text=Jump to Colors and Fonts
action.JumpToColorsAndFonts.description=Jump to Colors and Fonts option at caret

group.LocalHistory.text=Local _History
action.LocalHistory.ShowHistory.text=Show _History
Expand Down Expand Up @@ -492,8 +494,8 @@ action.GotoSymbol.description=Quickly navigate to any symbol by name
action.GotoCustomRegion.text=Custom Folding...
action.GotoAction.text=_Find Action...
action.GotoAction.description=Quickly navigate to action by name
action.GotoLine.text=_Line...
action.GotoLine.description=Navigate to a line in editor by its number
action.GotoLine.text=_Line/Column...
action.GotoLine.description=Navigate to a line (and/or column) in editor by its number
action.GotoDeclaration.text=_Declaration
action.GotoDeclaration.description=Navigate to the declaration of the symbol at caret
action.GotoImplementation.text=I_mplementation(s)
Expand Down Expand Up @@ -615,7 +617,7 @@ action.Unscramble.text=Analyze _Stacktrace...
action.Unscramble.description=Open console with the navigatable stacktrace
action.IdeScriptingConsole.text=IDE Scripting Console
action.IdeScriptingConsole.description=Open IDE scripting console
action.NewScratchFile.text=New Scratch File...
action.NewScratchFile.text=Scratch File
action.NewScratchFile.description=Creates new scratch file with chosen language
action.NewScratchBuffer.text=New Scratch Buffer
action.NewScratchBuffer.description=Creates new or reuses existing scratch buffer
Expand Down Expand Up @@ -753,7 +755,7 @@ action.Pause.text=_Pause Program
action.Pause.description=Suspend program execution and enable debugging
action.Resume.text=Resume Pro_gram
action.Resume.description=Resume program execution
action.EvaluateExpression.text=_Evaluate Expression...
action.EvaluateExpression.text=Evaluate E_xpression...
action.EvaluateExpression.description=Evaluate arbitrary expression
action.QuickEvaluateExpression.text=_Quick Evaluate Expression
action.QuickEvaluateExpression.description=Evaluate selected expression
Expand Down Expand Up @@ -844,7 +846,7 @@ action.LocalVcs.ShowStatistics.description=Show Local VCS statistics
action.LocalVcs.ShowRepHistory.text=Repository History
action.DropAnError.text=Drop An Error
action.DropAnOutOfMemoryError.text=Drop An OutOfMemoryError
action.DropAnOutOfPermGenMemoryError.text=Drop An PermGen OutOfMemoryError
action.DropAnOutOfMetaspaceError.text=Drop an OutOfMemoryError in Metaspace
action.DumpInspectionDescriptions.text=Dump Inspection Descriptions
action.DumpIntentionsDescriptions.text=Dump Intentions Descriptions
action.ShowUserActivities.text=Show Activities
Expand Down Expand Up @@ -942,6 +944,9 @@ action.CloseAllUnpinnedEditors.description=Close all editors which are not pinne
action.CloseContent.text=_Close
action.CloseContent.description=Close currently focused content
group.EditorTabsGroup.text=Editor _Tabs
action.CloseFirstNotification.text=Close First
action.CloseAllNotifications.text=Close All
group.Notifications.text=Notifications
action.SplitVertically.text=Split _Vertically
action.SplitVertically.description=Split editor area into 2 tab groups and move the current tab to the right group
action.SplitHorizontally.text=Split _Horizontally
Expand Down Expand Up @@ -1302,12 +1307,17 @@ action.Diff.AppendLeftSide.text=Append Left Side
action.Diff.AppendRightSide.text=Append Right Side
action.Diff.IgnoreLeftSide.text=Ignore Left Side
action.Diff.IgnoreRightSide.text=Ignore Right Side
action.Diff.ResolveConflict.text=Resolve Automatically
action.Diff.ApplyNonConflicts.text=Apply All Non-Conflicting Changes
action.Diff.ApplyNonConflicts.Left.text=Apply Non-Conflicting Changes from the Left Side
action.Diff.ApplyNonConflicts.Right.text=Apply Non-Conflicting Changes from the Right Side
action.Diff.ComparePartial.Base.Left.text=Compare Left and Middle Contents
action.Diff.ComparePartial.Base.Right.text=Compare Middle and Right Contents
action.Diff.ComparePartial.Left.Right.text=Compare Left and Right Contents
action.Diff.CompareWithBase.Left.text=Compare Base and Left Contents
action.Diff.CompareWithBase.Result.text=Compare Base and Middle Contents
action.Diff.CompareWithBase.Right.text=Compare Base and Right Contents
action.Diff.ComparePartial.Generic=Compare {0,choice,0#Left|1#Middle|2#Right} and {1,choice,0#Left|1#Middle|2#Right} Contents

action.FileChooser.ShowHiddens.text=Show Hidden Files and Directories
action.FileChooser.ShowHiddens.description=Show hidden files and directories
Expand All @@ -1322,7 +1332,7 @@ action.FileChooser.NewFile.description=Create new file
action.FileChooser.GotoHome.text=Home Directory
action.FileChooser.GotoHome.description=Go to home directory
action.FileChooser.GotoDesktop.text=Desktop Directory
action.FileChooser.GotoDesktop.description=Go to Desktop directory directory
action.FileChooser.GotoDesktop.description=Go to Desktop directory
action.FileChooser.GotoProject.text=Project Directory
action.FileChooser.GotoProject.description=Go to project directory
action.FileChooser.GotoModule.text=Module Directory
Expand Down Expand Up @@ -1554,4 +1564,18 @@ action.StructuralSearchPlugin.StructuralReplaceAction.text=Repla_ce Structurally
action.StructuralSearchPlugin.StructuralReplaceAction.description=Structural Replace

action.ModuleSettings.navigate=Open Module Settings
action.LibrarySettings.navigate=Open Library Settings
action.LibrarySettings.navigate=Open Library Settings

group.TabsPlacementGroup.text=Tabs Placement
action.TabsPlacementTop.text=Top
action.TabsPlacementLeft.text=Left
action.TabsPlacementRight.text=Right
action.TabsPlacementBottom.text=Bottom
action.TabsPlacementNone.text=None

action.ToggleDistractionFreeMode.enter=Enter Distraction Free Mode
action.ToggleDistractionFreeMode.exit=Exit Distraction Free Mode
action.TogglePresentationMode.exit=Exit Presentation Mode
action.TogglePresentationMode.enter=Enter Presentation Mode

action.EmojiAndSymbols.description=Input special characters using macOS system palette
Loading

0 comments on commit 00e75fe

Please sign in to comment.