{"action":"created","issue":{"url":"https://api.github.com/repos/kingsleyh/DLanguage/issues/49","repository_url":"https://api.github.com/repos/kingsleyh/DLanguage","labels_url":"https://api.github.com/repos/kingsleyh/DLanguage/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/kingsleyh/DLanguage/issues/49/comments","events_url":"https://api.github.com/repos/kingsleyh/DLanguage/issues/49/events","html_url":"https://github.com/kingsleyh/DLanguage/issues/49","id":124118656,"number":49,"title":"refactor - renaming support","user":{"login":"kingsleyh","id":103770,"avatar_url":"https://avatars.githubusercontent.com/u/103770?v=3","gravatar_id":"","url":"https://api.github.com/users/kingsleyh","html_url":"https://github.com/kingsleyh","followers_url":"https://api.github.com/users/kingsleyh/followers","following_url":"https://api.github.com/users/kingsleyh/following{/other_user}","gists_url":"https://api.github.com/users/kingsleyh/gists{/gist_id}","starred_url":"https://api.github.com/users/kingsleyh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kingsleyh/subscriptions","organizations_url":"https://api.github.com/users/kingsleyh/orgs","repos_url":"https://api.github.com/users/kingsleyh/repos","events_url":"https://api.github.com/users/kingsleyh/events{/privacy}","received_events_url":"https://api.github.com/users/kingsleyh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-28T20:18:50Z","updated_at":"2016-05-07T10:17:59Z","closed_at":null,"body":"implement refactor renaming support"},"comment":{"url":"https://api.github.com/repos/kingsleyh/DLanguage/issues/comments/217627128","html_url":"https://github.com/kingsleyh/DLanguage/issues/49#issuecomment-217627128","issue_url":"https://api.github.com/repos/kingsleyh/DLanguage/issues/49","id":217627128,"user":{"login":"kenpusney","id":1501332,"avatar_url":"https://avatars.githubusercontent.com/u/1501332?v=3","gravatar_id":"","url":"https://api.github.com/users/kenpusney","html_url":"https://github.com/kenpusney","followers_url":"https://api.github.com/users/kenpusney/followers","following_url":"https://api.github.com/users/kenpusney/following{/other_user}","gists_url":"https://api.github.com/users/kenpusney/gists{/gist_id}","starred_url":"https://api.github.com/users/kenpusney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenpusney/subscriptions","organizations_url":"https://api.github.com/users/kenpusney/orgs","repos_url":"https://api.github.com/users/kenpusney/repos","events_url":"https://api.github.com/users/kenpusney/events{/privacy}","received_events_url":"https://api.github.com/users/kenpusney/received_events","type":"User","site_admin":false},"created_at":"2016-05-07T10:17:59Z","updated_at":"2016-05-07T10:17:59Z","body":"This feature still not finished?\r\nError throws when using `Shift+F6` perform renaming refactor\r\n```\r\nCannot find manipulator for IDENTIFIER in net.masterthought.dlanguage.psi.references.DReference@27b22e00 class class net.masterthought.dlanguage.psi.references.DReference\r\njava.lang.Throwable\r\n\tat com.intellij.openapi.diagnostic.Logger.error(Logger.java:127)\r\n\tat com.intellij.psi.PsiReferenceBase.getManipulator(PsiReferenceBase.java:142)\r\n\tat com.intellij.psi.PsiReferenceBase.handleElementRename(PsiReferenceBase.java:118)\r\n\tat net.masterthought.dlanguage.psi.references.DReference.handleElementRename(DReference.java:124)\r\n\tat com.intellij.refactoring.rename.RenameUtil.rename(RenameUtil.java:269)\r\n\tat com.intellij.refactoring.rename.RenameUtil.doRenameGenericNamedElement(RenameUtil.java:226)\r\n\tat com.intellij.refactoring.rename.RenamePsiElementProcessor.renameElement(RenamePsiElementProcessor.java:60)\r\n\tat com.intellij.refactoring.rename.RenameUtil.doRename(RenameUtil.java:187)\r\n\tat com.intellij.refactoring.rename.RenameProcessor.performRefactoring(RenameProcessor.java:413)\r\n\tat com.intellij.refactoring.BaseRefactoringProcessor$7.run(BaseRefactoringProcessor.java:470)\r\n\tat com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:1009)\r\n\tat com.intellij.refactoring.BaseRefactoringProcessor.a(BaseRefactoringProcessor.java:452)\r\n\tat com.intellij.refactoring.BaseRefactoringProcessor.access$100(BaseRefactoringProcessor.java:75)\r\n\tat com.intellij.refactoring.BaseRefactoringProcessor$3.run(BaseRefactoringProcessor.java:292)\r\n\tat com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:124)\r\n\tat com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:99)\r\n\tat com.intellij.refactoring.BaseRefactoringProcessor.execute(BaseRefactoringProcessor.java:288)\r\n\tat com.intellij.refactoring.BaseRefactoringProcessor.doRun(BaseRefactoringProcessor.java:225)\r\n\tat com.intellij.refactoring.rename.RenameProcessor.doRun(RenameProcessor.java:128)\r\n\tat com.intellij.refactoring.BaseRefactoringProcessor.run(BaseRefactoringProcessor.java:555)\r\n\tat com.intellij.refactoring.ui.RefactoringDialog.invokeRefactoring(RefactoringDialog.java:189)\r\n\tat com.intellij.refactoring.rename.RenameDialog.performRename(RenameDialog.java:326)\r\n\tat com.intellij.refactoring.rename.RenameDialog.doAction(RenameDialog.java:304)\r\n\tat com.intellij.refactoring.ui.RefactoringDialog.doRefactorAction(RefactoringDialog.java:89)\r\n\tat com.intellij.refactoring.ui.RefactoringDialog$RefactorAction.actionPerformed(RefactoringDialog.java:161)\r\n\tat javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)\r\n\tat javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)\r\n\tat javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)\r\n\tat javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)\r\n\tat javax.swing.AbstractButton.doClick(AbstractButton.java:376)\r\n\tat javax.swing.plaf.basic.BasicRootPaneUI$Actions.actionPerformed(BasicRootPaneUI.java:208)\r\n\tat javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1663)\r\n\tat javax.swing.JComponent.processKeyBinding(JComponent.java:2882)\r\n\tat javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:307)\r\n\tat javax.swing.KeyboardManager.fireKeyboardAction(KeyboardManager.java:250)\r\n\tat javax.swing.JComponent.processKeyBindingsForAllComponents(JComponent.java:2974)\r\n\tat javax.swing.JComponent.processKeyBindings(JComponent.java:2966)\r\n\tat javax.swing.JComponent.processKeyEvent(JComponent.java:2845)\r\n\tat java.awt.Component.processEvent(Component.java:6312)\r\n\tat java.awt.Container.processEvent(Container.java:2236)\r\n\tat java.awt.Component.dispatchEventImpl(Component.java:4891)\r\n\tat java.awt.Container.dispatchEventImpl(Container.java:2294)\r\n\tat java.awt.Component.dispatchEvent(Component.java:4713)\r\n\tat java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1954)\r\n\tat java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:806)\r\n\tat java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1074)\r\n\tat java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:945)\r\n\tat java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:771)\r\n\tat java.awt.Component.dispatchEventImpl(Component.java:4762)\r\n\tat java.awt.Container.dispatchEventImpl(Container.java:2294)\r\n\tat java.awt.Window.dispatchEventImpl(Window.java:2750)\r\n\tat java.awt.Component.dispatchEvent(Component.java:4713)\r\n\tat java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)\r\n\tat java.awt.EventQueue.access$500(EventQueue.java:97)\r\n\tat java.awt.EventQueue$3.run(EventQueue.java:709)\r\n\tat java.awt.EventQueue$3.run(EventQueue.java:703)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)\r\n\tat java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)\r\n\tat java.awt.EventQueue$4.run(EventQueue.java:731)\r\n\tat java.awt.EventQueue$4.run(EventQueue.java:729)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)\r\n\tat java.awt.EventQueue.dispatchEvent(EventQueue.java:728)\r\n\tat com.intellij.ide.IdeEventQueue.h(IdeEventQueue.java:857)\r\n\tat com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:632)\r\n\tat com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:386)\r\n\tat java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)\r\n\tat java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)\r\n\tat java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)\r\n\tat java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184)\r\n\tat java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:229)\r\n\tat java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:227)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:227)\r\n\tat java.awt.Dialog.show(Dialog.java:1084)\r\n\tat com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:792)\r\n\tat com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:465)\r\n\tat com.intellij.openapi.ui.DialogWrapper.invokeShow(DialogWrapper.java:1661)\r\n\tat com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:1610)\r\n\tat com.intellij.refactoring.ui.RefactoringDialog.access$101(RefactoringDialog.java:38)\r\n\tat com.intellij.refactoring.ui.RefactoringDialog$2.run(RefactoringDialog.java:197)\r\n\tat com.intellij.openapi.project.DumbPermissionServiceImpl.allowStartingDumbModeInside(DumbPermissionServiceImpl.java:37)\r\n\tat com.intellij.openapi.project.DumbService.allowStartingDumbModeInside(DumbService.java:283)\r\n\tat com.intellij.refactoring.ui.RefactoringDialog.show(RefactoringDialog.java:194)\r\n\tat com.intellij.refactoring.rename.PsiElementRenameHandler.rename(PsiElementRenameHandler.java:198)\r\n\tat com.intellij.refactoring.rename.PsiElementRenameHandler.rename(PsiElementRenameHandler.java:169)\r\n\tat com.intellij.refactoring.rename.PsiElementRenameHandler.invoke(PsiElementRenameHandler.java:119)\r\n\tat com.intellij.refactoring.rename.PsiElementRenameHandler.invoke(PsiElementRenameHandler.java:79)\r\n\tat com.intellij.refactoring.actions.BaseRefactoringAction.actionPerformed(BaseRefactoringAction.java:134)\r\n\tat com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher$3.performAction(IdeKeyEventDispatcher.java:595)\r\n\tat com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:646)\r\n\tat com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.c(IdeKeyEventDispatcher.java:485)\r\n\tat com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:215)\r\n\tat com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:631)\r\n\tat com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:386)\r\n\tat java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)\r\n\tat java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)\r\n\tat java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)\r\n\tat java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)\r\n\tat java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)\r\n\tat java.awt.EventDispatchThread.run(EventDispatchThread.java:82)\r\n\r\n```"}}