Skip to content

Clion Markdown no preview #150579

@tiagolobocastro

Description

@tiagolobocastro

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`

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: bugSomething is broken2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions