Giter Club home page Giter Club logo

intellipikchr's Introduction

IntelliPikchr

Build Contributor Covenant Version Downloads

Support Pikchr language in IntelliJ-based IDEs (2021.3 and later).

Pikchr (pronounced "picture") is a PIC-like markup language for diagrams in technical documentation.

IntelliPikchr

Features

  • Syntax highlighting, customizable in Settings | Editor | Color Scheme | Pikchr
  • Bundled Live Templates, customize/add in Settings | Editor | Live Templates
  • Split editor with preview pane for .pikchr files, using kroki.io or self-hosted server for rendering
  • Adapt preview colors to IDE dark UI mode
  • Tune preview with custom CSS
  • See Settings | Languages & Frameworks | IntelliPikchr to customize (see Settings icon in editor toolbar)

Plans/Ideas

  • Full language support (semantic highlighting, completion, refactoring, ...)
  • Previews for diagrams embedded in Markdown code fences

Installation

  • Open Plugin Homepage and click Install to... button on upper right

  • Using IDE built-in plugin system:

    Settings > Plugins > Marketplace > Search for "IntelliPikchr" > Install Plugin

  • Manually:

    Download the latest release and install it manually using Settings > Plugins > โš™๏ธ > Install plugin from disk...

License | Code of Conduct | Credits

Licensed under Apache 2 License

Contributor Covenant Code of Conduct

Split editor adapted from IntelliJ IDEA Markdown plugin


Plugin based on the IntelliJ Platform Plugin Template.

intellipikchr's People

Contributors

actions-user avatar dependabot[bot] avatar yanncebron avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

intellipikchr's Issues

com.intellij.diagnostic.PluginException: Cannot check provider com.yanncebron.intellipikchr.editor.PikchrSplitEditorProvider [Plugin: com.yanncebron.intellipikchr]

Description

Steps to Reproduce

Please provide code sample if applicable

Message

Runtime Information

Plugin version : 0.3.5
IDE: IntelliJ IDEA 2023.3.4 (IC-233.14475.28)
OS: Windows 11.0

Stacktrace

com.intellij.diagnostic.PluginException: Cannot check provider com.yanncebron.intellipikchr.editor.PikchrSplitEditorProvider [Plugin: com.yanncebron.intellipikchr]
	at com.intellij.openapi.fileEditor.impl.FileEditorProviderManagerImpl$getProvidersAsync$sharedProviders$1$1$1.invokeSuspend(FileEditorProviderManagerImpl.kt:111)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:32)
	at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
	at kotlinx.coroutines.UndispatchedCoroutine.afterResume(CoroutineContext.kt:270)
	at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
Caused by: kotlinx.coroutines.TimeoutCancellationException: Timed out waiting for 30000 ms
	at kotlinx.coroutines.TimeoutKt.TimeoutCancellationException(Timeout.kt:191)
	at kotlinx.coroutines.TimeoutCoroutine.run(Timeout.kt:159)
	at kotlinx.coroutines.EventLoopImplBase$DelayedRunnableTask.run(EventLoop.common.kt:501)
	at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:280)
	at kotlinx.coroutines.DefaultExecutor.run(DefaultExecutor.kt:109)
	at java.base/java.lang.Thread.run(Thread.java:840)

consider supporting a local pikchr executable

Hello Yann,
thanks for this plugin!

I would like to suggest to support, besides the default or local kroki server, "simply" letting the user to specify the path to a local pikchr executable, like for example the PlantUML plugin.

thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.