Code Monkey home page Code Monkey logo

altn8's People

Contributors

minman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

jglanz

altn8's Issues

Unable to edit regular expressions in IntelliJ 2016.1

Recently I migrated from IntelliJ 15.0.4 to IntelliJ 2016.1. (Ultimate edition)
While the AltN8 plugin still works in the latest IntelliJ, I am not able to edit the regular expressions anymore.
In IJ 15, I could change them via Preferences > Other Settings > AltN8.
In IJ 2016.1, AltN8 disappeared from the Other Settings list.

Thanks for looking into it,
Regards,
Erwin

Unable to trigger altn8: NoClassDefFoundError

1. Open file
2. Click Alt+8 -or- select from right-click context menu
3. See error in log:

2:58:50 PM NoClassDefFoundError: Error during dispatching of 
java.awt.event.KeyEvent[KEY_PRESSED,keyCode=56,keyText=8,keyChar='8',modifiers=A
lt,extModifiers=Alt,keyLocation=KEY_LOCATION_STANDARD,rawCode=56,primaryLevelUni
code=56,scancode=9] on frame0: com/intellij/openapi/actionSystem/DataKeys

3:00:09 PM NoClassDefFoundError: Error during dispatching of 
java.awt.event.MouseEvent[MOUSE_RELEASED,(854,585),absolute(846,607),button=1,mo
difiers=Button1,clickCount=1] on frame0: 
com/intellij/openapi/actionSystem/DataKeys


Using Win7 64bit, phpStorm 4.0.1 PS-117.257

Original issue reported on code.google.com by [email protected] on 25 Apr 2012 at 12:02

Add ability to match folder patterns

Our PHP projects file-system is usually setup like this:

