When I created a 'readme.md' file in lowercase the editor opened it and I had a blinking cursor, when I created the same file in uppercase the file wouldn't open and no blinking cursor. I need the file to be in uppercase.
Same here. i created a new repository on bitbucket with the option "create README.md automatically". Then i cloned the repo to my local windows-system.
With a fresh install of the latest php-storm, a double click on the REAMD.md File in the project-window shows the output, but there is no possibility to edit the content of the file.
but there is no possibility to edit the content of the file.
There, switch to the first or second mode (active on my screenshot) instead of your third one.
Editor only
Editor and Preview
Preview only
Can you switch it there? Does it work for you?
P.S. It's a README file that IDE opens on the first project opening. It is expected (at very least I see nothing wrong with this) that such a file is opened in the Preview mode (as it meant for you to read what this project is about etc. and not to edit it).
But sure, if this mode is also used for all other Markdown files, then it's obviously wrong.
Very curious choice of default mode to open a document in "preview", rather frustrating design choice having the icons all the way off on the right and not alongside the rest of the toolbar would have made it easier to "discover" the preview and editor mode buttons. This had me googling all over for a plugin until i found this FAQ.
Maybe, the file now opens in a sort of standalone quick preview or something? There was a dialog regarding that when I opened the file from explorer. But even then, I could still edit the file.
"Editor and Preview" was set before already, I just changed that to "Editor" to see, if it makes any difference. I reverted the setting now (looks a little different than your screen, my version is 2023.1.1
There is still no widget shown for me, I now have to switch views with the action command you told me before.
There is still no widget shown for me, I now have to switch views with the action command you told me before.
Lets try the following:
Invoke "Help | Find Action..." (Ctrl+Shift+A here on Windows keymap)
Type "registry"
Locate and invoke Registry... action
Once on the Registry screen locate ide.text.editor.with.preview.show.floating.toolbar entry -- just start typing "floating" like I did on the screenshot below
Disable/uncheck that option (make sure it actually got the new state -- try to focus another entry etc)
Save
Restart the IDE
This should make that (and formatting?) floating toolbar non floating (always visible).
I did how you told me and restarted the IDE. Now it looks like this:
Now can change the editor mode again. I reverted the changes and restarted the IDE again - and now the floating widget is also visible again! It looks like this:
The fact that several people had to search for that (including me) kind of stuff should be reason enough that there should be an indicator or the default view shouldn't be the “preview” but “editor and preview” instead, as several people mentioned above.
Please could you elaborate on this? what do you mean saying that you can't edit it?
When I created a 'readme.md' file in lowercase the editor opened it and I had a blinking cursor, when I created the same file in uppercase the file wouldn't open and no blinking cursor. I need the file to be in uppercase.
Please share a screen recording of the issue plus your idea.log (Help > Show Log in ...)
Same here. i created a new repository on bitbucket with the option "create README.md automatically". Then i cloned the repo to my local windows-system.
With a fresh install of the latest php-storm, a double click on the REAMD.md File in the project-window shows the output, but there is no possibility to edit the content of the file.
@Rh
There, switch to the first or second mode (active on my screenshot) instead of your third one.
Can you switch it there? Does it work for you?
P.S. It's a README file that IDE opens on the first project opening. It is expected (at very least I see nothing wrong with this) that such a file is opened in the Preview mode (as it meant for you to read what this project is about etc. and not to edit it).
But sure, if this mode is also used for all other Markdown files, then it's obviously wrong.
This worked for me, thanks!
https://intellij-support.jetbrains.com/hc/en-us/community/posts/360010516440/comments/360003023539 -> Also worked for me. Thanks a lot Andriy Bazanov
Thanks Andriy Bazanov, there was the solution!
Very curious choice of default mode to open a document in "preview", rather frustrating design choice having the icons all the way off on the right and not alongside the rest of the toolbar would have made it easier to "discover" the preview and editor mode buttons. This had me googling all over for a plugin until i found this FAQ.
Thanks Andriy,
I think "Editor and Preview" should be the default set :) ... less irritation.
Wow. Its an .md - so you see it in preview. Makes sense, but is counter-intuitive in an "EDITOR".
Such a simple thing, yet burned up so much time.
Maybe JB should have a pop-up advising that ".md files are opened in PREVIEW mode by default".
I can't edit MD files either for some days now.
There is no widget allowing switch editor modes, too:
Jung Rupert
Odd... Could be something specific to IntelliJ IDEA .. or another functionality that I do not have enabled here...
Anyway... please do this:
Show a screenshot of the results that you will get.
Here's the screenshot:
Maybe, the file now opens in a sort of standalone quick preview or something? There was a dialog regarding that when I opened the file from explorer. But even then, I could still edit the file.
Jung Rupert
Thanks. Please invoke the 3rd result "Editor and Preview" -- any better now?
Anyway: you can change the default mode at "Settings/Preferences | Languages & Frameworks | Markdown" -- "Default Layout" drop box.
(screenshot is from latest PhpStorm v2023.1.1; not super sure if previous versions will have the same options)
I still do not have an answer as to why you do not see the floating bar like I do:
Could be related to those two "preview tab" switches that you have enabled on your screenshot with results (I have them both disabled).
Hi there,
"Editor and Preview" was set before already, I just changed that to "Editor" to see, if it makes any difference. I reverted the setting now (looks a little different than your screen, my version is 2023.1.1
There is still no widget shown for me, I now have to switch views with the action command you told me before.
Jung Rupert
Lets try the following:
ide.text.editor.with.preview.show.floating.toolbar
entry -- just start typing "floating" like I did on the screenshot belowThis should make that (and formatting?) floating toolbar non floating (always visible).
Any better now?
Hi Andriy,
I did how you told me and restarted the IDE. Now it looks like this:
Now can change the editor mode again. I reverted the changes and restarted the IDE again - and now the floating widget is also visible again! It looks like this:
The floating formatting bar is also working!
Jung Rupert
Glad to see it again.
Now the question: will it still be there after a few restarts / next day? (since it disappeared unexpectedly in the first place...)
I will report back, if it will break again, thank you.
The fact that several people had to search for that (including me) kind of stuff should be reason enough that there should be an indicator or the default view shouldn't be the “preview” but “editor and preview” instead, as several people mentioned above.