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

Language is not injected into listings with implicit source style #1566

Closed
Vampire opened this issue Mar 12, 2024 · 4 comments
Closed

Language is not injected into listings with implicit source style #1566

Vampire opened this issue Mar 12, 2024 · 4 comments
Labels

Comments

@Vampire
Copy link

Vampire commented Mar 12, 2024

Observed vs. expected behavior

image

Steps to reproduce

[,kotlin]
----
layout.buildDirectory / "dist" / "foo"
----

[source,kotlin]
----
layout.buildDirectory / "dist" / "foo"
----

Environment

Plugin Version: 0.41.8

IntelliJ Details: IntelliJ IDEA 2023.3.4 (Ultimate Edition)
Build #IU-233.14475.28, built on February 13, 2024

@Vampire Vampire added the bug label Mar 12, 2024
@ahus1
Copy link
Contributor

ahus1 commented Mar 26, 2024

It is part of the AsciiDoc language spec, so the plugin should support it. Still, I like the explicit style more.

The next version of the plugin will support it. I'll update the issue once a pre-release is available.

@mojavelinux
Copy link
Member

We're trying to encourage the implicit style since one of the notable complaints about AsciiDoc is that source,java is much longer to type than the Markdown equivalent. We found a way to make it as concise as possible without deviating from the syntax.

@ahus1
Copy link
Contributor

ahus1 commented Mar 27, 2024

@mojavelinux - thank you for the explanation

@ahus1
Copy link
Contributor

ahus1 commented Mar 27, 2024

There is now release 0.41.12 which includes this change.

I published just now to the JetBrains marketplace. It should be available via the automatic update mechanism later today.

The release of the plugin is available from GitHub releases for manual installation in the meantime.

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

No branches or pull requests

3 participants