Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Markdown panel does not appear on scratch files - Pycharm 2020.1 Pro #848

Open
smnkdrnk opened this issue May 4, 2020 · 4 comments
Open

Comments

@smnkdrnk
Copy link

smnkdrnk commented May 4, 2020

Markdown files located in the scratch directory in project view no longer display the markdown panel.

The only other markdown plugin I have installed is gfm, but in fact even that plugin is disabled at the moment.

The panel appears as expected for markdown files located within the project.

@vsch
Copy link
Owner

vsch commented May 4, 2020

@smnkdrnk,

If you create a file using the "New Scratch File..." action then it works. However, if you create the file using "New File" action on the "Scratches" directory then the IDE does not properly setup the file mapping for scratch files and the file is not recognized by Markdown Navigator as a Markdown file.

As a workaround use the context menu action"Change Language (Markdown)..."

image

and re-select "Markdown" as the language and open the file. If the file is already open the plugin will detect that this file is now markdown and offer to re-open it:

image

The issue came up because I removed use of deprecated methods which work correctly and the IDE still has bugs in the new implementation. I will file a YouTrack issue for this.

@vsch
Copy link
Owner

vsch commented May 4, 2020

@smnkdrnk, I chose to use part of the deprecated code which is still valid to compensate for the bug instead of filing YouTrack issue. The latter, takes a more effort to file and usually takes a long time to fix.

I will make a new EAP release shortly with latest fixes.

@vsch
Copy link
Owner

vsch commented May 5, 2020

@smnkdrnk,
EAP update, 3.0.xxx.91, with a fix for the issue is available.

Installing EAP Plugin Version

Please note the change that EAP channel is for JetBrains licensed plugin and Legacy EAP is for legacy licensing by vladsch.com

@smnkdrnk
Copy link
Author

smnkdrnk commented May 5, 2020

Wow, amazing response time! Your suggestions worked as expected, and I'll try out the EAP version as well.

Thanks so much for your help and fast response!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants