Open danypd69 opened 5 years ago
So only with EAP, current release works? Please attach altn8.xml config -> for IDEA it is [user_home]/.IdeaIC2019.1/config/altn8.xml, but it must be something similar for phpstorm
There is no config file, all the options are the default.
ok, and only with EAP?
yes, the latest official release works well.
It works with the latest version of phpstorm released today.
The same problem with IDEA 2019.2 EAP
IntelliJ IDEA 2019.2 EAP (Ultimate Edition) Build #IU-192.5118.30, built on June 13, 2019 IntelliJ IDEA EAP User Expiration date: July 13, 2019 Runtime version: 11.0.3+12-b304.2 x86_64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o macOS 10.14.4 GC: G1 Young Generation, G1 Old Generation Memory: 2048M Cores: 8 Registry: editor.distraction.free.mode=true, java.completion.argument.hints.internal=false, ide.mac.allowDarkWindowDecorations=true, git.explicit.commit.renames.prohibit.multiple.calls=false, ide.tree.ui.experimental=false, ide.balloon.shadow.size=0
java.util.regex.PatternSyntaxException: Dangling meta character '*' near index 1200
^(?:([Tt]est_?)?(I(?=[A-Z]))?(Abstract(?=[A-Z]))?)?(\w+?)(?:(Impl)?([Tt]est)?(?:(?:_\w{2}(?:_\w{2})?))?(_[Tt]est\.(?:.*))?)?(?:\.(?:csv|npmignore|htaccess|opts|jam|jad|txt|policy|npmrc|cgi|sht|htm|html|shtm|shtml|ng|egg|jar|ear|ane|klib|swc|war|zip|ignore|diff|patch|rnc|bowerrc|jsb3|jsb2|json|tga|pbm|pam|jbig2|dcx|tiff|xbm|wbmp|ico|icns|bmp|ppm|pnm|png|gif|rgbe|jpg|jpeg|pgm|xpm|webp|bigtiff|tif|pcx|gitignore|smali|class|java|snippet|properties|jql|gradle|groovy|gant|gdsl|gy|markdown|md|sass|scss|snap|js\.flow|jshintrc|jscs\.json|jscsrc|js\.map|kts|kt|kjsm|kotlin_builtins|kotlin_metadata|kotlin_module|knm|def|aidl|rs|fs|rsh|9.png|psd|apk|otf|ttf|android_data_binding|trace|hprof|li|http|rest|log\..|t|csproj|csl|jshtm|jsonc|mdtxt|install|cginc|coffee|bash_profile|gvy|gemspec|markdn|aspx|pyw|jade|fsproj|cshtml|pyi|swcrc|cpt|rbx|rhistory|nuspec|isml|axml|fsscript|iced|edn|zprofile|desktop|xaml|vcxproj.filters|eslintrc|fxh|zlogin|fsi|cake|conf|rhtml|compute|brs|cmd|jav|pug|rjs|m|mkd|shader|vb|pssc|cpy|xoml|cxx|fsx|pubxml|hjs|clj|swift|psrc|lua|shproj|ps1|psh|mdwn|rpy|babelrc|cson|log|ksh|zshrc|xbl|snakefile|owl|hintrc|eyaml|rt|asp|targets|vbproj|bpmn|rb|volt|eyml|xpdl|less|zsh-theme|rej|*.log.?|menu|py|rake|mdown|pt|pod|opml|rdf|workbook|cfg|directory|dockerfile|p6|bash_logout|ascx|gypi|psm1|ru|dsql|csx|mm|vsh|mk|mxml|bashrc|hbs|pm6|ditamap|xib|storyboard|webmanifest|erb|mdoc|inl|clojure|ino|pl6|handlebars|vcxproj|wxs|wxl|wxi|css.map|phtml|php5|php4|tmx|pubxml.user|vbproj.user|bash_login|psgi|hlsl|vbs|php|hxx|xliff|jmx|profile|publishsettings|bash_aliases|hh|nqp|props|go|r|zshenv|dtml|dita|csproj.user|ipy|proj|ipp|ebuild|cljc|bat|bas|atom|rss|hlsli|pac|psd1|rprofile|ejs|zlogout|gyp|smk|launch|ctp|xlf|mdtext|cljx|js.map|cljs|yml|yaml|dart|dependency diagram|idl|fx|cc|hpp|cpp|h|c|cs|pm|pl|aj|erl|hs|ddl|cql|sql|css|cjs|js|tag|jsf|jsp|jspf|tagf|vsd|odt|hlp|docx|chm|ppt|mdb|xlsx|xls|pptx|pdf|doc|jhm|xul|rng|wsdl|fxml|xslt|jrxml|ant|xsl|xsd|tld|jnlp|xml|mod|dtd|ent|elt|xhtml|iws|ipr|iml|dic|svg|ts|ats|fish|zsh|bash|sh|ids|jsx|regexp|tsx|mf|mjs|es6|json5|dylib|dll|so|lib|a|cvp|as|js2|es))?$
^
at java.base/java.util.regex.Pattern.error(Pattern.java:2015)
at java.base/java.util.regex.Pattern.sequence(Pattern.java:2190)
at java.base/java.util.regex.Pattern.expr(Pattern.java:2056)
at java.base/java.util.regex.Pattern.group0(Pattern.java:2960)
at java.base/java.util.regex.Pattern.sequence(Pattern.java:2111)
at java.base/java.util.regex.Pattern.expr(Pattern.java:2056)
at java.base/java.util.regex.Pattern.group0(Pattern.java:2960)
at java.base/java.util.regex.Pattern.sequence(Pattern.java:2111)
at java.base/java.util.regex.Pattern.expr(Pattern.java:2056)
at java.base/java.util.regex.Pattern.compile(Pattern.java:1778)
at java.base/java.util.regex.Pattern.<init>(Pattern.java:1427)
at java.base/java.util.regex.Pattern.compile(Pattern.java:1068)
at altn8.filematcher.AlternateGenericRegexFileMatcher.<init>(AlternateGenericRegexFileMatcher.java:51)
at altn8.AlternateFileAction.getFileMatchers(AlternateFileAction.java:200)
at altn8.AlternateFileAction.findFiles(AlternateFileAction.java:100)
at altn8.AlternateFileAction.actionPerformed(AlternateFileAction.java:70)
at com.intellij.openapi.actionSystem.ex.ActionUtil$1.run(ActionUtil.java:263)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:280)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher$1.performAction(IdeKeyEventDispatcher.java:590)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.lambda$processAction$3(IdeKeyEventDispatcher.java:643)
at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:192)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:642)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processActionOrWaitSecondStroke(IdeKeyEventDispatcher.java:508)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.inInitState(IdeKeyEventDispatcher.java:463)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:212)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:705)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:396)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:707)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:395)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Broken again with PhpStorm 2019.2 EAP
Build #PS-192.5281.35, built on June 21, 2019 PhpStorm EAP User Expiration date: July 21, 2019 Runtime version: 11.0.3+12-b304.2 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Windows 10 10.0 GC: ParNew, ConcurrentMarkSweep Memory: 1933M Cores: 8 Registry: run.processes.with.pty=TRUE, debugger.watches.in.variables=false, debugger.valueTooltipAutoShowOnSelection=true, ide.tooltip.initialDelay=609 Non-Bundled Plugins: Alt n 8, CMD Support, Quick Notes, Realigner, String Manipulation, com.dubreuia, com.intellij.ideolog, com.potterhsu.jsonviewer, eu.osimowicz.plugins.intellij.CodeBlocksSorter, in.thekalinga.snippet.intellij, io.github.qeesung.component.HighlightBracketPair, net.seesharpsoft.intellij.plugins.csv, org.asciidoctor.intellij.asciidoc, org.sylfra.idea.plugins.linessorter
Workaround Settings -> Editor -> TextMate Bundles -> and disable build-in 'log' or disable whole TextMate bundles plugin
Great, it works. Thank you for the workaround
reported to jetbrains https://youtrack.jetbrains.com/issue/IDEA-218033
FYI: jetbrains fixed the textmate plugin, so disabling *.log not needed anymore. Regardless I will improve the plugin to be more safe against such configs
Hello, with the latest phpstorm eap I get this error when i hit alt + 8
java.util.regex.PatternSyntaxException: Dangling meta character '' near index 1548 ^(?:([Tt]est?)?(I(?=[A-Z]))?(Abstract(?=[A-Z]))?)?(\w+?)(?:(Impl)?([Tt]est)?(?:(?:\w{2}(?:_\w{2})?))?)?(?:.(?:ignore|egg|jar|ear|apk|swc|war|ane|zip|npmignore|htaccess|opts|jam|jad|txt|policy|npmrc|cgi|mf|woff|vsd|odt|hlp|docx|chm|ppt|mdb|xlsx|pptx|pdf|xls|doc|dylib|dll|so|lib|a|iws|iml|ipr|diff|patch|rnc|sht|htm|html|shtm|shtml|ng|xhtml|mod|dtd|ent|elt|jhm|rng|wsdl|fxml|xslt|jrxml|ant|xul|xsl|xsd|tld|jnlp|xml|tga|pbm|pam|jbig2|tiff|psd|xbm|wbmp|ico|icns|dcx|bmp|ppm|pnm|png|gif|rgbe|jpg|jpeg|pgm|xpm|bigtiff|tif|pcx|svg|regexp|dic|bowerrc|jsb3|jsb2|json|json5|bat|cmd|gitignore|uml|jql|aspx|asp|ascx|cfg|ini|css|feature|hgignore|csv|tab|tsv|psv|ad|adoc|asciidoc|ids|cql|ddl|sql|markdown|md|haml|less|pot|po|rst|sass|scss|snap|cjs|js|as|js2|es|ts|ats|tsx|mjs|es6|js.flow|jsx|jshintrc|jscs.json|jscsrc|js.map|mustache|hbs|handlebars|http|rest|module|hphp|phtml|php5|php4|php|ctp|inc|tpl|conf|phar.tar|phar.tar.gz|phar.tar.bz2|phar.zip|phar.gz|phar.bz2|phar|composerlog|blade.php|doctrineql|twig|cjsx|coffee|litcoffee|fish|zsh|sh|log..|t|csproj|cljc|csl|rpy|jshtm|jsonc|atom|cginc|zprofile|bash_profile|gvy|volt|fsproj|cshtml|vsh|swcrc|mdown|rbx|ps1|rhistory|nuspec|java|isml|axml|fsscript|rdf|edn|rs|desktop|xaml|hh|eslintrc|fxh|fsi|cake|rhtml|bashrc|owl|brs|jav|pug|rjs|gradle|mkd|shader|vb|vcxproj.filters|mdtext|groovy|pssc|bash|bas|clj|xoml|cxx|fsx|webmanifest|hjs|ksh|swift|psrc|log|shproj|psh|mdwn|babelrc|cson|markdn|zshrc|xbl|snakefile|compute|hintrc|eyaml|clojure|rt|pubxml|targets|hlsli|bpmn|rb|eyml|xpdl|zsh-theme|rej|.log.?|vbproj|menu|py|rake|cpt|pod|mdtxt|jade|opml|pt|workbook|directory|dockerfile|lua|vbs|gypi|psm1|ru|pyw|csx|mm|mk|mxml|pm6|ditamap|xib|storyboard|erb|mdoc|ino|pl6|cpy|vcxproj|wxs|wxl|wxi|css.map|tmx|pubxml.user|vbproj.user|p6|bash_login|smk|psgi|hlsl|bash_logout|dtml|properties|hxx|iced|xliff|jmx|profile|publishsettings|bash_aliases|pyi|props|go|r|zshenv|nqp|m|dita|csproj.user|ipy|fs|proj|ipp|ebuild|dsql|install|gemspec|rss|zlogin|pac|psd1|rprofile|ejs|zlogout|gyp|launch|xlf|inl|cljx|js.map|cljs|vue|yml|yaml|idl|fx|cc|hpp|cpp|h|c|cs|pm|pl|aj|erl|hs|tag|jsp|jsf|jspf|tagf))?$ ^ at java.base/java.util.regex.Pattern.error(Unknown Source) at java.base/java.util.regex.Pattern.sequence(Unknown Source) at java.base/java.util.regex.Pattern.expr(Unknown Source) at java.base/java.util.regex.Pattern.group0(Unknown Source) at java.base/java.util.regex.Pattern.sequence(Unknown Source) at java.base/java.util.regex.Pattern.expr(Unknown Source) at java.base/java.util.regex.Pattern.group0(Unknown Source) at java.base/java.util.regex.Pattern.sequence(Unknown Source) at java.base/java.util.regex.Pattern.expr(Unknown Source) at java.base/java.util.regex.Pattern.compile(Unknown Source) at java.base/java.util.regex.Pattern.(Unknown Source)
at java.base/java.util.regex.Pattern.compile(Unknown Source)
at altn8.filematcher.AlternateGenericRegexFileMatcher.(AlternateGenericRegexFileMatcher.java:51)
at altn8.AlternateFileAction.getFileMatchers(AlternateFileAction.java:200)
at altn8.AlternateFileAction.findFiles(AlternateFileAction.java:100)
at altn8.AlternateFileAction.actionPerformed(AlternateFileAction.java:70)
at com.intellij.openapi.actionSystem.ex.ActionUtil$1.run(ActionUtil.java:263)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:280)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher$1.performAction(IdeKeyEventDispatcher.java:613)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.lambda$processAction$3(IdeKeyEventDispatcher.java:666)
at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:192)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:665)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processActionOrWaitSecondStroke(IdeKeyEventDispatcher.java:508)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.inInitState(IdeKeyEventDispatcher.java:463)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:212)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:674)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:387)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)