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

Clion Markdown no preview #150579

Open
tiagolobocastro opened this issue Dec 13, 2021 · 5 comments
Open

Clion Markdown no preview #150579

tiagolobocastro opened this issue Dec 13, 2021 · 5 comments

Comments

@tiagolobocastro
Copy link
Contributor

tiagolobocastro commented Dec 13, 2021

Describe the bug

Hi,

It seems Clion is not able to show previews of .MD documents (with the Markdown plugin installed).

I get this popup on Clion:
Please consider switching to the bundled Java runtime that is better suited for the IDE (you current Java runtime is 11.0.11 by Oracle Corporation at '/nix/store/8c75xbd21d6fjv33rjglpsaxn6l3n0s1-jetbrains-jdk-11_0_11-b1504.13/lib/openjdk/').

On the markdown plugin settings it says: "There are no available preview providers". A quick search on google reveals that the usual fix is to use the jdk bundled with clion. That said, it seems we are indeed using it? ( '/nix/store/8c75xbd21d6fjv33rjglpsaxn6l3n0s1-jetbrains-jdk-11_0_11-b1504.13/lib/openjdk/' )

Steps To Reproduce

Steps to reproduce the behavior:

  1. Add jetbrains.clion via nix (I used unstable - 2021.2.3)
  2. Add the markdown plugin on Clion
  3. Open a .MD document - no preview available

Notify maintainers

@edwtjo @Mic92

Metadata

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
running auto-GC to free 18446744023718305791 bytes
finding garbage collector roots...
deleting garbage...
deleting '/nix/store/590nym8f6l360nlr1i2vl747pp124ad3-diagnostics-sandbox.lock'
deleting '/nix/store/vqsvg7sxbbq4mncg9imjavbksiw3fsmz-diagnostics-sandbox.drv'
deleting '/nix/store/trash'
deleting unused links...
note: currently hard linking saves -0.00 MiB
 - system: `"x86_64-linux"`
 - host os: `Linux 5.15.4, NixOS, 21.11 (Porcupine)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.16`
 - channels(root): `"nixos-21.11.334247.573095944e7, nixos-unstable-22.05pre338075.e675946ecde"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
@niknetniko
Copy link
Contributor

Perhaps related: #143122

@VergeDX
Copy link
Member

VergeDX commented Jan 2, 2022

Same issues here, this also happened on IDEA 2021.3 : (

@thall
Copy link
Contributor

thall commented Jan 31, 2022

Same here

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jul 30, 2022
@l0b0
Copy link
Contributor

l0b0 commented Dec 13, 2022

Still relevant on IntelliJ IDEA 2022.2.3 (Ultimate Edition). Suggest changing the title to something more generic, like "No markdown preview in IntelliJ IDEs (IDEA, CLion).

@stale stale bot removed the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Dec 13, 2022
@l0b0
Copy link
Contributor

l0b0 commented Dec 13, 2022

Will this be fixed by #196738?

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

5 participants