I'm Zhihao Zhang, a Lead Consultant/Data Engineer @ThoughtWorksInc.
- 📫 Reach me: [email protected]
- 🎤 I speak: Scala, Kotlin, Java, TypeScript, Python
- 💗 I love: Functional Programming
🌈Rainbow Brackets for IntelliJ based IDEs/Android Studio/HUAWEI DevEco Studio/Fleet
Home Page: https://plugins.jetbrains.com/plugin/10080-rainbow-brackets
License: GNU General Public License v3.0
I'm Zhihao Zhang, a Lead Consultant/Data Engineer @ThoughtWorksInc.
Check out Viasfora Visual Studio extension as an example:
https://www.youtube.com/watch?v=PlF1COGVwmw
java.lang.RuntimeException: auto generated feedback
at com.github.izhangzhihao.rainbow.brackets.action.AbstractScopeHighlightingAction.update(AbstractScopeHighlightingAction.kt:29)
at com.intellij.openapi.actionSystem.AnAction.beforeActionPerformedUpdate(AnAction.java:240)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareUpdate(ActionUtil.java:129)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:599)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.d(IdeKeyEventDispatcher.java:479)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:213)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:621)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:365)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
You should Star
this repo before you create a issue, thanks for your support 😁
Done!
The plugin could keep count of the block-level and use the same color for each level. In the example the yellow block-level started with (
and was closed with )
so the next set of braces are at the same block-level, thus can reuse the yellow color.
Or perhaps it's easier to just hardcode this rule for these type of statements.
if (foo === "bar") {
// curly braces get the same color as the parentheses
}
I use Ctrl
in IntelliJ all the time for quite a few operations. Having the scope flash different colours is very off putting when coding. It would be nice if we could remap the Key to something else. If you can get your plugin to register a Keymap in standard IntelliJ then we could change it to whatever suites the programmer.
For now, I am going to disable this feature.
Thank you for the awesome project. Very helpful when coding Flutter/Dart.
5.7.1
Build #IU-181.4892.42, built on May 8, 2018
JRE: 1.8.0_152-release-1136-b38 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
Please provide code snippet
var a = ''+''+''+""+""+'<li></li>';
a = ''+''+''+""+"()"+'<li></li>';
a = ''+''+'('+""+""+'<li></li>';
a = ''+"<li></li>";
PhpStorm 2017.3.6
Build #PS-173.4674.46, built on March 16, 2018
JRE: 1.8.0_152-release-1024-b15 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
Consider JS code
`open (${f})`
CB: Last round bracket is colored blue with rainbow-brackets
EB: Last round bracket should be green the same as the first one and should not be colorized with rainbow-brackets
at all because it's a plane text
BTW:
`open (${f} )`
Is working fine. So the issue is about wrong space-based recognition of scopes
Hello! Few times I receive this issue in PhpStorm.
Wrong end: 5176; document length=5162; start=692
java.lang.IllegalArgumentException: Wrong end: 5176; document length=5162; start=692
at com.intellij.openapi.editor.impl.RangeMarkerImpl.<init>(RangeMarkerImpl.java:49)
at com.intellij.openapi.editor.impl.RangeMarkerImpl.<init>(RangeMarkerImpl.java:42)
at com.intellij.openapi.editor.impl.RangeHighlighterImpl.<init>(RangeHighlighterImpl.java:68)
at com.intellij.openapi.editor.impl.MarkupModelImpl.addRangeHighlighterAndChangeAttributes(MarkupModelImpl.java:115)
at com.intellij.openapi.editor.impl.MarkupModelImpl.addRangeHighlighter(MarkupModelImpl.java:166)
at com.intellij.codeInsight.highlighting.HighlightManagerImpl.a(HighlightManagerImpl.java:97)
at com.intellij.codeInsight.highlighting.HighlightManagerImpl.addOccurrenceHighlight(HighlightManagerImpl.java:170)
at com.intellij.codeInsight.highlighting.HighlightManagerImpl.addRangeHighlight(HighlightManagerImpl.java:208)
at com.github.izhangzhihao.rainbow.brackets.CtrlHandler.addHighlightAt(CtrlHandler.kt:73)
at com.github.izhangzhihao.rainbow.brackets.CtrlHandler.onKeyPressed(CtrlHandler.kt:50)
at com.github.izhangzhihao.rainbow.brackets.EditorEventActionManager$EventListener.keyPressed(EditorEventActionManager.kt:70)
at java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:250)
at java.awt.Component.processKeyEvent(Component.java:6506)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2833)
at java.awt.Component.processEvent(Component.java:6325)
at java.awt.Container.processEvent(Container.java:2237)
at java.awt.Component.dispatchEventImpl(Component.java:4903)
at java.awt.Container.dispatchEventImpl(Container.java:2295)
at java.awt.Component.dispatchEvent(Component.java:4725)
at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1954)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:806)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1074)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:945)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:771)
at com.intellij.ide.IdeKeyboardFocusManager.dispatchEvent(IdeKeyboardFocusManager.java:27)
at java.awt.Component.dispatchEventImpl(Component.java:4774)
at java.awt.Container.dispatchEventImpl(Container.java:2295)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4725)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:764)
at java.awt.EventQueue.access$500(EventQueue.java:98)
at java.awt.EventQueue$3.run(EventQueue.java:715)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
at java.awt.EventQueue$4.run(EventQueue.java:737)
at java.awt.EventQueue$4.run(EventQueue.java:735)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:734)
at com.intellij.ide.IdeEventQueue.p(IdeEventQueue.java:779)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:698)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:395)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Your issue may already be reported!
Please search on the issue track before creating one.
def foo
if 1 == 1
puts 'true'
elsif 1 != 1
puts 'false'
else
puts 'false'
end
end
JavaScript
Options should not get dropped after update
After update from v5.0 to v5.1, all options checkpoints become checked
I think I was having "Do NOT rainbowify brackets without content" unchecked
WebStorm 2018.1.2
Build #WS-181.4668.60, built on April 23, 2018
Licensed to Oleksii Bobyr
Subscription is active until November 2, 2018
JRE: 1.8.0_152-release-991-b1 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
I'm only 90% sure that I was having some options unchecked but I don't know how to reproduce the issue. I'm going to be specifically attentive to 5.2 updates and write here if it would get confirmed
When you have a lot of colors in the editor, the brackets are still hard to match. A good solution should be to gray out all the text other than the brackets on a key press (or when you have mismatched parentheses which is primary when it's needed).
When restarting PHPStorm while having a smarty template file open (not sure if other unsupported languages act the same, couldn't test it yet), after the restart the colouring of squiggly and normal brackets got lost. When i restarted while having another file open, everything worked fine.
this was my code i tested this with
<div class="lp-dialog">
{if $hasTags}
{/if}
</div>
When i first created this file, the curly braces got coloured in correctly as well as the html tags, but after restarting, the curly braces lost their colouring, and not even a restart of phpstorm changed that. But, when i closed the file or opened a tab with another file (not another smarty template, bug consists then) before restarting, they got coloured in correctly again.
Ps. The brackets on the closing 'if' are slightly bugged. Depending on if there's a space between the slash and the bracket, only the left or right one gets coloured, never both. But that's probably a different issue.
It would be really nice to have JSX syntax supported, are there any plans to implement it?
Python, JS
PyCharm 2017.3.3 (Professional Edition)
Build #PY-173.4301.16, built on January 11, 2018
Licensed to --------------------------------
Subscription is active until April 19, 2018
JRE: 1.8.0_152-release-1024-b11 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.13.3
Pycharm just takes seconds, sometimes dozens of seconds, to update.
I use eslint for auto-linting, maybe it conflicts with this plugin.
Please add support for : & endif;
I love the color matching!
may be add option to enable it
PHP Laravel Blade
Color of curly braces is not matching correctly. Seems to consider the $ as the first curly brace.
The $ should not change colors. First inner curly brace should.
<small>Written on {{$post->created_at}}</small>
Plugin version:
5.5
IDE & Operating System version, comment your env as below(go to "About IntelliJ IDEA" -> click the "copy" icon):
IntelliJ IDEA 2018.1.3 (Ultimate Edition)
Build #IU-181.4892.42, built on May 8, 2018
Licensed to Dave Williams
Subscription is active until March 9, 2019
JRE: 1.8.0_152-release-1136-b38 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
Ruby
RubyMine 2018.1.1
Build #RM-181.4445.97, built on April 11, 2018
Licensed to Shunwen Hsiao
Subscription is active until February 4, 2019
JRE: 1.8.0_152-release-1136-b27 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.13.4
There should be someplace to see the version of the installed plugin. At least to fill the form below :) I think that Settings page is a good place for that
java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key version
at java.util.ResourceBundle.getObject(ResourceBundle.java:450)
at java.util.ResourceBundle.getString(ResourceBundle.java:407)
at com.github.izhangzhihao.rainbow.brackets.settings.form.RainbowSettingsForm.$$$setupUI$$$(RainbowSettingsForm.kt)
at com.github.izhangzhihao.rainbow.brackets.settings.form.RainbowSettingsForm.<init>(RainbowSettingsForm.kt:16)
at com.github.izhangzhihao.rainbow.brackets.settings.RainbowConfigurable.createComponent(RainbowConfigurable.kt:13)
at com.intellij.openapi.options.ex.ConfigurableWrapper.createComponent(ConfigurableWrapper.java:163)
at com.intellij.openapi.options.ex.ConfigurableCardPanel.lambda$createConfigurableComponent$0(ConfigurableCardPanel.java:73)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:927)
at com.intellij.openapi.application.ReadAction.compute(ReadAction.java:47)
at com.intellij.openapi.options.ex.ConfigurableCardPanel.createConfigurableComponent(ConfigurableCardPanel.java:69)
at com.intellij.openapi.options.ex.ConfigurableCardPanel.create(ConfigurableCardPanel.java:55)
at com.intellij.openapi.options.newEditor.ConfigurableEditor$1.create(ConfigurableEditor.java:73)
at com.intellij.openapi.options.newEditor.ConfigurableEditor$1.create(ConfigurableEditor.java:70)
at com.intellij.ui.CardLayoutPanel.createValue(CardLayoutPanel.java:88)
at com.intellij.ui.CardLayoutPanel.select(CardLayoutPanel.java:116)
at com.intellij.ui.CardLayoutPanel.lambda$null$0(CardLayoutPanel.java:132)
at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:315)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.doRun(LaterInvocator.java:447)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.runNextEvent(LaterInvocator.java:431)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:415)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:762)
at java.awt.EventQueue.access$500(EventQueue.java:98)
at java.awt.EventQueue$3.run(EventQueue.java:715)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:732)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:779)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:720)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:395)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1077)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:694)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:426)
at com.intellij.openapi.ui.DialogWrapper.invokeShow(DialogWrapper.java:1688)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:1637)
at com.intellij.openapi.options.newEditor.SettingsDialog.lambda$show$0(SettingsDialog.java:69)
at com.intellij.openapi.application.TransactionGuardImpl.runSyncTransaction(TransactionGuardImpl.java:88)
at com.intellij.openapi.application.TransactionGuardImpl.submitTransactionAndWait(TransactionGuardImpl.java:153)
at com.intellij.openapi.options.newEditor.SettingsDialog.show(SettingsDialog.java:69)
at com.intellij.ide.actions.ShowSettingsUtilImpl.showSettingsDialog(ShowSettingsUtilImpl.java:154)
at com.intellij.ide.actions.GotoActionAction.lambda$openOptionOrPerformAction$4(GotoActionAction.java:293)
at com.intellij.openapi.application.TransactionGuardImpl.runSyncTransaction(TransactionGuardImpl.java:88)
at com.intellij.openapi.application.TransactionGuardImpl.lambda$submitTransaction$1(TransactionGuardImpl.java:111)
at com.intellij.openapi.application.TransactionGuardImpl.submitTransaction(TransactionGuardImpl.java:120)
at com.intellij.openapi.application.TransactionGuardImpl.lambda$submitTransactionLater$4(TransactionGuardImpl.java:271)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.doRun(LaterInvocator.java:447)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.runNextEvent(LaterInvocator.java:431)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:415)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:762)
at java.awt.EventQueue.access$500(EventQueue.java:98)
at java.awt.EventQueue$3.run(EventQueue.java:715)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:732)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:779)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:720)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:395)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
as title
Whenever I see red brackets or parenthesis in my code, I feel that I might have made a mistake.
It really confuses me sometimes and make the code look ugly.
Please consider remove the red color from the rainbow.
It would be great to be able to disable the highlighting per feature or globally.
For instance, remove the highlighting in HTML only
Please add support for JSX (React) highlighting
Intro to React JSX
const element = ( <div> <h1>Hello, world!</h1> </div> );
Not obligatory, but suggest a fix/reason for the bug, or ideas how to implement the addition or change
Provide code snippet
This is not a duplicate of #18
I don't suggest that colors should be configurable.
I think the red color (and colors very similiar to red like dark pink, dark magenta etc.) should be excluded from all color palettes since red is reserved for errors and red bracket is actually perceived as error
The last single quote's color had been changed by this plugin in every pairs single quotes.
开了插件后,每对单引号中的最后一单引号颜色被修改了。好像就jQuery选择器会这样。
Not obligatory, but suggest a fix/reason for the bug, or ideas how to implement the addition or change
JavaScript
Same level square brackets on line 2 must have the same color
Same level square brackets on line 2 have different color
const a = [[0]]
const a[0][0]
WebStorm 2018.1
Build #WS-181.4203.535, built on March 22, 2018
Licensed to Oleksii Bobyr
Subscription is active until November 2, 2018
JRE: 1.8.0_152-release-991-b1 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
I've recently started to learn Clojure, and this is code from sample:
Looks like IDE overrides coloring of #{
it should be yellow. Maybe related to #19
Does not Work in HTML files (angular 2+ template)
Preview image should be representative
Preview image is a mess (see screens)
WebStorm 2018.1.2
Build #WS-181.4668.60, built on April 23, 2018
Licensed to Oleksii Bobyr
Subscription is active until November 2, 2018
JRE: 1.8.0_152-release-991-b1 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
PHP
No exceptions.
When holding down cmd to navigate to a definition, the IDE locks up for a second and once it comes back, there is an exception with the message: org/jetbrains/kotlin/psi/psiUtil/PsiUtilsKt
and stack trace:
org/jetbrains/kotlin/psi/psiUtil/PsiUtilsKt
java.lang.NoClassDefFoundError: org/jetbrains/kotlin/psi/psiUtil/PsiUtilsKt
at com.github.izhangzhihao.rainbow.brackets.RainbowInfo.containsOffset(RainbowInfo.kt:38)
at com.github.izhangzhihao.rainbow.brackets.CtrlHandler$Companion.getRainbowInfo(CtrlHandler.kt:118)
at com.github.izhangzhihao.rainbow.brackets.CtrlHandler$Companion.findRainbowInfoAt(CtrlHandler.kt:110)
at com.github.izhangzhihao.rainbow.brackets.CtrlHandler$Companion.access$findRainbowInfoAt(CtrlHandler.kt:97)
at com.github.izhangzhihao.rainbow.brackets.CtrlHandler.addHighlightAt(CtrlHandler.kt:65)
at com.github.izhangzhihao.rainbow.brackets.CtrlHandler.onKeyPressed(CtrlHandler.kt:50)
at com.github.izhangzhihao.rainbow.brackets.EditorEventActionManager$EventListener.keyPressed(EditorEventActionManager.kt:70)
at java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:250)
at java.awt.Component.processKeyEvent(Component.java:6506)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2833)
at java.awt.Component.processEvent(Component.java:6325)
at java.awt.Container.processEvent(Container.java:2237)
at java.awt.Component.dispatchEventImpl(Component.java:4903)
at java.awt.Container.dispatchEventImpl(Container.java:2295)
at java.awt.Component.dispatchEvent(Component.java:4725)
at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1954)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:806)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1074)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:945)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:771)
at com.intellij.ide.IdeKeyboardFocusManager.dispatchEvent(IdeKeyboardFocusManager.java:27)
at java.awt.Component.dispatchEventImpl(Component.java:4774)
at java.awt.Container.dispatchEventImpl(Container.java:2295)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4725)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:764)
at java.awt.EventQueue.access$500(EventQueue.java:98)
at java.awt.EventQueue$3.run(EventQueue.java:715)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
at java.awt.EventQueue$4.run(EventQueue.java:737)
at java.awt.EventQueue$4.run(EventQueue.java:735)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:734)
at com.intellij.ide.IdeEventQueue.p(IdeEventQueue.java:779)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:698)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:395)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.ClassNotFoundException: org.jetbrains.kotlin.psi.psiUtil.PsiUtilsKt PluginClassLoader[izhangzhihao.rainbow.brackets, 5.7] com.intellij.ide.plugins.cl.PluginClassLoader@36d96be
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:63)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 46 more
Please provide code snippet
/** @var Collection $roles */
$roles = $this->roles->all()->load('users')->reject(function (RoleInterface $role) {
return in_array($role->getRoleSlug(), [
'admin',
'client',
]);
});
PhpStorm 2018.1.3
Build #PS-181.4892.97, built on May 9, 2018
JRE: 1.8.0_152-release-1136-b38 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.13.4
NOTE: If you are reporting a performance issue, please comment your hardware env like this:
iMac (21.5-inch, Mid 2014)
CPU: 1.4 GHz Intel Core i5
Total Number of Cores: 4
Memory: 8 GB 1600 MHz DDR3
Storage: 256GB SATA SSD
Graphics: Intel HD Graphics 5000 1536 MB
Python/JSX
Indexation at plugin install time, then dynamic coloring when typing, and no "white flashes".
Every few seconds, most of the syntactic coloration disappears then comes back, even while idle. This is very distracting and kind of a deal breaker.
Performance itself is fine.
PyCharm 2018.1 (Professional Edition)
Build #PY-181.4203.547, built on March 26, 2018
Licensed to XXXXXX / Raphaël Gomès
Subscription is active until June 23, 2018
JRE: 1.8.0_152-release-1136-b20 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.8.0-53-generic
Great if the colour of each level can be customized.
Colorization level may looks like this:
do not colorize brackets without content
method()
method(param)
do not colorize brackets without another brackets inside
method(param)
method(array[3])
do not colorize brackets without another brackets of the same type inside
method(array[3])
method(new Entity())
And separately
always colorize multi-line brackets
(regardless of colorization level)['firstName', 'secondName', 'city, 'address']
[
'firstName', 'secondName',
'city', 'address'
]
not apply to {...}
- ex. if always colorize multi-line brackets
is on but colorization level is not forcing to colorizefunction f () {
return 1
}
than {...}
should not be colorized
Hello! Even after the application of the new "show bracket highlighting for unsupported languages" option, the rainbow bracket effects are not seen in .dart
files. WebStorm 2017.3 Build #WS-173.3727.108
Consider following kotlin code
someClosure {
internalClosure {
return@someClosure
}
}
@someClosure
is colored with blue by default. Would be very handy, if it were marked with the same color as someClosure
brackets
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.