README.md won't open in editing window
Rolling back to WebStorm 2020.4 I find myself unable to open `README.md` at all. Other files open, can be edited, normal behavior. In the case of `README.md`, however, although the filename appears in the "breadcrumbs" bar, the contents never appear in their own editing tab.
This is not the same problem as https://intellij-support.jetbrains.com/hc/en-us/community/posts/360010516440-Can-t-edit-README-md , I am aware of how to toggle between Markdown states. The file does not open at all.
请先登录再写评论。
For anyone else who stumbles into this.
It's not possible to remove the Markdown plugin as it's bundled. I had to disable the plugin. This caused the application to freeze, and I had to Force Quit it. After two goes the plugin was disabled and I was able to open the `README.md` file. I was cheerfully reminded that a plugin was available, which I enabled. Doing so did not reactivate the three state editor so I had to restart the application a third time.
Productivity app.
What IDE version do you use? Does the issue persist on re-activating the plugin? If it does, please share the log folder zipped (Help > Collect logs and Diagnostic Data)
Elena, the opening five words in my original post say that I'm using Webstorm 2020.4.
My followup post answers your other questions.
I'm having this same issue with IntelliJ ultimate:
IntelliJ IDEA 2022.1.4 (Ultimate Edition)
Build #IU-221.6008.13, built on July 19, 2022
Licensed to ***
Runtime version: 11.0.15+10-b2043.56 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 3.10.0-1160.el7.x86_64
Jenkins Plugin 0.13.15-2021.2
GC: G1 Young Generation, G1 Old Generation
Memory: 12288M
Cores: 8
Registry:
vcs.root.detector.folder.depth=1
indexer.follows.symlinks=false
Non-Bundled Plugins:
org.sylfra.idea.plugins.linessorter (1.0.1)
name.kropp.intellij.makefile (221.6008.13)
ir.msdehghan.plugins.ansible (0.92)
com.jetbrains.plugins.ini4idea (221.6008.13)
org.mapstruct.intellij (1.4.0)
com.intellij.guice (221.6008.13)
com.github.b3er.idea.plugins.arc.browser (0.32)
com.intellij.jira (4.0.2)
com.intellij.selenium (221.6008.13)
Jenkins Control Plugin (0.13.15-2021.2)
com.intellij.plugins.html.instantEditing (221.6008.13)
Weblogic (221.6008.13)
WebSphere (221.6008.13)
com.dmarcotte.handlebars (221.6008.18)
me.mbolotov.cypress (1.5)
Karma (221.6008.13)
JSTestDriver Plugin (202.5)
Kotlin: 221-1.8.0-release-345-IJ5591.52
Current Desktop: GNOME
Disabling the markup plugin allowed me to open the file. I've had a similar issue with the OpenAPI plugin. If the plugin is enabled, I can't open the OpenAPI yaml files.
Had the same issue today . Eric's fix worked for me. Relevant section of log + build follows:
2024-01-26 15:57:41,605 [2489274] INFO - #git4idea.commands.GitHandler - [windowz] git -c credential.helper= -c core.quotepath=false -c log.showSignature=false add --ignore-errors -A -- readme.md2024-01-26 15:57:41,902 [2489571] INFO - #c.i.w.i.i.j.s.JpsGlobalModelSynchronizerImpl - Saving global entities to files2024-01-26 15:57:43,246 [2490915] SEVERE - #c.i.i.p.PluginManager - Could not initialize class org.intellij.plugins.markdown.ui.preview.jcef.MarkdownJCEFHtmlPaneljava.lang.NoClassDefFoundError: Could not initialize class org.intellij.plugins.markdown.ui.preview.jcef.MarkdownJCEFHtmlPanelat org.intellij.plugins.markdown.ui.preview.jcef.JCEFHtmlPanelProvider.createHtmlPanel(JCEFHtmlPanelProvider.java:24)at org.intellij.plugins.markdown.ui.preview.MarkdownPreviewFileEditor.attachHtmlPanel(MarkdownPreviewFileEditor.java:289)at org.intellij.plugins.markdown.ui.preview.MarkdownPreviewFileEditor.<init>(MarkdownPreviewFileEditor.java:79)at org.intellij.plugins.markdown.ui.preview.MarkdownPreviewFileEditorProvider.createEditor(MarkdownPreviewFileEditorProvider.java:27)at org.intellij.plugins.markdown.ui.split.SplitTextEditorProvider$2.build(SplitTextEditorProvider.java:164)at org.intellij.plugins.markdown.ui.split.SplitTextEditorProvider$1.build(SplitTextEditorProvider.java:71)at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.createComposite(FileEditorManagerImpl.kt:1139)at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.doOpenInEdtImpl(FileEditorManagerImpl.kt:1048)at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.doOpenInEdtImpl$default(FileEditorManagerImpl.kt:1035)at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$openFileImpl4$open$1.invoke(FileEditorManagerImpl.kt:1010)at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$openFileImpl4$open$1.invoke(FileEditorManagerImpl.kt:996)at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$Companion.runBulkTabChange$intellij_platform_ide_impl(FileEditorManagerImpl.kt:390)at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl4$open(FileEditorManagerImpl.kt:996)at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl4$intellij_platform_ide_impl(FileEditorManagerImpl.kt:1024)at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl2$lambda$22(FileEditorManagerImpl.kt:900)at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:210)at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:174)at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:164)at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:150)at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl2(FileEditorManagerImpl.kt:899)at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFile(FileEditorManagerImpl.kt:798)at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openEditorImpl$lambda$31(FileEditorManagerImpl.kt:1275)at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:210)at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:174)at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:164)at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:150)at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openEditorImpl(FileEditorManagerImpl.kt:1268)at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileEditor(FileEditorManagerImpl.kt:1245)at com.intellij.openapi.fileEditor.FileEditorManager.openEditor(FileEditorManager.java:239)at com.intellij.openapi.fileEditor.FileNavigatorImpl.navigateInAnyFileEditor(FileNavigatorImpl.java:110)at com.intellij.openapi.fileEditor.FileNavigatorImpl.navigateInEditor(FileNavigatorImpl.java:86)at com.intellij.openapi.fileEditor.FileNavigatorImpl.navigateInEditorOrNativeApp(FileNavigatorImpl.java:71)at com.intellij.openapi.fileEditor.FileNavigatorImpl.navigate(FileNavigatorImpl.java:49)at com.intellij.openapi.fileEditor.OpenFileDescriptor.navigate(OpenFileDescriptor.java:89)at com.intellij.psi.impl.source.PsiFileImpl.navigate(PsiFileImpl.java:915)at com.intellij.codeInsight.navigation.NavigationUtil.lambda$openFileWithPsiElement$2(NavigationUtil.java:173)at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:219)at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:174)at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:164)at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:150)at com.intellij.codeInsight.navigation.NavigationUtil.openFileWithPsiElement(NavigationUtil.java:169)at com.intellij.ide.projectView.impl.nodes.AbstractPsiBasedNode.navigate(AbstractPsiBasedNode.java:277)at com.intellij.ide.projectView.impl.nodes.AbstractPsiBasedNode.navigate(AbstractPsiBasedNode.java:287)at com.intellij.ide.projectView.impl.nodes.PsiFileNode.navigate(PsiFileNode.java:116)at com.intellij.util.OpenSourceUtil.navigateToSource(OpenSourceUtil.java:126)at com.intellij.util.OpenSourceUtil.navigate(OpenSourceUtil.java:81)at com.intellij.util.OpenSourceUtil.navigate(OpenSourceUtil.java:59)at com.intellij.util.OpenSourceUtil.navigate(OpenSourceUtil.java:52)at com.intellij.util.OpenSourceUtil.openSourcesFrom(OpenSourceUtil.java:20)at com.intellij.util.EditSourceOnDoubleClickHandler$TreeMouseListener.processDoubleClick(EditSourceOnDoubleClickHandler.java:172)at com.intellij.util.EditSourceOnDoubleClickHandler$TreeMouseListener.onDoubleClick(EditSourceOnDoubleClickHandler.java:166)at com.intellij.ui.DoubleClickListener.onClick(DoubleClickListener.java:30)at com.intellij.ui.ClickListener$1.mouseReleased(ClickListener.java:58)at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:298)at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297)at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297)at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297)at java.desktop/java.awt.Component.processMouseEvent(Component.java:6657)at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3385)at com.intellij.ui.treeStructure.Tree.processMouseEvent(Tree.java:424)at com.intellij.ide.dnd.aware.DnDAwareTree.processMouseEvent(DnDAwareTree.java:44)at java.desktop/java.awt.Component.processEvent(Component.java:6422)at java.desktop/java.awt.Container.processEvent(Container.java:2266)at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5027)at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2324)at java.desktop/java.awt.Component.dispatchEvent(Component.java:4855)at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4969)at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4583)at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4524)at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2310)at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2809)at java.desktop/java.awt.Component.dispatchEvent(Component.java:4855)at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:794)at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:739)at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:733)at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97)at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:766)at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:764)at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:763)at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.kt:666)at com.intellij.ide.IdeEventQueue.dispatchMouseEvent(IdeEventQueue.kt:614)at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:569)at com.intellij.ide.IdeEventQueue.access$_dispatchEvent(IdeEventQueue.kt:68)at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:349)at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:348)at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:787)at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:348)at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:343)at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$1(IdeEventQueue.kt:994)at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:113)at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:994)at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$4(IdeEventQueue.kt:343)at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:831)at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:385)at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207)at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92)Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.NoClassDefFoundError: Could not initialize class com.intellij.ui.jcef.JCEFHtmlPanel [in thread "AWT-EventQueue-0"]at org.intellij.plugins.markdown.ui.preview.jcef.JCEFHtmlPanelProvider.createHtmlPanel(JCEFHtmlPanelProvider.java:24)at org.intellij.plugins.markdown.ui.preview.MarkdownPreviewFileEditor.attachHtmlPanel(MarkdownPreviewFileEditor.java:289)at org.intellij.plugins.markdown.ui.preview.MarkdownPreviewFileEditor.<init>(MarkdownPreviewFileEditor.java:79)at org.intellij.plugins.markdown.ui.preview.MarkdownPreviewFileEditorProvider.createEditor(MarkdownPreviewFileEditorProvider.java:27)at org.intellij.plugins.markdown.ui.split.SplitTextEditorProvider$2.build(SplitTextEditorProvider.java:164)at org.intellij.plugins.markdown.ui.split.SplitTextEditorProvider$1.build(SplitTextEditorProvider.java:71)at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.createComposite(FileEditorManagerImpl.kt:1139)at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.doOpenInEdtImpl(FileEditorManagerImpl.kt:1048)at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.doOpenInEdtImpl$default(FileEditorManagerImpl.kt:1035)at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$openFileImpl4$open$1.invoke(FileEditorManagerImpl.kt:1010)at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$openFileImpl4$open$1.invoke(FileEditorManagerImpl.kt:996)at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$Companion.runBulkTabChange$intellij_platform_ide_impl(FileEditorManagerImpl.kt:390)at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl4$open(FileEditorManagerImpl.kt:996)at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl4$intellij_platform_ide_impl(FileEditorManagerImpl.kt:1024)at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl2$lambda$22(FileEditorManagerImpl.kt:900)at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:210)at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:174)at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:164)at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:150)at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl2(FileEditorManagerImpl.kt:899)at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFile(FileEditorManagerImpl.kt:798)at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openEditorImpl$lambda$31(FileEditorManagerImpl.kt:1275)at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:219)at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:174)at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:164)at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:150)at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openEditorImpl(FileEditorManagerImpl.kt:1268)at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileEditor(FileEditorManagerImpl.kt:1245)at com.intellij.openapi.fileEditor.FileEditorManager.openEditor(FileEditorManager.java:239)at com.intellij.ide.util.EditorHelper.openInEditor(EditorHelper.java:54)at com.intellij.ide.projectView.impl.IdeViewForProjectViewPane.selectElement(IdeViewForProjectViewPane.java:43)at com.intellij.ide.actions.CreateElementActionBase.lambda$actionPerformed$0(CreateElementActionBase.java:109)at com.intellij.ide.actions.CreateFileAction.lambda$createLightWeightPopup$0(CreateFileAction.java:101)at com.intellij.ide.ui.newItemPopup.NewItemSimplePopupPanel$1.keyPressed(NewItemSimplePopupPanel.java:113)at java.desktop/java.awt.Component.processKeyEvent(Component.java:6615)at java.desktop/javax.swing.JComponent.processKeyEvent(JComponent.java:2892)at java.desktop/java.awt.Component.processEvent(Component.java:6434)at java.desktop/java.awt.Container.processEvent(Container.java:2266)at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5027)at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2324)at java.desktop/java.awt.Component.dispatchEvent(Component.java:4855)at java.desktop/java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1954)at java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:886)at java.desktop/java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1166)at java.desktop/java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:1023)at java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:849)at com.intellij.ide.IdeKeyboardFocusManager.access$dispatchEvent$s1569605750(IdeKeyboardFocusManager.kt:18)at com.intellij.ide.IdeKeyboardFocusManager$dispatchEvent$1.invoke(IdeKeyboardFocusManager.kt:25)at com.intellij.ide.IdeKeyboardFocusManager$dispatchEvent$1.invoke(IdeKeyboardFocusManager.kt:25)at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$1(IdeEventQueue.kt:994)at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:105)at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:994)at com.intellij.ide.IdeKeyboardFocusManager.dispatchEvent(IdeKeyboardFocusManager.kt:25)at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4904)at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2324)at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2809)at java.desktop/java.awt.Component.dispatchEvent(Component.java:4855)at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:794)at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:739)at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:733)at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97)at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:766)at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:764)at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:763)at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.kt:666)at com.intellij.ide.IdeEventQueue.dispatchKeyEvent(IdeEventQueue.kt:601)at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:568)... 18 moreBuild:
PyCharm 2023.1 (Professional Edition)Build #PY-231.8109.197, built on March 29, 2023