- classes/controller/[name].php
- classes/controller/api/[name].php
- classes/model/[name].php
- classes/view/[name]/*.php
- templates/[name]/*.mustache
- media/js/controllers/[name].js

There is no way to match the view classes and mustache templates, because 
[name] is a folder that has many templates with random names. Therefore, a way 
to match the folder names as well, would be terrific! :)

Original issue reported on code.google.com by [email protected] on 27 Apr 2012 at 2:34

compatibility with WebStorm

Should this plugin work with WebStorm? I installed with WebStorm 2017.1.2 and this exception throws upon triggering the plugin (i.e., after pressing Alt+8):

null
java.lang.NullPointerException
	at altn8.AlternateFileAction$2.processFile(AlternateFileAction.java:116)
	at com.intellij.openapi.vfs.VfsUtilCore$1.visitFileEx(VfsUtilCore.java:257)
	at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:272)
	at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:304)
	at com.intellij.openapi.vfs.VfsUtilCore.iterateChildrenRecursively(VfsUtilCore.java:252)
	at com.intellij.openapi.roots.impl.FileIndexBase.a(FileIndexBase.java:49)
	at com.intellij.openapi.roots.impl.FileIndexBase.iterateContentUnderDirectory(FileIndexBase.java:43)
	at com.intellij.openapi.roots.impl.ProjectFileIndexImpl.iterateContent(ProjectFileIndexImpl.java:55)
	at altn8.AlternateFileAction.findFiles(AlternateFileAction.java:104)
	at altn8.AlternateFileAction.actionPerformed(AlternateFileAction.java:70)
	at com.intellij.openapi.actionSystem.ex.ActionUtil$1.run(ActionUtil.java:215)
	at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:232)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher$1.performAction(IdeKeyEventDispatcher.java:570)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.a(IdeKeyEventDispatcher.java:619)
	at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:193)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:618)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.a(IdeKeyEventDispatcher.java:477)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:211)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:633)
	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)


java.lang.NullPointerException
	at altn8.AlternateFileAction$2.processFile(AlternateFileAction.java:116)
	at com.intellij.openapi.vfs.VfsUtilCore$1.visitFileEx(VfsUtilCore.java:257)
	at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:272)
	at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:304)
	at com.intellij.openapi.vfs.VfsUtilCore.iterateChildrenRecursively(VfsUtilCore.java:252)
	at com.intellij.openapi.roots.impl.FileIndexBase.a(FileIndexBase.java:49)
	at com.intellij.openapi.roots.impl.FileIndexBase.iterateContentUnderDirectory(FileIndexBase.java:43)
	at com.intellij.openapi.roots.impl.ProjectFileIndexImpl.iterateContent(ProjectFileIndexImpl.java:55)
	at altn8.AlternateFileAction.findFiles(AlternateFileAction.java:104)
	at altn8.AlternateFileAction.actionPerformed(AlternateFileAction.java:70)
	at com.intellij.openapi.actionSystem.ex.ActionUtil$1.run(ActionUtil.java:215)
	at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:232)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher$1.performAction(IdeKeyEventDispatcher.java:570)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.a(IdeKeyEventDispatcher.java:619)
	at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:193)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:618)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.a(IdeKeyEventDispatcher.java:477)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:211)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:633)
	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)

Enable case-insensitive searches

What steps will reproduce the problem?
1. Create a file called "drilldown.html"
2. Create a file called "DrillDown.js"
3. Open one of the and press Alt+8

What is the expected output? What do you see instead?
It should switch between them

What version of the product are you using? On what operating system?
2.0.0 on Windows with IDEA 13

Please provide any additional information below.
We have a webapp project and are using Knockout.js. The project contains html 
files, and for each html a VM.js file and a Bindings.js file so to follow the 
example above I have:
drilldown.html
DrillDownVm.js
DrillDownBindings.js

Original issue reported on code.google.com by [email protected] on 1 Jan 2014 at 7:23

Seems to did not work with a maven project structure

What steps will reproduce the problem?
1. Have a maven structure : src/main/java and src/test/java
2. Add additional ShortCut ALT+T (because of conflict with ALT+8)
3. Go to ClassA.java and press ALT+T


What is the expected output? What do you see instead?

Expected: Go to ClassATest.java
Instead: Nothing happend

What version of the product are you using? On what operating system?
0.2

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 27 Apr 2008 at 7:57

Create file when it doesn't exist

What steps will reproduce the problem?

1. Press Alt + 8 when the alternate file doesn't exist

What is the expected output? What do you see instead?

Ideally it should prompt me (or have a configuration option) to allow me to
create the file. It currently just says to check my settings for Altn8.

What version of the product are you using? On what operating system?

v0.2.1 on Windows XP, IntelliJ 6.x

Original issue reported on code.google.com by [email protected] on 24 Jun 2007 at 9:03

IllegalStateException when trying to open AltN8 settings

When trying to open AltN8 settings, I get the following error:

cannot reset configurable: @NotNull method altn8/ui/AlternateGenericRegexPanel$AlternateGenericPrefixRegexItemDataPanel.getConfigurationItem must not return null
java.lang.IllegalStateException: @NotNull method altn8/ui/AlternateGenericRegexPanel$AlternateGenericPrefixRegexItemDataPanel.getConfigurationItem must not return null
	at altn8.ui.AlternateGenericRegexPanel$AlternateGenericPrefixRegexItemDataPanel.getConfigurationItem(AlternateGenericRegexPanel.java:180)
	at altn8.ui.AbstractDataPanel.pullDataFrom(AbstractDataPanel.java:76)
	at altn8.ui.AlternateGenericRegexPanel.pullDataFrom(AlternateGenericRegexPanel.java:54)
	at altn8.ui.AlternateConfigurationPanel.pullDataFrom(AlternateConfigurationPanel.java:73)
	at altn8.AlternateApplicationConfigurable.reset(AlternateApplicationConfigurable.java:56)
	at com.intellij.openapi.options.ex.ConfigurableCardPanel.reset(ConfigurableCardPanel.java:123)
	at com.intellij.openapi.options.ex.ConfigurableCardPanel$1.compute(ConfigurableCardPanel.java:80)
	at com.intellij.openapi.options.ex.ConfigurableCardPanel$1.compute(ConfigurableCardPanel.java:65)
	at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:895)
	at com.intellij.openapi.options.ex.ConfigurableCardPanel.create(ConfigurableCardPanel.java:65)
	at com.intellij.openapi.options.newEditor.ConfigurableEditor$1.create(ConfigurableEditor.java:70)
	at com.intellij.openapi.options.newEditor.ConfigurableEditor$1.create(ConfigurableEditor.java:67)
	at com.intellij.ui.CardLayoutPanel.a(CardLayoutPanel.java:88)
	at com.intellij.ui.CardLayoutPanel.a(CardLayoutPanel.java:116)
	at com.intellij.ui.CardLayoutPanel.b(CardLayoutPanel.java:132)
	at com.intellij.openapi.application.TransactionGuardImpl$6.run(TransactionGuardImpl.java:318)
	at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.a(LaterInvocator.java:417)
	at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:401)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
	at com.intellij.ide.IdeEventQueue.g(IdeEventQueue.java:843)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:679)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:391)
	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:184)
	at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:229)
	at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:227)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:227)
	at java.awt.Dialog.show(Dialog.java:1084)
	at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:779)
	at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:457)
	at com.intellij.openapi.ui.DialogWrapper.invokeShow(DialogWrapper.java:1693)
	at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:1635)
	at com.intellij.openapi.options.newEditor.SettingsDialog.b(SettingsDialog.java:80)
	at com.intellij.openapi.project.DumbPermissionServiceImpl.allowStartingDumbModeInside(DumbPermissionServiceImpl.java:37)
	at com.intellij.openapi.project.DumbService.allowStartingDumbModeInside(DumbService.java:294)
	at com.intellij.openapi.options.newEditor.SettingsDialog.a(SettingsDialog.java:79)
	at com.intellij.openapi.application.TransactionGuardImpl.a(TransactionGuardImpl.java:91)
	at com.intellij.openapi.application.TransactionGuardImpl.submitTransactionAndWait(TransactionGuardImpl.java:159)
	at com.intellij.openapi.options.newEditor.SettingsDialog.show(SettingsDialog.java:78)
	at com.intellij.ide.actions.ShowSettingsUtilImpl.showSettingsDialog(ShowSettingsUtilImpl.java:91)
	at com.intellij.ide.actions.ShowSettingsAction.perform(ShowSettingsAction.java:63)
	at com.intellij.ide.actions.ShowSettingsAction.actionPerformed(ShowSettingsAction.java:52)
	at com.intellij.openapi.actionSystem.ex.ActionUtil$1.run(ActionUtil.java:199)
	at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:215)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher$1.performAction(IdeKeyEventDispatcher.java:587)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.a(IdeKeyEventDispatcher.java:634)
	at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:204)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:633)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.f(IdeKeyEventDispatcher.java:477)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:211)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:657)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:391)
	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)

This is the content of altn8.xml:

<application>
  <component name="AlternateApplicationComponent">
    <option name="freeRegexActive" value="true" />
    <option name="freeRegexItems">
      <list>
        <AlternateFreeRegexItem>
          <option name="matchExpression" value="^(.*?)\.spec\.[jt]sx?$" />
          <option name="replaceExpression" value="$1.tsx" />
        </AlternateFreeRegexItem>
        <AlternateFreeRegexItem>
          <option name="matchExpression" value="^(.*?)\.spec\.[jt]sx?$" />
          <option name="replaceExpression" value="$1.ts" />
        </AlternateFreeRegexItem>
        <AlternateFreeRegexItem>
          <option name="matchExpression" value="^(.*?)\.spec\.[jt]sx?$" />
          <option name="replaceExpression" value="$1.js" />
        </AlternateFreeRegexItem>
        <AlternateFreeRegexItem>
          <option name="matchExpression" value="^(.*?)\.[jt]sx?$" />
          <option name="replaceExpression" value="$1.spec.tsx" />
        </AlternateFreeRegexItem>
        <AlternateFreeRegexItem>
          <option name="matchExpression" value="^(.*?)\.[jt]sx?$" />
          <option name="replaceExpression" value="$1.spec.ts" />
        </AlternateFreeRegexItem>
        <AlternateFreeRegexItem>
          <option name="matchExpression" value="^(.*?)\.[jt]sx?$" />
          <option name="replaceExpression" value="$1.spec.js" />
        </AlternateFreeRegexItem>
        <AlternateFreeRegexItem>
          <option name="matchExpression" value="^(.*?)\.[jt]sx?$" />
          <option name="replaceExpression" value="$1.less" />
        </AlternateFreeRegexItem>
        <AlternateFreeRegexItem>
          <option name="matchExpression" value="^(.*?)\.less$" />
          <option name="replaceExpression" value="$1.tsx" />
        </AlternateFreeRegexItem>
        <AlternateFreeRegexItem>
          <option name="matchExpression" value="^(.*?)\.less$" />
          <option name="replaceExpression" value="$1.ts" />
        </AlternateFreeRegexItem>
        <AlternateFreeRegexItem>
          <option name="matchExpression" value="^(.*?)\.less$" />
          <option name="replaceExpression" value="$1.js" />
        </AlternateFreeRegexItem>
      </list>
    </option>
    <option name="genericRegexActive" value="false" />
    <option name="genericPrefixRegexItems" />
    <option name="genericPostfixRegexItems" />
  </component>
</application>

Incompatibility with "JavaScript and TypeScript" plugin

I have the following "Free RegEx" definitions configured:
^(.+)\.ts$ >> $1.js
^(.+)\.js$ >> $1.ts

  • Alt+8 from the .ts file results in the popup: "No corresponding file(s) found"

  • Alt+8 from the .js file results in the exception below.

  • I have isolated the problem to the "JavaScript and TypeScript" plugin by disabling other plugins.

  • After disabling the plugin everything works as expected

Env:

WebStorm 2019.3   (also failed in WebStorm 2019.2)
Build #WS-193.5233.80, built on November 25, 2019
Runtime version: 11.0.4+10-b520.11 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 7 6.1
GC: ParNew, ConcurrentMarkSweep
Memory: 1979M
Cores: 8
Registry: ide.max.recent.projects=500, search.everywhere.symbols=false, search.everywhere.files=false, search.everywhere.settings=true, debugger.watches.in.variables=false
Non-Bundled Plugins: Alt n 8

Config:

<application>
  <component name="AlternateApplicationComponent">
    <option name="freeRegexActive" value="true" />
    <option name="freeRegexItems">
      <list>
        <AlternateFreeRegexItem>
          <option name="matchExpression" value="^(.+)\.ts$" />
          <option name="replaceExpression" value="$1.js" />
        </AlternateFreeRegexItem>
        <AlternateFreeRegexItem>
          <option name="matchExpression" value="^(.+)\.js$" />
          <option name="replaceExpression" value="$1.ts" />
        </AlternateFreeRegexItem>
      </list>
    </option>
    <option name="genericRegexActive" value="false" />
  </component>
</application>

Exception:

java.lang.NullPointerException
	at altn8.AlternateFileAction$2.processFile(AlternateFileAction.java:116)
	at com.intellij.openapi.roots.impl.FileIndexBase$1.visitFileEx(FileIndexBase.java:63)
	at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:292)
	at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:324)
	at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:324)
	at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:324)
	at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:324)
	at com.intellij.openapi.vfs.VfsUtilCore.visitChildrenRecursively(VfsUtilCore.java:324)
	at com.intellij.openapi.roots.impl.FileIndexBase.iterateContentUnderDirectory(FileIndexBase.java:44)
	at com.intellij.openapi.roots.impl.ProjectFileIndexImpl.iterateContentUnderDirectory(ProjectFileIndexImpl.java:24)
	at com.intellij.openapi.roots.impl.ProjectFileIndexImpl.iterateContent(ProjectFileIndexImpl.java:49)
	at com.intellij.openapi.roots.impl.FileIndexBase.iterateContent(FileIndexBase.java:37)
	at com.intellij.openapi.roots.impl.ProjectFileIndexImpl.iterateContent(ProjectFileIndexImpl.java:24)
	at altn8.AlternateFileAction.findFiles(AlternateFileAction.java:104)
	at altn8.AlternateFileAction.actionPerformed(AlternateFileAction.java:70)
	at com.intellij.openapi.actionSystem.ex.ActionUtil$1.run(ActionUtil.java:266)
	at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:283)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher$1.performAction(IdeKeyEventDispatcher.java:602)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.lambda$processAction$3(IdeKeyEventDispatcher.java:655)
	at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:193)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:654)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processActionOrWaitSecondStroke(IdeKeyEventDispatcher.java:517)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.inInitState(IdeKeyEventDispatcher.java:472)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:221)
	at com.intellij.ide.IdeEventQueue.dispatchKeyEvent(IdeEventQueue.java:828)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:773)
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:422)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:698)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:421)
	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)

Exception with latest eap (Build 192.4xxx)

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)

Documentation for Generic RegEx ?

I was able to get AltN8 working with 'Free RegEx' expressions.  But I couldn't 
find any documentation on 'Generic RegEx'. Not sure what benefit Generic RegEx 
provides or how they are intended to be used.  

Is there any docco on Generic Regex?

Original issue reported on code.google.com by [email protected] on 20 Oct 2012 at 6:33

Configuration Window difficult to use.

What steps will reproduce the problem?
1. Open Configuration Window
2. Add New Item
3. Add another Item

What is the expected output? What do you see instead?
Should add new item to list. But instead leaves you updating the previous row.

What version of the product are you using? On what operating system?
v0.2.0

Please provide any additional information below.
Can click below the items (on the JScrollPane) to reset the selection to
allow adding a new row.

Original issue reported on code.google.com by [email protected] on 9 Jun 2007 at 3:37

IllegalArgumentException when no editor is open

What steps will reproduce the problem?
1. Close all tabs with files
2. Press alt+8


What is the expected output? What do you see instead?
Expected: ---
Actual result: IllegalArgumentException: Error during dispatching of 
java.awt.event.KeyEvent[KEY_PRESSED,keyCode=56,keyText=8,keyChar='8',modifiers=A
lt,extModifiers=Alt,keyLocation=KEY_LOCATION_STANDARD,rawCode=56,primaryLevelUni
code=56,scancode=9] on frame0: Argument 0 for @NotNull parameter of 
com/intellij/codeInsight/hint/HintManagerImpl.showInformationHint must not be 
null

What version of the product are you using? On what operating system?
Intellij Idea 111.277. Win XP SP3

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 22 May 2012 at 1:24

Default key binding doesn't work on Mac OS X

What steps will reproduce the problem?
1. Install AltN8.
2. Type ⌥8 (Alt+8) anywhere in the editor.

What is the expected output? What do you see instead?
The "Alternate File" action will not be fired. If your cursor is in a text 
area, a character will be inserted instead ("•" for me on a US keyboard).

What version of the product are you using? On what operating system?
AltN8 2.1.0
PhpStorm 7.1.3 (Build 133.982)
Mac OS X 10.9.2

Please provide any additional information below.
One workaround is to simply assign a new key binding for the Alternate File 
action in PhpStorm Settings > Keymap > Plugins > AltN8. I'm using ⌘⌥8 
(Cmd+Alt+8) myself.

I realize that it defeats the name of the plugin, but it'd be nice to have a 
different default key binding for Macs. Perhaps a platform-specific default can 
be set here: 
https://code.google.com/p/altn8/source/browse/META-INF/plugin.xml#31.

Original issue reported on code.google.com by [email protected] on 3 Apr 2014 at 3:16

Add ability to match plural names

Please consider adding ability to toggle "Match plural" feature, which could 
match "Companies" if your filename is "Company".

Here's a great list of unaccountable and irregular words:
https://github.com/kohana/core/blob/3.3/develop/config/inflector.php

Original issue reported on code.google.com by [email protected] on 27 Apr 2012 at 2:38

If (at least) one corresponding file is found in the same module, then only files from module are showed

If (at least) one corresponding file is found in the same module, then only 
files from module are showed. If not, all files from whole project showed.

For example, if I am on "JSONWebServiceActionsManager" AltN8 automatically 
opens JSONWebServiceActionsManagerUtil and vice versa.
But when I am on "JSONWebServiceActionsManagerImpl" it opens a popup how I've 
expected. And I have just a Postfix added named "Util".


"...Impl" class is in another module than the other two files.

Original issue reported on code.google.com by igor.spasic on 30 Mar 2012 at 7:27

Php templating requires current method in regex

To switch to the template of a typical php action, the name of current method 
is required.

For example when I'm editing `edit` action in `pages` controller, I need to 
switch to `view/pages/edit.phtml` - not possible currently.

Original issue reported on code.google.com by Raveren on 1 Feb 2013 at 8:02

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.