Skip to content

Settings and activity

7 results found

  1. 87 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    Bdodroid supported this idea  · 
  2. 169 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    Bdodroid supported this idea  · 
  3. 198 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    Bdodroid supported this idea  · 
  4. 135 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    Bdodroid supported this idea  · 
  5. 6 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    Bdodroid supported this idea  · 
  6. 2 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    An error occurred while saving the comment
    Bdodroid commented  · 

    Looks like it's pretty easy to add to a blank project, just got to tweak the dev.nix and launch.json files.

    dev.nix:

    { pkgs, ... }: {
    channel = "stable-23.11"; # or "unstable"
    packages = [
    pkgs.deno
    ];
    env = {};
    idx = {
    extensions = [
    "denoland.vscode-deno"
    "ms-vscode.js-debug"
    ];

    previews = {
    enable = true;
    previews = { };
    };
    workspace = {
    onCreate = { };
    onStart = { };
    };
    };
    }

    create a launch.json:
    {
    "version": "0.2.0",
    "configurations": [
    {
    "request": "launch",
    "name": "Launch Program",
    "type": "node",
    "program": "${workspaceFolder}/main.ts",
    "cwd": "${workspaceFolder}",
    "runtimeExecutable": "/usr/bin/deno",
    "runtimeArgs": [
    "run",
    "--unstable",
    "--inspect-wait",
    "--allow-all"
    ],
    "envFile": "${workspaceFolder}/.env",
    "attachSimplePort": 9229
    }
    ]
    }

    also, don't forget to initialize the Deno configuration:
    CTRL+SHIFT+P "Deno: Initialize Workspace Configuration"

    With those changes it's working pretty well, the only real issue is the Deno package in Nix is a couple versions behind.

    Bdodroid shared this idea  · 
  7. 77 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    Bdodroid supported this idea  ·