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

Latest version : All options in plugin settings cleared. Reset to defaults does not work. #801

Closed
martinlanton opened this issue Dec 26, 2019 · 16 comments

Comments

@martinlanton
Copy link

Numbered lists as well as everything nested in them (ex : bullet point lists made using the * character and nested inside numbered lists) do not display as they should in the latest release of the plugin.

@vsch
Copy link
Owner

vsch commented Dec 27, 2019

@martinlanton, your settings are messed up. Please reset to defaults or restore them from VCS if you have them under VCS.

See: #796 (comment)

@martinlanton
Copy link
Author

@vsch I never even touched the settings, I'm using the default ones.

@vsch
Copy link
Owner

vsch commented Dec 27, 2019

@martinlanton, did you have a previous version of the plugin installed or is 2.9.9 the first installation?

Previous release version was not compatible with 2019.3 beta and the IDE would recommend installing a really old version. Installing that would blow away the settings.

I am also not sure if the incompatible version only got far enough to mess up the settings. I have to double check that.

@martinlanton
Copy link
Author

@vsch I had a previous version installed when I was on 2019.2, then switched to pycharm 2019.3 and as soon as it was available, I upgraded to 2.9.9.

I tried using the button provided to reset the settings to default, unfortunately, as I mentioned before, the current settings seem to be the default one, as clicking on that button didn't change anything.

@vsch
Copy link
Owner

vsch commented Dec 27, 2019

@martinlanton, in that case could you paste a screenshot of your parser settings: Languages & Frameworks > Markdown > Parser

And also give me an example of your numbered list that do not display properly, preferably pasted into fenced code in the comment so I can see the raw text.

@martinlanton
Copy link
Author

martinlanton commented Dec 27, 2019

Here are the settings :

settings

Here are the examples, none of those work :
https://gist.github.com/martinlanton/a54c147376f30a2041267fb8db8f53f4

@vsch
Copy link
Owner

vsch commented Dec 27, 2019

@martinlanton, all your settings are cleared. If you do a settings reset on the main markdown settings panel then come back to this panel you should see defaults restored.

This is causing your parser to not process anything properly. The lists are set to 4 spaces fixed which is not the correct setting for defaults. This is the default for historical reasons but no longer the default setting.

@martinlanton
Copy link
Author

@vsch as I just mentioned, resetting the main markdown settings doesn't seem to work, it doesn't do anything.

@martinlanton
Copy link
Author

I just uninstalled and reinstalled the plugin, and this didn't change anything.
Also tried to reset the settings after reinstalling, and this didn't change anything either.

@vsch
Copy link
Owner

vsch commented Dec 27, 2019

@martinlanton, can you please send me the project settings files form the plugin. They are located in the .idea sub-directory of the project directory and start with markdown-navigator.

Also if you export Markdown Navigator settings (in the same menu as reset) and send that file to me vladimir at vladsch.com. Normally, only the latter would be enough but in this case I would like to see actual saved setting files for the plugin.

I want to use them for testing to see what causes this.

I will test them on pycharm so I have exact conditions of your system.

@martinlanton
Copy link
Author

martinlanton commented Dec 27, 2019

@vsch That's sent, thank you for looking into this!
PS : I'm using pycharm build #PC 193.5233.109 on windows 10, if that can help

@vsch
Copy link
Owner

vsch commented Dec 27, 2019

@martinlanton, thank you for sticking to it and sending me your settings. I appreciate you taking the time to give me a chance to figure out what #@$@#@ is going on.

BTW, reinstalling the plugin does not delete the plugin settings for the IDE nor the project so it does not help. I will figure out how to add a test on installation for existing settings and prompt to use them or discard them so re-install will have a chance of initializing the system.

This is what reset was intended to do--Reset to installation defaults.

I will let you know as soon as I have a fix and probably a workaround for this issue.

@martinlanton
Copy link
Author

Thanks @vsch

@vsch vsch changed the title Latest version : numbered lists are not displayed properly Latest version : All options in plugin settings cleared. Reset to defaults does not work. Dec 28, 2019
@vsch
Copy link
Owner

vsch commented Dec 28, 2019

@martinlanton, found the bug. Fixed and added code to detect invalid settings on load and correct them without needing to reset settings.

I will make a new release shortly. There are a few show stopper bugs that made it into the last release, including this one.

@vsch vsch added this to the V 2.10.0/2.10.5 milestone Dec 28, 2019
@vsch
Copy link
Owner

vsch commented Dec 28, 2019

@martinlanton, fixed plugin released. Thank you for providing me with your settings. They were indispensable. I must have copied them over to my test project two or three dozen times before I got the fix working.

@vsch vsch added the fixed :) label Dec 28, 2019
@vsch vsch closed this as completed Dec 28, 2019
@martinlanton
Copy link
Author

martinlanton commented Dec 28, 2019

I'm glad I could help! I will download the new version! Thanks a lot!

EDIT : The new version fixed the problem! Thanks again!

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