Comments (5)
Additionally, hitting 'Apply' doesn't seem to update any documents I have open behind the preferences modal, so I have to hit 'OK', see if I like the color I picked, and then re-open the preferences pane.
from idea-multimarkdown.
It is a bug.
Yes, I completely agree. It is a fix that I am planning to implement in the immediate future. If it is any consolation, I feel your pain. It took me forever to get the colors tweaked for the Default color scheme since I could not see the results until I closed the settings dialog. :(
The difficulty in adding the sample text is from the original markdown plugin that I forked. It uses Annotations to do syntax highlighting because it parses with pegdown. So it does not have a Lexer that IntelliJ expects and uses for syntax highlighting. The sample pane does not invoke the Annotator so adding a sample text will result in text that is not highlighted, which would not be any better.
Last night, I figured out how I can wrap pegdown so it will present Parser and Lexer interfaces, without major kludging. I had to do something close to it to get the highlighting working in Annotator. So there is a light at the end of that tunnel.
I thought I would need to re-implement pegdown in Grammar-Kit to be able to add all the IntelliJ goodies like error annotations, code navigation, folding, formatting, code completion, etc. Now I can do it much faster by wrapping it and get to a rewrite much later.
from idea-multimarkdown.
That makes total sense. I'd previously been using the plugin you forked, and one of my biggest complaints was always the lack of imbedded syntax highlighting for html blocks. I had caught the issue that they said it would be a huge rewrite, so I'm super excited that you figured out a quick work around!
So, If I'm understanding correctly, this bug won't get fixed until you do the wrapping of pegdown? (Doesn't bother me; I finished changing my colors, and now probably won't mess with it again for months) At the same time, I should get (or be close to getting) some other features I've really wanted, so all in all, this is pretty exciting.
from idea-multimarkdown.
Part of the same Annotations problem. Hitting apply does not invoke Annotator until after the dialog is closed.
I am planning the fix out by September 8th, or sooner if I can. It is stopping me from adding all the other stuff that I want, including injected languages, like HTML. Once you get used to IntelliJ creature comforts it is an irritant to work without them.
from idea-multimarkdown.
@Morgul, Lexer implemented.Plugin available for download from the official site. I also fixed the TODO not being parsed. However, the todo's are limited to comments . Could not make it work for now anywhere else. Also fixed Scratch files not being accepted by the plugin.
from idea-multimarkdown.
Related Issues (20)
- Cannot use with bundled "GitHub" plugin because of conflict with bundled "Markdown" plugin HOT 6
- How can I keep formatting from changing the GitHub toc generator reference? HOT 2
- The project tree is not loaded when the plugin is activated
- Extensionless files are not found when referencing them
- No longer compatible with IntelliJ 2021.2 & JB marked as deprecated HOT 37
- Dependency Issues HOT 1
- How to modify the preview font style?
- Markdown Editor Enhanced breaks GitHub plugin HOT 2
- Code syntax highlighting is not activated for ```csharp
- Cannot activate purchased license HOT 2
- Says to upgrade to 3.0.213 but that is not listed! HOT 4
- NoSuchMethodError: 'EditorColorsManager.addEditorColorsListener' since intellij-idea-2022-1 HOT 3
- Pluig in does not work... HOT 1
- java.lang.NoSuchMethodError: 'void com.intellij.... HOT 1
- Including characters processed by Typographic extension in links and link refs will cause format as you type to split the link text/ref
- pdf export error HOT 1
- PLugin does not work sadly :-(
- Unable to Start Android Studio 2020.1.1 after Installing this Plugin.
- Plugin 'Markdown Navigator Enhanced' (version '3.0.213.150') is not compatible with the current version of the IDE, because it requires build 231.8770.65 or older but the current build is IU-232.8660.185 HOT 2
- PDF Export Failed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from idea-multimarkdown.