主页
IDEs Support (IntelliJ Platform) | JetBrains
联系支持服务
社区
登录
Ivan Posti
活动总数
13
最后的活动
2023年10月25日 10:03
成员加入日期
2023年02月14日 15:18
关注
0 名用户
关注者数
0 名用户
投票数
0
订阅数
4
活动概览
文章(0)
帖子(0)
评论(9)
Ivan Posti
进行了评论,
2023年10月19日 10:31
I don't have enough experience with Scala, but I don't think it is possible to use the suspendable functions from Kotlin there.In that case, you use the following approach:public static String coll...
社区
IntelliJ IDEA Open API and Plugin Development
How to guarantee that implementation of CefStringVisitor in JCEF should be called before next statement of cefBrowser.getSource
1 票
Ivan Posti
进行了评论,
2023年10月18日 10:16
正式评论
The callback passed to the getSource won't be invoked immediately, but some time later. Generally, you can't be sure when (and on what thread) it will be called. Why don't you just continue your lo...
社区
IntelliJ IDEA Open API and Plugin Development
How to guarantee that implementation of CefStringVisitor in JCEF should be called before next statement of cefBrowser.getSource
0 票
Ivan Posti
进行了评论,
2023年06月30日 09:54
正式评论
Hi Katherineliu, you can use org.intellij.plugins.markdown.ui.preview.jcef.MarkdownJCEFHtmlPanel for that. Use it's getComponent() method to get the Markdown view component that can be added to you...
社区
IntelliJ IDEA Open API and Plugin Development
Implementing Markdown Plugin in Custom intelliJ Plugin
0 票
Ivan Posti
进行了评论,
2023年04月28日 09:25
Collin Barber Please see the JBCefJSQuery: You create the instance of JBCefJSQuery Bind the query listener on the IDE side Load your page and inject the query into the page using executeJavaScrip...
社区
IntelliJ IDEA Open API and Plugin Development
Markdown Preview Swing Component
2 票
Ivan Posti
进行了评论,
2023年04月24日 09:20
Brice, Yes, it should be slightly ligther on resources than the non-OSR. Moreover, it is the prefered rendering mode, because it has much better integration with Swing (using non-OSR JCEF component...
社区
IntelliJ IDEA Open API and Plugin Development
Markdown Preview Swing Component
1 票
Ivan Posti
进行了评论,
2023年04月24日 08:52
Collin Barber, The copy button is added internaly by the code processing code fences. Unfortunatelly, you won't be able to customize it's behaviour. If you are using this component in your custom v...
社区
IntelliJ IDEA Open API and Plugin Development
Markdown Preview Swing Component
2 票
Ivan Posti
进行了评论,
2023年04月13日 13:13
Hi Brice, It is OK to have multiple MarkdownJCEFHtmlPanel, however, I would not recommend to have a lot of them. You can think of a single panel instance as a tab in a browser. You would need to te...
社区
IntelliJ IDEA Open API and Plugin Development
Markdown Preview Swing Component
1 票
Ivan Posti
进行了评论,
2023年04月05日 10:09
正式评论
Hi Colin, MarkdownPreviewFileEditor is not intented to be used as a standalone editor (it won't work without main editor). You can use MarkdownJCEFHtmlPanel instead. You can use this code to create...
社区
IntelliJ IDEA Open API and Plugin Development
Markdown Preview Swing Component
0 票
Ivan Posti
进行了评论,
2023年02月14日 15:18
Unfortunatelly, layout change actions can't be properly used inside modal dialogs due to the lack of proper DataContext there. I would suggest to not use the modal dialog with editor if possible. Y...
社区
IntelliJ IDEA Open API and Plugin Development
How does the Markdown editor hide the toolbar?
0 票