{"action":"closed","issue":{"url":"https://api.github.com/repos/reasonml-editor/reasonml-idea-plugin/issues/34","repository_url":"https://api.github.com/repos/reasonml-editor/reasonml-idea-plugin","labels_url":"https://api.github.com/repos/reasonml-editor/reasonml-idea-plugin/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/reasonml-editor/reasonml-idea-plugin/issues/34/comments","events_url":"https://api.github.com/repos/reasonml-editor/reasonml-idea-plugin/issues/34/events","html_url":"https://github.com/reasonml-editor/reasonml-idea-plugin/issues/34","id":302074100,"number":34,"title":"High CPU usage and some errors. Not all features working.","user":{"login":"feluxe","id":6545589,"avatar_url":"https://avatars3.githubusercontent.com/u/6545589?v=4","gravatar_id":"","url":"https://api.github.com/users/feluxe","html_url":"https://github.com/feluxe","followers_url":"https://api.github.com/users/feluxe/followers","following_url":"https://api.github.com/users/feluxe/following{/other_user}","gists_url":"https://api.github.com/users/feluxe/gists{/gist_id}","starred_url":"https://api.github.com/users/feluxe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feluxe/subscriptions","organizations_url":"https://api.github.com/users/feluxe/orgs","repos_url":"https://api.github.com/users/feluxe/repos","events_url":"https://api.github.com/users/feluxe/events{/privacy}","received_events_url":"https://api.github.com/users/feluxe/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-03-04T10:21:04Z","updated_at":"2018-03-09T13:59:42Z","closed_at":"2018-03-09T13:59:42Z","author_association":"NONE","body":"Hi there!\r\n\r\nWhen I start PyCharm with the plugin enabled, CPU usage runs up to 100% on each core for a couple of minutes. After a while it gets better.\r\n\r\nNot all features seem to work.\r\n\r\nThese work:\r\n\r\n* syntax highliting\r\n* refmt shortcut\r\n* bucklescript console\r\n\r\nThese I'm missing:\r\n\r\n* inline error highliting.\r\n* type annotations.\r\n\r\n\r\nSometimes the IDE tells me that the plugin causes errors, such as these:\r\n\r\n```\r\nunable to get stub builder for name.kropp.intellij.makefile.MakefileFileType@28fc9e00, , stubBindingRoot = MakefileFile, languages = [Makefile], fileTypes = [Makefile], files = [MakefileFile], roots = []\r\n\r\nStub index points to a file without PSI: com.intellij.openapi.fileTypes.UnknownFileType@7fbfc2da\r\n\r\nunable to get stub builder for C++, , stubBindingRoot = PsiPlainTextFileImpl, languages = [TEXT], fileTypes = [C++], files = [PsiPlainTextFileImpl], roots = [] \r\n```\r\n\r\nThis is what I did in order to get the plugin running:\r\n\r\n* install the plugin\r\n* install bs-platform locally in the project dir, by running `npm install bs-platform --save-dev`\r\n\r\nIDK if it matters, but `ocamlmerlin` seems to be installed globally. At least I can access it in the IDE shell.\r\n\r\nI'm very new to Ocaml/Reason and I'm not sure where to start debugging this. Any advice would be appreciated :)\r\n\r\nOS: Linux Arch\r\nIDE: PyCharm\r\n\r\nCheers!"}}
{"actor":{"display_login":"giraud"}}